[88] | 1 | ; Project name : XTIDE Universal BIOS
|
---|
[3] | 2 | ; Description : Strings and equates for BIOS messages.
|
---|
| 3 |
|
---|
[186] | 4 | %ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS
|
---|
| 5 | %include "Display.inc"
|
---|
| 6 | %endif
|
---|
| 7 |
|
---|
[3] | 8 | ; Section containing code
|
---|
| 9 | SECTION .text
|
---|
| 10 |
|
---|
| 11 | ; POST drive detection strings
|
---|
[127] | 12 | g_szRomAt: db "%s @ %x",LF,CR,NULL
|
---|
[88] | 13 | g_szMaster: db "Master",NULL
|
---|
| 14 | g_szSlave: db "Slave ",NULL
|
---|
| 15 | g_szDetect: db "IDE %s at %x: ",NULL ; IDE Master at 1F0h:
|
---|
[3] | 16 |
|
---|
[143] | 17 |
|
---|
[3] | 18 | ; Boot loader strings
|
---|
[143] | 19 | g_szTryToBoot: db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL
|
---|
| 20 | g_szBootSectorNotFound: db "Boot sector "
|
---|
| 21 | g_szNotFound: db "not found",LF,CR,NULL
|
---|
| 22 | g_szReadError: db "Error %x!",LF,CR,NULL
|
---|
[3] | 23 |
|
---|
| 24 | ; Boot menu bottom of screen strings
|
---|
[186] | 25 | g_szFDD: db "FDD ",NULL
|
---|
| 26 | g_szHDD: db "HDD ",NULL
|
---|
[92] | 27 | g_szRomBoot: db "ROM Boot",NULL
|
---|
[186] | 28 | g_szHotkey: db "%A%c%c%A%s%A ",NULL
|
---|
[3] | 29 |
|
---|
[92] | 30 |
|
---|
[3] | 31 | ; Boot Menu menuitem strings
|
---|
[135] | 32 | g_szDriveNum: db "%x ",NULL
|
---|
[88] | 33 | g_szFDLetter: db "%s %c",NULL
|
---|
[95] | 34 | g_szFloppyDrv: db "Floppy Drive",NULL
|
---|
[88] | 35 | g_szforeignHD: db "Foreign Hard Disk",NULL
|
---|
[3] | 36 |
|
---|
| 37 | ; Boot Menu information strings
|
---|
[88] | 38 | g_szCapacity: db "Capacity : ",NULL
|
---|
| 39 | g_szSizeSingle: db "%s%u.%u %ciB",NULL
|
---|
[186] | 40 | g_szSizeDual: db "%s%5-u.%u %ciB /%5-u.%u %ciB",LF,CR,NULL
|
---|
[127] | 41 | g_szCfgHeader: db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus", SINGLE_VERTICAL,"IRQ", SINGLE_VERTICAL,"Reset",LF,CR,NULL
|
---|
[184] | 42 | g_szCfgFormat: db "%s" ,SINGLE_VERTICAL,"%5-u", SINGLE_VERTICAL,"%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x", NULL
|
---|
[182] | 43 |
|
---|
| 44 | g_szAddressingModes:
|
---|
[88] | 45 | g_szLCHS: db "L-CHS",NULL
|
---|
| 46 | g_szPCHS: db "P-CHS",NULL
|
---|
| 47 | g_szLBA28: db "LBA28",NULL
|
---|
| 48 | g_szLBA48: db "LBA48",NULL
|
---|
[185] | 49 | g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)
|
---|
| 50 | ;
|
---|
| 51 | ; Ensure that addressing modes are correctly spaced in memory
|
---|
| 52 | ;
|
---|
| 53 | %if g_szLCHS <> g_szAddressingModes
|
---|
| 54 | %error "g_szAddressingModes Displacement Incorrect 1"
|
---|
| 55 | %endif
|
---|
| 56 | %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
|
---|
| 57 | %error "g_szAddressingModes Displacement Incorrect 2"
|
---|
| 58 | %endif
|
---|
| 59 | %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement
|
---|
| 60 | %error "g_szAddressingModes Displacement Incorrect 3"
|
---|
| 61 | %endif
|
---|
| 62 | %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement
|
---|
| 63 | %error "g_szAddressingModes Displacement Incorrect 4"
|
---|
| 64 | %endif
|
---|
[182] | 65 |
|
---|
[88] | 66 | g_szFddUnknown: db "%sUnknown",NULL
|
---|
[92] | 67 | g_szFddSizeOr: db "%s5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
|
---|
[182] | 68 | g_szFddSize: db "%s%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB
|
---|
| 69 |
|
---|
| 70 | g_szFddThreeHalf: db "3",ONE_HALF,NULL
|
---|
| 71 | g_szFddFiveQuarter: db "5",ONE_QUARTER,NULL
|
---|
[185] | 72 | g_szFddThreeFive_Displacement equ (g_szFddFiveQuarter - g_szFddThreeHalf)
|
---|
[182] | 73 |
|
---|
| 74 | g_szBusTypeValues:
|
---|
| 75 | g_szBusTypeValues_8Dual: db "D8 ",NULL
|
---|
| 76 | g_szBusTypeValues_8Reversed: db "X8 ",NULL
|
---|
| 77 | g_szBusTypeValues_8Single: db "S8 ",NULL
|
---|
| 78 | g_szBusTypeValues_16: db " 16",NULL
|
---|
| 79 | g_szBusTypeValues_32: db " 32",NULL
|
---|
| 80 | g_szBusTypeValues_Serial: db "SER",NULL
|
---|
[185] | 81 | g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)
|
---|
| 82 | ;
|
---|
| 83 | ; Ensure that bus type strings are correctly spaced in memory
|
---|
| 84 | ;
|
---|
| 85 | %if g_szBusTypeValues_8Dual <> g_szBusTypeValues
|
---|
| 86 | %error "g_szBusTypeValues Displacement Incorrect 1"
|
---|
| 87 | %endif
|
---|
| 88 | %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement
|
---|
| 89 | %error "g_szBusTypeValues Displacement Incorrect 2"
|
---|
| 90 | %endif
|
---|
| 91 | %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
|
---|
| 92 | %error "g_szBusTypeValues Displacement Incorrect 3"
|
---|
| 93 | %endif
|
---|
| 94 | %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement
|
---|
| 95 | %error "g_szBusTypeValues Displacement Incorrect 4"
|
---|
| 96 | %endif
|
---|
| 97 | %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
|
---|
| 98 | %error "g_szBusTypeValues Displacement Incorrect 5"
|
---|
| 99 | %endif
|
---|
| 100 | %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
|
---|
| 101 | %error "g_szBusTypeValues Displacement Incorrect 6"
|
---|
| 102 | %endif
|
---|
[182] | 103 |
|
---|
[186] | 104 | g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
|
---|
[182] | 105 |
|
---|
[184] | 106 | g_szDashForZero: db "- ",NULL
|
---|