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

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

General code size optimizations, preparing for string compression, consolidating all strings into strings.asm. Note that some changes resulted in slightly larger size now uncompressed, but will be net win when compressed.

File size: 2.3 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," %c%c",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 6
46       
47g_szFddUnknown: db  "%sUnknown",NULL
48g_szFddSizeOr:  db  "%s5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
49g_szFddSize:    db  "%s%s",QUOTATION_MARK,", %u kiB",NULL   ; 3½", 1440 kiB
50
51g_szFddThreeHalf:       db  "3",ONE_HALF,NULL
52g_szFddFiveQuarter:     db  "5",ONE_QUARTER,NULL       
53g_szFddThreeFive_Displacement equ 3
54
55g_szBusTypeValues:     
56g_szBusTypeValues_8Dual:        db      "D8 ",NULL
57g_szBusTypeValues_8Reversed:    db      "X8 ",NULL
58g_szBusTypeValues_8Single:      db      "S8 ",NULL
59g_szBusTypeValues_16:           db      " 16",NULL
60g_szBusTypeValues_32:           db      " 32",NULL
61g_szBusTypeValues_Serial:       db      "SER",NULL
62g_szBusTypeValues_Displacement equ 4
63       
64g_szSelectionTimeout:   db      DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
65
Note: See TracBrowser for help on using the repository browser.