Changeset 277 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.asm
- Timestamp:
- Feb 28, 2012, 2:45:48 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r262 r277 8 8 ; Section containing code 9 9 SECTION .text 10 11 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP12 ; 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",NULL17 g_szDetectSlave: db "Slave ",NULL18 g_szDetectOuter: db "IDE %s at %s: ",NULL19 g_szDetectOuterSerial: db "Serial %s on %s: ",NULL20 g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h:21 g_szDetectCOM: db "COM%c%s",NULL22 g_szDetectCOMAuto: db " Detect",NULL23 g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600:24 g_szDetectEnd:25 g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K:26 27 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS28 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00)29 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP. Please move this block up or down within strings.asm"30 %endif31 %endif32 33 ; Boot Menu menuitem strings34 ;35 ; The following strings are used by BootMenuPrint_* routines.36 ; To support optimizations in that code, these strings must start on the same 256 byte page,37 ; which is checked at assembly time below.38 ;39 g_szBootMenuPrintStart:40 g_szDriveNum: db "%x %s",NULL41 g_szDriveNumBOOTNFO: db "%x %z",NULL42 g_szFloppyDrv: db "Floppy Drive %c",NULL43 g_szBootMenuPrintEnd:44 g_szForeignHD: db "Foreign Hard Disk",NULL45 46 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS47 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)48 %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"49 %endif50 %endif51 10 52 11 ; POST drive detection strings … … 58 17 g_szNotFound: db "not found",LF,CR,NULL 59 18 g_szReadError: db "Error %x!",LF,CR,NULL 60 61 ; Boot menu bottom of screen strings62 g_szFDD: db "FDD ",NULL63 g_szHDD: db "HDD ",NULL64 g_szRomBoot: db "ROM Boot",NULL65 g_szHotkey: db "%A%c%c%A%s%A ",NULL66 67 ; Boot Menu information strings68 g_szCapacity: db "Capacity : %s",NULL69 g_szCapacityNum: db "%5-u.%u %ciB",NULL70 g_szInformation: db "%s",LF,CR71 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR72 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL73 19 74 20 g_szAddressingModes: … … 151 97 %endif 152 98 %endif 99 100 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP 101 ; To support an optimization in that code, these strings must start on the same 256 byte page, 102 ; which is checked at assembly time below. 103 ; 104 g_szDetectStart: 105 g_szDetectMaster: db "Master",NULL 106 g_szDetectSlave: db "Slave ",NULL 107 g_szDetectOuter: db "IDE %s at %s: ",NULL 108 ;%%; %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly 109 g_szDetectOuterSerial: db "Serial %s on %s: ",NULL 110 g_szDetectCOM: db "COM%c%s",NULL 111 g_szDetectCOMAuto: db " Detect",NULL 112 g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600: 113 g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: 114 ;%%; %endif ;%%; is stripped off after string compression, %ifdef won't compress properly 115 g_szDetectEnd: 116 g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h: 117 118 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 119 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) 120 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP. Please move this block up or down within strings.asm" 121 %endif 122 %endif 123 124 ; Boot Menu menuitem strings 125 ; 126 ; The following strings are used by BootMenuPrint_* routines. 127 ; To support optimizations in that code, these strings must start on the same 256 byte page, 128 ; which is checked at assembly time below. 129 ; 130 g_szBootMenuPrintStart: 131 g_szDriveNum: db "%x %s",NULL 132 g_szDriveNumBOOTNFO: db "%x %z",NULL 133 g_szFloppyDrv: db "Floppy Drive %c",NULL 134 g_szBootMenuPrintEnd: 135 g_szForeignHD: db "Foreign Hard Disk",NULL 136 137 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 138 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 139 %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" 140 %endif 141 %endif 142 143 ; Boot menu bottom of screen strings 144 g_szFDD: db "FDD ",NULL 145 g_szHDD: db "HDD ",NULL 146 g_szRomBoot: db "ROM Boot",NULL 147 g_szHotkey: db "%A%c%c%A%s%A ",NULL 148 149 ; Boot Menu information strings 150 g_szCapacity: db "Capacity : %s",NULL 151 g_szCapacityNum: db "%5-u.%u %ciB",NULL 152 g_szInformation: db "%s",LF,CR 153 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 154 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 153 155 154 156 ;------------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.