Changeset 185 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Nov 15, 2011, 5:52:06 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r184 r185 59 59 add ax,g_szAddressingModes 60 60 push ax 61 ;62 ; Ensure that addressing modes are correctly spaced in memory63 ;64 %if g_szLCHS <> g_szAddressingModes65 %error "g_szAddressingModes Displacement Incorrect 1"66 %endif67 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement68 %error "g_szAddressingModes Displacement Incorrect 2"69 %endif70 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement71 %error "g_szAddressingModes Displacement Incorrect 3"72 %endif73 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement74 %error "g_szAddressingModes Displacement Incorrect 4"75 %endif76 61 77 62 ;-------------------------------------------------------------------- … … 109 94 add ax,g_szBusTypeValues 110 95 push ax 111 112 ;113 ; Ensure that bus type strings are correctly spaced in memory114 ;115 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues116 %error "g_szBusTypeValues Displacement Incorrect 1"117 %endif118 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement119 %error "g_szBusTypeValues Displacement Incorrect 2"120 %endif121 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement122 %error "g_szBusTypeValues Displacement Incorrect 3"123 %endif124 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement125 %error "g_szBusTypeValues Displacement Incorrect 4"126 %endif127 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement128 %error "g_szBusTypeValues Displacement Incorrect 5"129 %endif130 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement131 %error "g_szBusTypeValues Displacement Incorrect 6"132 %endif133 96 134 97 ;-------------------------------------------------------------------- -
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r184 r185 43 43 g_szLBA28: db "LBA28",NULL 44 44 g_szLBA48: db "LBA48",NULL 45 g_szAddressingModes_Displacement equ 6 45 g_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 46 61 47 62 g_szFddUnknown: db "%sUnknown",NULL … … 51 66 g_szFddThreeHalf: db "3",ONE_HALF,NULL 52 67 g_szFddFiveQuarter: db "5",ONE_QUARTER,NULL 53 g_szFddThreeFive_Displacement equ 368 g_szFddThreeFive_Displacement equ (g_szFddFiveQuarter - g_szFddThreeHalf) 54 69 55 70 g_szBusTypeValues: … … 60 75 g_szBusTypeValues_32: db " 32",NULL 61 76 g_szBusTypeValues_Serial: db "SER",NULL 62 g_szBusTypeValues_Displacement equ 4 77 g_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 63 99 64 100 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
Note:
See TracChangeset
for help on using the changeset viewer.