Changeset 332 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.asm
- Timestamp:
- Mar 12, 2012, 1:33:24 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r322 r332 61 61 %endif 62 62 %endif 63 64 g_szBusTypeValues: 65 g_szBusTypeValues_8Dual: db "D8 ",NULL 66 g_szBusTypeValues_8Reversed: db "X8 ",NULL 67 g_szBusTypeValues_8Single: db "S8 ",NULL 68 g_szBusTypeValues_16: db " 16",NULL 69 g_szBusTypeValues_32: db " 32",NULL 70 g_szBusTypeValues_Serial: db "SER",NULL 71 g_szBusTypeValues_8MemMapped: db "M8 ",NULL 72 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) 73 ; 74 ; Ensure that bus type strings are correctly spaced in memory 75 ; 76 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 77 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues 78 %error "g_szBusTypeValues Displacement Incorrect 1" 79 %endif 80 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement 81 %error "g_szBusTypeValues Displacement Incorrect 2" 82 %endif 83 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement 84 %error "g_szBusTypeValues Displacement Incorrect 3" 85 %endif 86 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement 87 %error "g_szBusTypeValues Displacement Incorrect 4" 88 %endif 89 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement 90 %error "g_szBusTypeValues Displacement Incorrect 5" 91 %endif 92 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement 93 %error "g_szBusTypeValues Displacement Incorrect 6" 94 %endif 95 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement 96 %error "g_szBusTypeValues Displacement Incorrect 7" 97 %endif 98 %endif 99 100 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 101 102 g_szDashForZero: db "- ",NULL 103 104 ; Boot Menu menuitem strings 105 ; 106 ; The following strings are used by BootMenuPrint_* routines. 107 ; To support optimizations in that code, these strings must start on the same 256 byte page, 108 ; which is checked at assembly time below. 109 ; 110 g_szBootMenuPrintStart: 111 g_szDriveNum: db "%x %s",NULL 112 g_szDriveNumBOOTNFO: db "%x %z",NULL 113 g_szFloppyDrv: db "Floppy Drive %c",NULL 114 g_szBootMenuPrintEnd: 115 g_szForeignHD: db "Foreign Hard Disk",NULL 116 117 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 118 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 119 %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" 120 %endif 121 %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 63 135 64 136 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP … … 85 157 %endif 86 158 %endif 87 88 g_szBusTypeValues:89 g_szBusTypeValues_8Dual: db "D8 ",NULL90 g_szBusTypeValues_8Reversed: db "X8 ",NULL91 g_szBusTypeValues_8Single: db "S8 ",NULL92 g_szBusTypeValues_16: db " 16",NULL93 g_szBusTypeValues_32: db " 32",NULL94 g_szBusTypeValues_Serial: db "SER",NULL95 g_szBusTypeValues_8MemMapped: db "M8 ",NULL96 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)97 ;98 ; Ensure that bus type strings are correctly spaced in memory99 ;100 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS101 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues102 %error "g_szBusTypeValues Displacement Incorrect 1"103 %endif104 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement105 %error "g_szBusTypeValues Displacement Incorrect 2"106 %endif107 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement108 %error "g_szBusTypeValues Displacement Incorrect 3"109 %endif110 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement111 %error "g_szBusTypeValues Displacement Incorrect 4"112 %endif113 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement114 %error "g_szBusTypeValues Displacement Incorrect 5"115 %endif116 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement117 %error "g_szBusTypeValues Displacement Incorrect 6"118 %endif119 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement120 %error "g_szBusTypeValues Displacement Incorrect 7"121 %endif122 %endif123 124 ; Boot Menu menuitem strings125 ;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",NULL132 g_szDriveNumBOOTNFO: db "%x %z",NULL133 g_szFloppyDrv: db "Floppy Drive %c",NULL134 g_szBootMenuPrintEnd:135 g_szForeignHD: db "Foreign Hard Disk",NULL136 137 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS138 %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 %endif141 %endif142 143 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL144 145 g_szDashForZero: db "- ",NULL146 147 ; Boot menu bottom of screen strings148 g_szFDD: db "FDD ",NULL149 g_szHDD: db "HDD ",NULL150 g_szRomBoot: db "ROM Boot",NULL151 g_szHotkey: db "%A%c%c%A%s%A ",NULL152 153 ; Boot Menu information strings154 g_szCapacity: db "Capacity : %s",NULL155 g_szCapacityNum: db "%5-u.%u %ciB",NULL156 g_szInformation: db "%s",LF,CR157 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR158 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL159 159 160 160 ;------------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.