Figure9.13 external script (scripts.out file), Figure9.14 internal script (scripts.lis file), External script (scripts.out file) – Avago Technologies LSI53C1010 User Manual
Page 232: Internal script (scripts.lis file)
![background image](https://www.manualsdir.com/files/864554/content/doc232.png)
9-34
SCRIPTS Programming Topics
Figure 9.13 External Script (SCRIPTS.OUT file)
1.
The use of the PROC statement has forced the array to be named
Ext_Script instead of SCRIPT so that a compile time conflict is
avoided.
2.
The offsets in these data structures indicate where the internal
SCRIPTS jump address should be patched.
3.
These are the offsets into the Ext_Script array of the entry points that
are being jumped to from the internal SCRIPTS program. They are
used to calculate the internal to external jump physical addresses to
be patched into the internal SCRIPTS program.
Figure 9.14 Internal Script (SCRIPTS.LIS file)
1
ARCH 825A
2
3
ABSOLUTE scsi_id=0x00
4
ABSOLUTE resel=0x01
5
6
EXTERN identify_buf={0x80}
typedef unsigned long ULONG;
1:ULONGExt_Script[] = {
0x78344500L,0x00000000L,
0x78354600L,0x00000000L,
0x80880000L,0x00000018L,
0x78364700L,0x00000000L,
0x78374800L,0x00000000L,
0x80080000L,0x00000000L,
0x6A360000L,0x00000000L,
0x785C0000L,0x00000000L,
0x785D0100L,0x00000000L,
0x785F0200L,0x00000000L,
0x80080000L,0x00000000L,
0x98080000L,0x000000FFL
};
2:ULONG E_Int_dataout_Used[] = {
0x00000015L
};
ULONG E_Int_Start_Used[] = {
0x0000000BL
};
#define A_done0x000000FFL
3:#define Ent_Ext_done
0x00000058L
#define Ent_Ext_Start
0x00000000L