source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Src/Strings.asm@ 185

Last change on this file since 185 was 185, checked in by gregli@…, 13 years ago

Some basic cleanup and fixing build problems with the Configurator (missing strings)

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