Changeset 334 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.asm
- Timestamp:
- Mar 13, 2012, 5:29:34 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 ;
Note:
See TracChangeset
for help on using the changeset viewer.