Changeset 334 in xtideuniversalbios
- Timestamp:
- Mar 13, 2012, 5:29:34 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/SerialServer.inc
r277 r334 29 29 ; 30 30 SerialServer_ATA_wServerVersion EQU (157*2) 31 SerialServer_ATA_w FloppyFlagAndTypeEQU (158*2)31 SerialServer_ATA_wDriveFlags EQU (158*2) 32 32 SerialServer_ATA_wPortAndBaud EQU (159*2) 33 33 -
trunk/Serial_Server/library/Image.cpp
r284 r334 205 205 // 206 206 #define ATA_wSerialServerVersion 157 207 #define ATA_wSerial FloppyFlagAndType158207 #define ATA_wSerialDriveFlags 158 208 208 #define ATA_wSerialPortAndBaud 159 209 209 … … 214 214 #define ATA_wGenCfg_FIXED 0x40 215 215 216 #define ATA_wSerialFloppyFlagAndType_Flag 0x10 217 #define ATA_wSerialFloppyFlagAndType_TypePosition 5 216 // These are all shifted by 1 bit to the right, so that SerialDPT_Finalize can shift them into proper position 217 // and shift the high order bit into the carry flag to indicate a floppy drive is present. 218 // 219 #define ATA_wSerialDriveFlags_Floppy 0x88 220 #define ATA_wSerialDriveFlags_Present 0x02 221 #define ATA_wSerialDriveFlags_FloppyType_FieldPosition 4 218 222 219 223 struct comPorts { … … 298 302 buff[ ATA_wSerialServerVersion ] = (SERIAL_SERVER_MAJORVERSION << 8) | SERIAL_SERVER_MINORVERSION; 299 303 304 buff[ ATA_wSerialDriveFlags ] = ATA_wSerialDriveFlags_Present; 300 305 if( floppy ) 301 buff[ ATA_wSerial FloppyFlagAndType ]=302 ATA_wSerial FloppyFlagAndType_Flag | (floppyType << ATA_wSerialFloppyFlagAndType_TypePosition);306 buff[ ATA_wSerialDriveFlags ] |= 307 ATA_wSerialDriveFlags_Floppy | (floppyType << ATA_wSerialDriveFlags_FloppyType_FieldPosition); 303 308 304 309 // we always set this, so that the bulk of the BIOS will consider this disk as a hard disk -
trunk/Tools/StringsCompress.pl
r277 r334 66 66 print ";;;======================================================================\n\n"; 67 67 68 print "%ifdef STRINGSCOMPRESSED_STRINGS\n\n"; 68 69 69 70 # … … 182 183 # 183 184 185 print "%endif ; STRINGSCOMPRESSED_STRINGS\n\n"; 186 print "%ifdef STRINGSCOMPRESSED_TABLES\n\n"; 187 184 188 print "StringsCompressed_NormalBase equ ".$normal_base."\n\n"; 185 189 … … 263 267 print ";; alphabet used count: ".$used_count."\n"; 264 268 269 print "%endif ; STRINGSCOMPRESSED_TABLES\n\n"; 270 265 271 #-------------------------------------------------------------------------------- 266 272 # -
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm
r292 r334 54 54 %include "SerialServer.asm" 55 55 56 %if SerialCommand_FallThroughToSerialServer_SendReceive <> SerialServer_SendReceive 57 %error "SerialServer_SendReceive must be the first routine at the top of SerialServer.asm in the Assembly_Library" 56 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 57 %if SerialCommand_FallThroughToSerialServer_SendReceive <> SerialServer_SendReceive 58 %error "SerialServer_SendReceive must be the first routine at the top of SerialServer.asm in the Assembly_Library" 59 %endif 58 60 %endif 59 61 … … 163 165 %include "SerialServerScan.asm" 164 166 165 %if SerialCommand_FallThroughToSerialServerScan_ScanForServer <> SerialServerScan_ScanForServer 166 %error "SerialServerScan_ScanForServer must be the first routine at the top of SerialServerScan.asm in the Assembly_Library" 167 %endif 167 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 168 %if SerialCommand_FallThroughToSerialServerScan_ScanForServer <> SerialServerScan_ScanForServer 169 %error "SerialServerScan_ScanForServer must be the first routine at the top of SerialServerScan.asm in the Assembly_Library" 170 %endif 171 %endif 168 172 169 173 -
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm
r277 r334 25 25 ; if the floppy support is disabled. 26 26 ; 27 mov al, [es:si+SerialServer_ATA_wFloppyFlagAndType] 28 or al, FLGH_DPT_SERIAL_DEVICE 29 or byte [di+DPT.bFlagsHigh], al 30 31 test al, FLGH_DPT_SERIAL_FLOPPY ; clears CF 32 jz .notfloppy 33 stc 34 .notfloppy: 27 mov al, [es:si+SerialServer_ATA_wDriveFlags] 28 shl al, 1 29 mov byte [di+DPT.bFlagsHigh], al 35 30 36 31 ret 37 32 33 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 34 %if FLGH_DPT_SERIAL_DEVICE != 0x4 || FLGH_DPT_SERIAL_FLOPPY != 0x10 || FLGH_DPT_SERIAL_FLOPPY_TYPE_MASK != 0xe0 || FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION != 5 35 %error "The serial server passes FLGH values into SerialDPT_Finalize directly. If the flag positions are changed, corresponding changes will need to be made in the serial server, and likely a version check put in to deal with servers talking to incompatible clients" 36 %endif 37 %endif -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r294 r334 46 46 eCMOVE ax, cs ; Use segment address for JR-IDE/ISA 47 47 %endif 48 49 mov si, g_szDetectOuter ; Load SI with default wrapper string "IDE %s at %s: "50 48 51 49 push bp ; setup stack for call to … … 99 97 100 98 .pushAndPrintSerial: 101 mov si, g_szDetectOuterSerial ; Finally load SI with wrapper string "Serial %s on %s: "102 103 99 .pushAndPrint: 104 100 %endif … … 107 103 push ax ; Push high order digits, or port address, or N/A 108 104 push dx ; Push low order digit, or N/A 105 106 mov si, g_szDetectOuter ; Load SI with default wrapper string "IDE %s at %s: " 109 107 110 108 jmp short DetectPrint_BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r305 r334 158 158 iend 159 159 160 ; Strings are first to avoid them moving unnessarily when code is turned on and off with %ifdef's 161 ; since some groups of strings need to be on the same 256-byte page. 162 ; 163 %ifdef MODULE_STRINGS_COMPRESSED 164 %define STRINGSCOMPRESSED_STRINGS 165 %include "StringsCompressed.asm" 166 %else 167 %include "Strings.asm" ; For BIOS message strings 168 %endif 169 160 170 ; Libraries, data, Initialization and drive detection 171 161 172 %include "AssemblyLibrary.asm" 173 174 ; String compression tables need to come after the AssemblyLibrary (since they depend on addresses 175 ; established in the assembly library), and are unncessary if strings are not compressed. 176 ; 177 %ifdef MODULE_STRINGS_COMPRESSED 178 %undef STRINGSCOMPRESSED_STRINGS 179 %define STRINGSCOMPRESSED_TABLES 180 %include "StringsCompressed.asm" 181 %endif 182 162 183 %include "Initialize.asm" ; For BIOS initialization 163 184 %include "Interrupts.asm" ; For Interrupt initialization … … 165 186 %include "CreateDPT.asm" ; For creating DPTs 166 187 %include "FindDPT.asm" ; For finding DPTs 167 %ifdef MODULE_STRINGS_COMPRESSED168 %include "StringsCompressed.asm"169 %else170 %include "Strings.asm" ; For BIOS message strings171 %endif172 188 %include "AccessDPT.asm" ; For accessing DPTs 173 189 %include "BootMenuInfo.asm" ; For creating BOOTMENUINFO structs -
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r332 r334 9 9 SECTION .text 10 10 11 ; POST drive detection strings 12 g_szRomAt: db "%s @ %x",LF,CR,NULL 13 14 ; Boot loader strings 15 g_szTryToBoot: db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL 16 g_szBootSectorNotFound: db "Boot sector " 17 g_szNotFound: db "not found",LF,CR,NULL 18 g_szReadError: db "Error %x!",LF,CR,NULL 19 20 g_szAddressingModes: 21 g_szLCHS: db "L-CHS",NULL 22 g_szPCHS: db "P-CHS",NULL 23 g_szLBA28: db "LBA28",NULL 24 g_szLBA48: db "LBA48",NULL 25 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes) 26 ; 27 ; Ensure that addressing modes are correctly spaced in memory 28 ; 29 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 30 %if g_szLCHS <> g_szAddressingModes 31 %error "g_szAddressingModes Displacement Incorrect 1" 32 %endif 33 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement 34 %error "g_szAddressingModes Displacement Incorrect 2" 35 %endif 36 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement 37 %error "g_szAddressingModes Displacement Incorrect 3" 38 %endif 39 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement 40 %error "g_szAddressingModes Displacement Incorrect 4" 11 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 12 ; To support an optimization in that code, these strings must start on the same 256 byte page, 13 ; which is checked at assembly time below. 14 ; 15 g_szDetectStart: 16 g_szDetectMaster: db "Master",NULL 17 g_szDetectSlave: db "Slave ",NULL 18 g_szDetectOuter: db "%s at %s: ",NULL 19 ;%%; %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly 20 g_szDetectCOM: db "COM%c%s",NULL 21 g_szDetectCOMAuto: db " Detect",NULL 22 g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600: 23 g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: 24 ;%%; %endif ;%%; is stripped off after string compression, %ifdef won't compress properly 25 g_szDetectEnd: 26 g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h: 27 28 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 29 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) 30 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP. Please move this block up or down within strings.asm" 41 31 %endif 42 32 %endif … … 59 49 %if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00) 60 50 %error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives. Please move this block up or down within strings.asm" 51 %endif 52 %endif 53 54 ; POST drive detection strings 55 g_szRomAt: db "%s @ %x",LF,CR 56 db "Released under GNU GPL v2",LF,CR,LF,CR,NULL 57 58 ; Boot loader strings 59 g_szTryToBoot: db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL 60 g_szBootSectorNotFound: db "Boot sector " 61 g_szNotFound: db "not found",LF,CR,NULL 62 g_szReadError: db "Error %x!",LF,CR,NULL 63 64 g_szAddressingModes: 65 g_szLCHS: db "L-CHS",NULL 66 g_szPCHS: db "P-CHS",NULL 67 g_szLBA28: db "LBA28",NULL 68 g_szLBA48: db "LBA48",NULL 69 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes) 70 ; 71 ; Ensure that addressing modes are correctly spaced in memory 72 ; 73 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 74 %if g_szLCHS <> g_szAddressingModes 75 %error "g_szAddressingModes Displacement Incorrect 1" 76 %endif 77 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement 78 %error "g_szAddressingModes Displacement Incorrect 2" 79 %endif 80 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement 81 %error "g_szAddressingModes Displacement Incorrect 3" 82 %endif 83 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement 84 %error "g_szAddressingModes Displacement Incorrect 4" 61 85 %endif 62 86 %endif … … 102 126 g_szDashForZero: db "- ",NULL 103 127 128 ; Boot menu bottom of screen strings 129 g_szFDD: db "FDD ",NULL 130 g_szHDD: db "HDD ",NULL 131 g_szRomBoot: db "ROM Boot",NULL 132 g_szHotkey: db "%A%c%c%A%s%A ",NULL 133 134 ; Boot Menu information strings 135 g_szCapacity: db "Capacity : %s",NULL 136 g_szCapacityNum: db "%5-u.%u %ciB",NULL 137 g_szInformation: db "%s",LF,CR 138 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 139 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 140 104 141 ; Boot Menu menuitem strings 105 142 ; … … 120 157 %endif 121 158 %endif 122 123 ; Boot menu bottom of screen strings 124 g_szFDD: db "FDD ",NULL 125 g_szHDD: db "HDD ",NULL 126 g_szRomBoot: db "ROM Boot",NULL 127 g_szHotkey: db "%A%c%c%A%s%A ",NULL 128 129 ; Boot Menu information strings 130 g_szCapacity: db "Capacity : %s",NULL 131 g_szCapacityNum: db "%5-u.%u %ciB",NULL 132 g_szInformation: db "%s",LF,CR 133 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 134 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 135 136 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 137 ; To support an optimization in that code, these strings must start on the same 256 byte page, 138 ; which is checked at assembly time below. 139 ; 140 g_szDetectStart: 141 g_szDetectMaster: db "Master",NULL 142 g_szDetectSlave: db "Slave ",NULL 143 g_szDetectOuter: db "IDE %s at %s: ",NULL 144 ;%%; %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly 145 g_szDetectOuterSerial: db "Serial %s on %s: ",NULL 146 g_szDetectCOM: db "COM%c%s",NULL 147 g_szDetectCOMAuto: db " Detect",NULL 148 g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600: 149 g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: 150 ;%%; %endif ;%%; is stripped off after string compression, %ifdef won't compress properly 151 g_szDetectEnd: 152 g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h: 153 154 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 155 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) 156 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP. Please move this block up or down within strings.asm" 157 %endif 158 %endif 159 159 160 160 ;------------------------------------------------------------------------------------------ 161 161 ; -
trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
r332 r334 7 7 ;;;====================================================================== 8 8 9 %ifdef STRINGSCOMPRESSED_STRINGS 10 9 11 ; Project name : XTIDE Universal BIOS 10 12 ; Description : Strings and equates for BIOS messages. … … 16 18 ; Section containing code 17 19 SECTION .text 18 19 ; POST drive detection strings20 g_szRomAt: ; db "%s @ %x",LF,CR,NULL21 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh, 00h ; uncompressed22 db 3eh, 20h, 0c6h, 39h, 1bh ; compressed23 24 25 ; Boot loader strings26 g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL27 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 66h, 72h, 6fh, 6dh, 20h, 25h, 73h, 20h, 25h, 78h, 0afh, 25h, 78h, 0ah, 0dh, 00h ; uncompressed28 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 3eh, 20h, 39h, 24h, 39h, 1bh ; compressed29 30 g_szBootSectorNotFound: ; db "Boot sector "31 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed32 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed33 34 g_szNotFound: ; db "not found",LF,CR,NULL35 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed36 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed37 38 g_szReadError: ; db "Error %x!",LF,CR,NULL39 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed40 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed41 42 43 g_szAddressingModes:44 g_szLCHS: ; db "L-CHS",NULL45 ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed46 db 52h, 28h, 49h, 4eh, 99h ; compressed47 48 g_szPCHS: ; db "P-CHS",NULL49 ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed50 db 56h, 28h, 49h, 4eh, 99h ; compressed51 52 g_szLBA28: ; db "LBA28",NULL53 ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed54 db 52h, 48h, 47h, 2ch, 11h ; compressed55 56 g_szLBA48: ; db "LBA48",NULL57 ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed58 db 52h, 48h, 47h, 2eh, 11h ; compressed59 60 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)61 ;62 ; Ensure that addressing modes are correctly spaced in memory63 ;64 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS65 %if g_szLCHS <> g_szAddressingModes66 %error "g_szAddressingModes Displacement Incorrect 1"67 %endif68 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement69 %error "g_szAddressingModes Displacement Incorrect 2"70 %endif71 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement72 %error "g_szAddressingModes Displacement Incorrect 3"73 %endif74 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement75 %error "g_szAddressingModes Displacement Incorrect 4"76 %endif77 %endif78 79 ; Boot Menu Floppy Disk strings80 ;81 ; The following strings are used by BootMenuPrint_RefreshInformation82 ; To support optimizations in that code, these strings must start on the same 256 byte page,83 ; which is checked at assembly time below.84 ;85 g_szFddStart:86 g_szFddUnknown: ; db "Unknown",NULL87 ; db 55h, 6eh, 6bh, 6eh, 6fh, 77h, 6eh, 00h ; uncompressed88 db 5bh, 74h, 71h, 74h, 75h, 7dh, 0b4h ; compressed89 90 g_szFddSizeOr: ; db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL91 ; db 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed92 db 2fh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed93 94 g_szFddSize: ; db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB95 ; db 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed96 db 3eh, 26h, 27h, 20h, 37h, 20h, 71h, 6fh, 88h ; compressed97 98 g_szFddThreeHalf: ; db "3",ONE_HALF,NULL99 ; db 33h, 0abh, 00h ; uncompressed100 db 2dh, 02h ; compressed101 102 g_szFddEnd:103 g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL104 ; db 35h, 0ach, 00h ; uncompressed105 db 2fh, 01h ; compressed106 107 108 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS109 %if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00)110 %error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives. Please move this block up or down within strings.asm"111 %endif112 %endif113 114 g_szBusTypeValues:115 g_szBusTypeValues_8Dual: ; db "D8 ",NULL116 ; db 44h, 38h, 20h, 00h ; uncompressed117 db 4ah, 31h, 00h ; compressed118 119 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL120 ; db 58h, 38h, 20h, 00h ; uncompressed121 db 5eh, 31h, 00h ; compressed122 123 g_szBusTypeValues_8Single: ; db "S8 ",NULL124 ; db 53h, 38h, 20h, 00h ; uncompressed125 db 59h, 31h, 00h ; compressed126 127 g_szBusTypeValues_16: ; db " 16",NULL128 ; db 20h, 31h, 36h, 00h ; uncompressed129 db 20h, 2bh, 10h ; compressed130 131 g_szBusTypeValues_32: ; db " 32",NULL132 ; db 20h, 33h, 32h, 00h ; uncompressed133 db 20h, 2dh, 0ch ; compressed134 135 g_szBusTypeValues_Serial: ; db "SER",NULL136 ; db 53h, 45h, 52h, 00h ; uncompressed137 db 59h, 4bh, 98h ; compressed138 139 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL140 ; db 4dh, 38h, 20h, 00h ; uncompressed141 db 53h, 31h, 00h ; compressed142 143 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)144 ;145 ; Ensure that bus type strings are correctly spaced in memory146 ;147 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS148 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues149 %error "g_szBusTypeValues Displacement Incorrect 1"150 %endif151 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement152 %error "g_szBusTypeValues Displacement Incorrect 2"153 %endif154 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement155 %error "g_szBusTypeValues Displacement Incorrect 3"156 %endif157 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement158 %error "g_szBusTypeValues Displacement Incorrect 4"159 %endif160 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement161 %error "g_szBusTypeValues Displacement Incorrect 5"162 %endif163 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement164 %error "g_szBusTypeValues Displacement Incorrect 6"165 %endif166 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement167 %error "g_szBusTypeValues Displacement Incorrect 7"168 %endif169 %endif170 171 g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL172 ; db 0c8h, 0b5h, 25h, 41h, 53h, 65h, 6ch, 65h, 63h, 74h, 69h, 6fh, 6eh, 20h, 69h, 6eh, 20h, 25h, 32h, 2dh, 75h, 20h, 73h, 00h ; uncompressed173 db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed174 175 176 g_szDashForZero: ; db "- ",NULL177 ; db 2dh, 20h, 00h ; uncompressed178 db 28h, 00h ; compressed179 180 181 ; Boot Menu menuitem strings182 ;183 ; The following strings are used by BootMenuPrint_* routines.184 ; To support optimizations in that code, these strings must start on the same 256 byte page,185 ; which is checked at assembly time below.186 ;187 g_szBootMenuPrintStart:188 g_szDriveNum: ; db "%x %s",NULL189 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed190 db 39h, 20h, 1eh ; compressed191 192 g_szDriveNumBOOTNFO: ; db "%x %z",NULL193 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed194 db 39h, 20h, 1fh ; compressed195 196 g_szFloppyDrv: ; db "Floppy Drive %c",NULL197 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed198 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 15h ; compressed199 200 g_szBootMenuPrintEnd:201 g_szForeignHD: ; db "Foreign Hard Disk",NULL202 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed203 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed204 205 206 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS207 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)208 %error "g_szBootMenuPrint* strings must start on the same 256 byte page, required by the BootMenuPrint_* routines. Please move this block up or down within strings.asm"209 %endif210 %endif211 212 ; Boot menu bottom of screen strings213 g_szFDD: ; db "FDD ",NULL214 ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed215 db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed216 217 g_szHDD: ; db "HDD ",NULL218 ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed219 db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed220 221 g_szRomBoot: ; db "ROM Boot",NULL222 ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed223 db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed224 225 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL226 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed227 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed228 229 230 ; Boot Menu information strings231 g_szCapacity: ; db "Capacity : %s",NULL232 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed233 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1eh ; compressed234 235 g_szCapacityNum: ; db "%5-u.%u %ciB",NULL236 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed237 db 38h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed238 239 g_szInformation: ; db "%s",LF,CR240 ; db 25h, 73h, 0ah, 0dh ; uncompressed241 db 3eh, 3bh ; compressed242 243 ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR244 ; db 41h, 64h, 64h, 72h, 2eh, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh ; uncompressed245 db 47h, 6ah, 6ah, 78h, 29h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 3bh ; compressed246 247 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL248 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed249 db 3eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed250 251 20 252 21 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP … … 263 32 db 59h, 72h, 67h, 7ch, 6bh, 00h ; compressed 264 33 265 g_szDetectOuter: ; db " IDE%s at %s: ",NULL266 ; db 49h, 44h, 45h, 20h,25h, 73h, 20h, 61h, 74h, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed267 db 4fh, 4ah, 0cbh, 3eh, 20h, 67h, 0fah, 3eh, 40h, 00h; compressed34 g_szDetectOuter: ; db "%s at %s: ",NULL 35 ; db 25h, 73h, 20h, 61h, 74h, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed 36 db 3eh, 20h, 67h, 0fah, 3eh, 40h, 00h ; compressed 268 37 269 38 %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly 270 g_szDetectOuterSerial: ; db "Serial %s on %s: ",NULL271 ; db 53h, 65h, 72h, 69h, 61h, 6ch, 20h, 25h, 73h, 20h, 6fh, 6eh, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed272 db 59h, 6bh, 78h, 6fh, 67h, 0f2h, 3eh, 20h, 75h, 0f4h, 3eh, 40h, 00h ; compressed273 274 39 g_szDetectCOM: ; db "COM%c%s",NULL 275 40 ; db 43h, 4fh, 4dh, 25h, 63h, 25h, 73h, 00h ; uncompressed … … 298 63 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) 299 64 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP. Please move this block up or down within strings.asm" 65 %endif 66 %endif 67 68 ; Boot Menu Floppy Disk strings 69 ; 70 ; The following strings are used by BootMenuPrint_RefreshInformation 71 ; To support optimizations in that code, these strings must start on the same 256 byte page, 72 ; which is checked at assembly time below. 73 ; 74 g_szFddStart: 75 g_szFddUnknown: ; db "Unknown",NULL 76 ; db 55h, 6eh, 6bh, 6eh, 6fh, 77h, 6eh, 00h ; uncompressed 77 db 5bh, 74h, 71h, 74h, 75h, 7dh, 0b4h ; compressed 78 79 g_szFddSizeOr: ; db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL 80 ; db 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed 81 db 2fh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed 82 83 g_szFddSize: ; db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB 84 ; db 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed 85 db 3eh, 26h, 27h, 20h, 37h, 20h, 71h, 6fh, 88h ; compressed 86 87 g_szFddThreeHalf: ; db "3",ONE_HALF,NULL 88 ; db 33h, 0abh, 00h ; uncompressed 89 db 2dh, 02h ; compressed 90 91 g_szFddEnd: 92 g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL 93 ; db 35h, 0ach, 00h ; uncompressed 94 db 2fh, 01h ; compressed 95 96 97 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 98 %if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00) 99 %error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives. Please move this block up or down within strings.asm" 100 %endif 101 %endif 102 103 ; POST drive detection strings 104 g_szRomAt: ; db "%s @ %x",LF,CR 105 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed 106 db 3eh, 20h, 0c6h, 39h, 3bh ; compressed 107 108 ; db "Released under GNU GPL v2",LF,CR,LF,CR,NULL 109 ; db 52h, 65h, 6ch, 65h, 61h, 73h, 65h, 64h, 20h, 75h, 6eh, 64h, 65h, 72h, 20h, 47h, 4eh, 55h, 20h, 47h, 50h, 4ch, 20h, 76h, 32h, 0ah, 0dh, 0ah, 0dh, 00h ; uncompressed 110 db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 3bh, 1bh ; compressed 111 112 113 ; Boot loader strings 114 g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL 115 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 66h, 72h, 6fh, 6dh, 20h, 25h, 73h, 20h, 25h, 78h, 0afh, 25h, 78h, 0ah, 0dh, 00h ; uncompressed 116 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 3eh, 20h, 39h, 24h, 39h, 1bh ; compressed 117 118 g_szBootSectorNotFound: ; db "Boot sector " 119 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed 120 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed 121 122 g_szNotFound: ; db "not found",LF,CR,NULL 123 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed 124 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed 125 126 g_szReadError: ; db "Error %x!",LF,CR,NULL 127 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed 128 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed 129 130 131 g_szAddressingModes: 132 g_szLCHS: ; db "L-CHS",NULL 133 ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed 134 db 52h, 28h, 49h, 4eh, 99h ; compressed 135 136 g_szPCHS: ; db "P-CHS",NULL 137 ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed 138 db 56h, 28h, 49h, 4eh, 99h ; compressed 139 140 g_szLBA28: ; db "LBA28",NULL 141 ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed 142 db 52h, 48h, 47h, 2ch, 11h ; compressed 143 144 g_szLBA48: ; db "LBA48",NULL 145 ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed 146 db 52h, 48h, 47h, 2eh, 11h ; compressed 147 148 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes) 149 ; 150 ; Ensure that addressing modes are correctly spaced in memory 151 ; 152 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 153 %if g_szLCHS <> g_szAddressingModes 154 %error "g_szAddressingModes Displacement Incorrect 1" 155 %endif 156 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement 157 %error "g_szAddressingModes Displacement Incorrect 2" 158 %endif 159 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement 160 %error "g_szAddressingModes Displacement Incorrect 3" 161 %endif 162 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement 163 %error "g_szAddressingModes Displacement Incorrect 4" 164 %endif 165 %endif 166 167 g_szBusTypeValues: 168 g_szBusTypeValues_8Dual: ; db "D8 ",NULL 169 ; db 44h, 38h, 20h, 00h ; uncompressed 170 db 4ah, 31h, 00h ; compressed 171 172 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL 173 ; db 58h, 38h, 20h, 00h ; uncompressed 174 db 5eh, 31h, 00h ; compressed 175 176 g_szBusTypeValues_8Single: ; db "S8 ",NULL 177 ; db 53h, 38h, 20h, 00h ; uncompressed 178 db 59h, 31h, 00h ; compressed 179 180 g_szBusTypeValues_16: ; db " 16",NULL 181 ; db 20h, 31h, 36h, 00h ; uncompressed 182 db 20h, 2bh, 10h ; compressed 183 184 g_szBusTypeValues_32: ; db " 32",NULL 185 ; db 20h, 33h, 32h, 00h ; uncompressed 186 db 20h, 2dh, 0ch ; compressed 187 188 g_szBusTypeValues_Serial: ; db "SER",NULL 189 ; db 53h, 45h, 52h, 00h ; uncompressed 190 db 59h, 4bh, 98h ; compressed 191 192 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL 193 ; db 4dh, 38h, 20h, 00h ; uncompressed 194 db 53h, 31h, 00h ; compressed 195 196 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) 197 ; 198 ; Ensure that bus type strings are correctly spaced in memory 199 ; 200 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 201 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues 202 %error "g_szBusTypeValues Displacement Incorrect 1" 203 %endif 204 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement 205 %error "g_szBusTypeValues Displacement Incorrect 2" 206 %endif 207 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement 208 %error "g_szBusTypeValues Displacement Incorrect 3" 209 %endif 210 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement 211 %error "g_szBusTypeValues Displacement Incorrect 4" 212 %endif 213 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement 214 %error "g_szBusTypeValues Displacement Incorrect 5" 215 %endif 216 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement 217 %error "g_szBusTypeValues Displacement Incorrect 6" 218 %endif 219 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement 220 %error "g_szBusTypeValues Displacement Incorrect 7" 221 %endif 222 %endif 223 224 g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 225 ; db 0c8h, 0b5h, 25h, 41h, 53h, 65h, 6ch, 65h, 63h, 74h, 69h, 6fh, 6eh, 20h, 69h, 6eh, 20h, 25h, 32h, 2dh, 75h, 20h, 73h, 00h ; uncompressed 226 db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed 227 228 229 g_szDashForZero: ; db "- ",NULL 230 ; db 2dh, 20h, 00h ; uncompressed 231 db 28h, 00h ; compressed 232 233 234 ; Boot menu bottom of screen strings 235 g_szFDD: ; db "FDD ",NULL 236 ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed 237 db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed 238 239 g_szHDD: ; db "HDD ",NULL 240 ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed 241 db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed 242 243 g_szRomBoot: ; db "ROM Boot",NULL 244 ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed 245 db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed 246 247 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL 248 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed 249 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed 250 251 252 ; Boot Menu information strings 253 g_szCapacity: ; db "Capacity : %s",NULL 254 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed 255 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1eh ; compressed 256 257 g_szCapacityNum: ; db "%5-u.%u %ciB",NULL 258 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed 259 db 38h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed 260 261 g_szInformation: ; db "%s",LF,CR 262 ; db 25h, 73h, 0ah, 0dh ; uncompressed 263 db 3eh, 3bh ; compressed 264 265 ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 266 ; db 41h, 64h, 64h, 72h, 2eh, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh ; uncompressed 267 db 47h, 6ah, 6ah, 78h, 29h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 3bh ; compressed 268 269 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 270 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed 271 db 3eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed 272 273 274 ; Boot Menu menuitem strings 275 ; 276 ; The following strings are used by BootMenuPrint_* routines. 277 ; To support optimizations in that code, these strings must start on the same 256 byte page, 278 ; which is checked at assembly time below. 279 ; 280 g_szBootMenuPrintStart: 281 g_szDriveNum: ; db "%x %s",NULL 282 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed 283 db 39h, 20h, 1eh ; compressed 284 285 g_szDriveNumBOOTNFO: ; db "%x %z",NULL 286 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed 287 db 39h, 20h, 1fh ; compressed 288 289 g_szFloppyDrv: ; db "Floppy Drive %c",NULL 290 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed 291 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 15h ; compressed 292 293 g_szBootMenuPrintEnd: 294 g_szForeignHD: ; db "Foreign Hard Disk",NULL 295 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed 296 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed 297 298 299 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 300 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 301 %error "g_szBootMenuPrint* strings must start on the same 256 byte page, required by the BootMenuPrint_* routines. Please move this block up or down within strings.asm" 300 302 %endif 301 303 %endif … … 356 358 357 359 ;;; end of input stream 360 361 %endif ; STRINGSCOMPRESSED_STRINGS 362 363 %ifdef STRINGSCOMPRESSED_TABLES 358 364 359 365 StringsCompressed_NormalBase equ 58 … … 433 439 ;; translated usage stats 434 440 ;; 33:1 435 ;; 32:3 3441 ;; 32:31 436 442 ;; 181:1 437 443 ;; 53:2 … … 441 447 ;; 179:8 442 448 ;; 44:1 443 ;; 50: 2449 ;; 50:3 444 450 ;; 51:3 445 451 ;; 47:2 … … 460 466 ;; 5-u:2 461 467 ;; x:7 462 ;; s:1 4468 ;; s:12 463 469 ;; 5-x:1 464 ;; nl: 6470 ;; nl:8 465 471 ;; 2-I:1 466 472 ;; c:5 … … 470 476 471 477 ;; alphabet usage stats 472 ;; 58,:: 3478 ;; 58,::2 473 479 ;; 59,;: 474 480 ;; 60,<: … … 480 486 ;; 66,B:9 481 487 ;; 67,C:4 482 ;; 68,D:1 1483 ;; 69,E: 3488 ;; 68,D:10 489 ;; 69,E:2 484 490 ;; 70,F:3 485 ;; 71,G: 491 ;; 71,G:2 486 492 ;; 72,H:4 487 ;; 73,I: 2493 ;; 73,I:1 488 494 ;; 74,J: 489 495 ;; 75,K:1 490 ;; 76,L: 3496 ;; 76,L:4 491 497 ;; 77,M:4 492 ;; 78,N: 498 ;; 78,N:1 493 499 ;; 79,O:2 494 ;; 80,P: 1500 ;; 80,P:2 495 501 ;; 81,Q:1 496 ;; 82,R: 4497 ;; 83,S: 7502 ;; 82,R:5 503 ;; 83,S:6 498 504 ;; 84,T: 499 ;; 85,U: 1505 ;; 85,U:2 500 506 ;; 86,V: 501 507 ;; 87,W: … … 512 518 ;; 98,b: 513 519 ;; 99,c:5 514 ;; 100,d: 4515 ;; 101,e:1 2520 ;; 100,d:6 521 ;; 101,e:15 516 522 ;; 102,f:2 517 523 ;; 103,g:2 518 524 ;; 104,h: 519 ;; 105,i: 10525 ;; 105,i:9 520 526 ;; 106,j: 521 527 ;; 107,k:4 … … 523 529 ;; 109,m:1 524 530 ;; 110,n:10 525 ;; 111,o:1 8531 ;; 111,o:17 526 532 ;; 112,p:3 527 533 ;; 113,q: 528 534 ;; 114,r:12 529 ;; 115,s: 6535 ;; 115,s:7 530 536 ;; 116,t:12 531 ;; 117,u: 2532 ;; 118,v: 2537 ;; 117,u:3 538 ;; 118,v:3 533 539 ;; 119,w:1 534 540 ;; 120,x: 535 541 ;; 121,y:2 536 ;; alphabet used count: 40 542 ;; alphabet used count: 42 543 %endif ; STRINGSCOMPRESSED_TABLES 544
Note:
See TracChangeset
for help on using the changeset viewer.