Changeset 421 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc


Ignore:
Timestamp:
May 9, 2012, 7:12:53 PM (12 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/Inc/BootVars.inc

    r413 r421  
    6666                            resb    2   ; Zero word (ensures string terminates)
    6767    .wInitErrorFlags        resb    2   ; Errors during initialization
    68    
    69 %ifdef MODULE_ADVANCED_ATA
    70                             resb    6   ; padding to make DRVDETECTINFO size an even multiple of DPT size
    71 %else
    72                             resb    2   ; padding to make DRVDETECTINFO size an even multiple of DPT size
    73 %endif             
     68
     69%if LARGEST_DPT_SIZE == 28
     70                            resb    22  ; padding to make DRVDETECTINFO size an even multiple of DPT size
     71%elif LARGEST_DPT_SIZE == 20
     72                            resb    6
     73%elif LARGEST_DPT_SIZE == 18
     74                            resb    2
     75%else   ; LARGEST_DPT_SIZE == 10
     76                            resb    6
     77%endif
    7478endstruc
    7579
Note: See TracChangeset for help on using the changeset viewer.