2 const segment public para 'const' ;AC000;bgb
3 Len_FS_ID_String equ 8 ; length of fat_12 and fat_16 strings ;AN000;bgb
4 Command_Line_Length equ 128 ; length of command line area ;AN000;bgb
5 Len_FS_String_End equ 8 ; length of rec.exe + 0H ;AN000;bgb
15 ;IBMVER EQU false ; not for single drive system ;AC000;bgb
16 ;KANJI EQU true ; set this to true for assembling jap version ;AC000;bgb
23 FCB_Filename_Length equ 11
26 YES equ not NO ;AN000;
32 No_Ext_Attrib equ 0 ;AN000;
36 FAT12_File_System equ 01h ;AN000;
37 FAT16_File_System equ 04h ;AN000;
38 New_File_System equ 06h ;AN000;
40 Bad_Exit equ 0FFh ;Errorlevel = 0FFh ;AN000;
42 Net_Check equ 1200h ;AN000;
43 Assign_Check equ 8000h ;AN000;
47 DBCS_Vector_Size equ 2
51 Found_Yes equ 1 ;AN000;
52 Found_No equ 0 ;AN000;
54 Asciiz_End equ 0 ;AN000;
59 Dir_Entries_Per_Sector equ 512/32
62 Critical_Error_Fail equ 3
67 Len_FS_String_Buffer equ 13
70 BIG_FAT_THRESHOLD equ 4086 ;AN000;
72 ; equates from recinit
73 ;***********************************************
74 Multiplex equ 2Fh ; ;AN000;
75 Set_Append_X equ 0B707h ; ;AN000;;
76 Append_X equ 0B706h ; ;AN000;;
77 Append_X_Set equ 1 ; ;AN000;
78 Append_Off equ 0 ; ;AN000;
79 Append_ON equ 1 ; ;AN000;
80 fcb1 equ 05ch ; ;AN000;bgb
86 Len_FS_String_Buffer equ 13
90 ;-------------------------------------------------------------------------------
92 ;-------------------------------------------------------------------------------
94 Exec_Block_Parms struc
103 Exec_Block_Parms ends
107 ;-------------------------------------------------------------------------------
109 ;-------------------------------------------------------------------------------
110 Media_ID struc ;AN000;
111 Media_ID_Info_Level dw 0 ;AN000;
112 Media_ID_Serial_Number dd 0 ;AN000;
113 Media_ID_Volume_Label db 11 dup(" ") ;AN000;
114 Media_ID_File_System db 8 dup(" ") ;AN000;
115 Media_ID ends ;AN000;
117 ;-------------------------------------------------------------------------------
119 ;-------------------------------------------------------------------------------
120 A_DeviceParameters struc
122 SpecialFunctions db ?
124 DeviceAttributes dw ?
125 NumberOfCylinders dw ?
128 SectorsPerCluster db ?
138 Ext_Total_Sectors dd ?
139 Reserved_Area db 6 dup(?)
141 A_DeviceParameters ends
146 ;-------------------------------------------------------------------------------
147 ; relative sector buffer
148 ;-------------------------------------------------------------------------------
149 Relative_Sector_Buffer struc ; ;AN000;
151 Start_Sector_Low dw ? ;Low word of RBA sector ;AN000;
152 Start_Sector_High dw ? ;High word of RBA sector ;AN000;
153 Number_Sectors dw ? ;Number of sectors ;AN000;
154 Buffer_Offset dw ? ;Address of data buffer ;AN000;
155 Buffer_Segment dw ? ; ;AN000;
157 Relative_Sector_Buffer ends ; ;AN000;
160 ;-------------------------------------------------------------------------------
162 ;-------------------------------------------------------------------------------
165 XAL_Tsize dw ? ;AN000;
166 XAL_TCount dw ? ;AN000;
167 XAL_LSize dw ? ;AN000;
168 XAL_LCount dw ? ;AN000;
169 XAL_Data db 512-8 dup(?) ;AN000;
173 ;-------------------------------------------------------------------------------