Changeset 421 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.asm


Ignore:
Timestamp:
May 9, 2012, 7:12:53 PM (10 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Addressing modes are now NORMAL, LARGE and LBA.
  • L-CHS parameters are now generated differently for drives with 8192 or less cylinders.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Strings.asm

    r417 r421  
    9797
    9898g_szAddressingModes:
    99 g_szLCHS:       db  "L-CHS",NULL
    100 g_szPCHS:       db  "P-CHS",NULL
    101 g_szLBA28:      db  "LBA28",NULL
    102 g_szLBA48:      db  "LBA48",NULL
    103 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)
     99g_szNORMAL:     db  "NORMAL",NULL
     100g_szLARGE:      db  "LARGE ",NULL
     101g_szLBA:        db  "LBA   ",NULL
     102wantToRemoveThis:   db  "4",NULL    ; String compression want '4' somewhere
     103g_szAddressingModes_Displacement equ (g_szLARGE - g_szAddressingModes)
    104104;
    105105; Ensure that addressing modes are correctly spaced in memory
    106106;
    107107%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    108     %if g_szLCHS <> g_szAddressingModes
     108    %if g_szNORMAL <> g_szAddressingModes
    109109        %error "g_szAddressingModes Displacement Incorrect 1"
    110110    %endif
    111     %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
     111    %if g_szLARGE <> g_szNORMAL + g_szAddressingModes_Displacement
    112112        %error "g_szAddressingModes Displacement Incorrect 2"
    113113    %endif
    114     %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement
     114    %if g_szLBA <> g_szLARGE + g_szAddressingModes_Displacement
    115115        %error "g_szAddressingModes Displacement Incorrect 3"
    116     %endif
    117     %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement
    118         %error "g_szAddressingModes Displacement Incorrect 4"
    119116    %endif
    120117%endif
     
    166163g_szCapacityNum:        db  "%5-u.%u %ciB",NULL
    167164g_szInformation:        db  "%s",LF,CR
    168     db  "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL,  "IRQ",SINGLE_VERTICAL,"Reset",LF,CR
     165    db  "Addr. ",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL,  "IRQ",SINGLE_VERTICAL,"Reset",LF,CR
    169166    db     "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL
    170167
     
    211208;$translate{ord('2')} = 12;
    212209;$translate{ord('3')} = 13;
    213 ;$translate{ord('4')} = 14;
     210;$translate{ord('4')} = 14; ; Not used at the moment
    214211;$translate{ord('5')} = 15;
    215212;$translate{ord('6')} = 16;
Note: See TracChangeset for help on using the changeset viewer.