1 | ; File name : Strings.asm
|
---|
2 | ; Project name : IDE BIOS
|
---|
3 | ; Created date : 4.12.2007
|
---|
4 | ; Last update : 9.4.2010
|
---|
5 | ; Author : Tomi Tilli
|
---|
6 | ; Description : Strings and equates for BIOS messages.
|
---|
7 |
|
---|
8 | ; Section containing code
|
---|
9 | SECTION .text
|
---|
10 |
|
---|
11 | ; POST drive detection strings
|
---|
12 | g_szRomAt: db "%s @ %x",CR,LF,STOP
|
---|
13 | g_szMaster: db "Master",STOP
|
---|
14 | g_szSlave: db "Slave ",STOP
|
---|
15 | g_szDetect: db "IDE %s at %x: ",STOP ; IDE Master at 1F0h:
|
---|
16 | g_szNotFound: db "not found",CR,LF,STOP
|
---|
17 |
|
---|
18 | ; Boot loader strings
|
---|
19 | g_szFloppyDrv: db "Floppy Drive",STOP
|
---|
20 | g_szHardDrv: db " Hard Drive ",STOP
|
---|
21 | g_szTryToBoot: db "Booting from %s %x",175,"%x ... ",STOP
|
---|
22 | g_szBootSector: db "Boot Sector",STOP
|
---|
23 | g_szFound: db "found",STOP
|
---|
24 | g_szSectRead: db "%s %s!",CR,LF,STOP
|
---|
25 | g_szReadError: db "Error %x!",CR,LF,STOP
|
---|
26 | g_sz18hCallback:db "Boot menu callback via INT 18h",STOP
|
---|
27 |
|
---|
28 | ; Boot menu bottom of screen strings
|
---|
29 | g_szFDD: db "FDD",STOP
|
---|
30 | g_szHDD: db "HDD",STOP
|
---|
31 | g_szBottomScrn: db "%c to %c boots from %s with %s mappings",CR,LF,STOP
|
---|
32 |
|
---|
33 | ; Boot Menu title strings
|
---|
34 | g_szTitleLn3: db "Copyright 2009-2010 by Tomi Tilli",STOP
|
---|
35 |
|
---|
36 | ; Boot Menu menuitem strings
|
---|
37 | g_szFDLetter: db "%s %c",STOP
|
---|
38 | g_szforeignHD: db "Foreign Hard Disk",STOP
|
---|
39 | g_szRomBoot: db "ROM Boot",STOP
|
---|
40 |
|
---|
41 | ; Boot Menu information strings
|
---|
42 | g_szCapacity: db "Capacity : ",STOP
|
---|
43 | g_szSizeSingle: db "%s%u.%u %ciB",STOP
|
---|
44 | g_szSizeDual: db "%s%u.%u %ciB / %u.%u %ciB",STOP
|
---|
45 | g_szCfgHeader: db "Addr.", T_V, "Block", T_V, "Bus", T_V, "IRQ", T_V, "Reset", STOP
|
---|
46 | g_szCfgFormat: db "%s" , T_V, "%5u", T_V, "%c%2u", T_V, " %c%c", T_V, "%5x", STOP
|
---|
47 | g_szLCHS: db "L-CHS",STOP
|
---|
48 | g_szPCHS: db "P-CHS",STOP
|
---|
49 | g_szLBA28: db "LBA28",STOP
|
---|
50 | g_szLBA48: db "LBA48",STOP
|
---|
51 | g_szFddUnknown: db "%sUnknown",STOP
|
---|
52 | g_szFddSizeOr: db "%s5",172,22h," or 3",171,22h," DD",STOP
|
---|
53 | g_szFddSize: db "%s%c%c",22h,", %u kiB",STOP ; 3½", 1440 kiB
|
---|