1 * (FPATCH) REV.B (6.2.2005)
6 * PROGRAM CATEGORY: I/O LIBRARY
8 * PROGRAM TITLE: FPATCH
9 * FORTRAN COMPILER PATCH
17 * REV. B (6.2.2005) ADDED CORRECT DATA POOL ENTRY MANIPULATION
21 * THIS PATCH IS TO ENABLE THE FORTRAN IV COMPILER TO USE THE
22 * O$LA AND O$LH SUBROUTINES
27 * DEPENDS ON HACHTI'S HARDWARE AND FORTRAN IV COMPILER TAPE
38 * THE LIBRARY ROUTINES ARE FOR GENERAL PURPOSE.
40 * - BOOT FRTN SYSTEM TAPE
41 * - LOAD O$LA AT LOCATION '20000
42 * - LOAD FPATCH SOMEWHERE ABOVE
43 * - RUN FROM FIRST LOCATION OF FPATCH
45 ********************************************************************************
46 SUBR FPATCH,PTCH ONLY FOR NAMING PURPOSES
47 ********************************************************************************
49 IOSB EQU '15036 IOS' BASE ADDRESS
50 IOSS EQU '36 INNER SECTOR OFFSET
51 PT1 EQU '611 FIRST FREELY USABLE ADDRESS IN IOS' SPACE
52 PT2 EQU '612 SECOND FREELY USABLE ADDRESS IN IOS' SPACE
53 PTE EQU '610 ADDRESS WHICH MUST BE FILLED WITH "V?"
54 PTS EQU '635 MESSAGE SIZE OF "DEVICE?" ERROR MESSAGE
55 JH EQU '173 ADDRESS OF CALL O$LH INSTRUCTION IN IOS
56 JL EQU '252 ADDRESS OF CALL O$LA INSTRUCTIIN IN IOS
57 DUM EQU '16612 DUMY OBJECT'S BASE ADDRESS
58 DPO EQU '16 ADDRESS OF ORIGINAL DUMY'S OWN BASE POINTER
60 JSTI EQU '121000 JST* INSTRUCTION
62 REL LET'S BEGIN RELATIVE
63 SUBR ENDPAL,FNS END OF THE IMPORTANT PART
75 LDX IOS ADDRESSES WILL BE RELATIVE TO IOS' BEGINNING
76 LDA OLHA O$LH ADDRESS (OK)
77 STA PT1,1 STORE TO POINTER LOCATION (OK)
78 LDA OLLA O$LA ADDRESS (OK)
79 STA PT2,1 STORE TO POINTER LOCATION (OK)
81 STA PTE,1 REPAIR "DEV?" MSG (OK)
83 STA PTS,1 NEW MESSAGE SIZE (OK)
91 LDA ND2P ADDRESS OF NEW "DUMMY ROUTINE"
92 STA* DP STORE TO VARIABLE IN ORIGINAL DUMMY ROUTINE
145 IOS DAC IOSB IOS BASE ADDRESS
146 DP DAC DUM+'52 "DP" VARIABLE ADDRESS
147 ND1P DAC ND1,1 NEW DUMMY ROUTINE'S BASE ADDRESS + INDEX BIT
148 ND2P DAC ND2 NEW DUMMY ROUTINE'S START ADDRESS
150 DUMB DAC DUM ORIGNAL DUMMY'S START ADDRESS
152 JMP1 DAC JSTI+PT1+IOSS
153 JMP2 DAC JSTI+PT2+IOSS
155 *******************************************************************************