Changeset 227 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Jan 29, 2012, 1:33:44 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • EBIOS functions now work in lite mode.
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r226 r227  
    1212    .bFlagsHigh                 resb    1
    1313    .bIdevarsOffset             resb    1   ; Offset to IDEVARS for this drive
    14                                 resb    1   ; alignment byte
    1514
    1615    ; IDE Drive related
    17     .dwCylinders                resb    4   ; Number of Cylinders
    18     .wHeadsAndSectors:
    19     .bHeads                     resb    1   ; Number of Heads (1...255)
    20     .bSectors                   resb    1   ; Number of Sectors per Track (1...63)
     16    ; .twLbaSectors is used for LBA addressing only.
     17    ; .wPchsCylinders and .bPchsSectors are used for CHS addressing only.
     18    .bLbaHeads:                             ; Number of LBA assisted heads (1...255)
     19    .twLbaSectors               resb    2   ; 48-bit sector count for LBA addressing
     20    .wPchsCylinders             resb    2   ; Number of P-CHS Cylinders (1...16383)
     21    .wPchsHeadsAndSectors:
     22    .bPchsHeads                 resb    1   ; Number of P-CHS heads (1...16)
     23    .bPchsSectors               resb    1   ; Number of P-CHS Sectors per Track (1...63)
    2124endstruc
    2225
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r203 r227  
    8383struc DRVPARAMS
    8484    .wFlags         resb    2   ; Drive flags
     85    .dwMaximumLBA:              ; User specified maximum number of sectors
    8586    .wCylinders     resb    2   ; User specified cylinders (1...16383)
    8687    .wHeadsAndSectors:
     
    9293FLG_DRVPARAMS_USERCHS   EQU (1<<0)  ; User specified P-CHS values
    9394FLG_DRVPARAMS_BLOCKMODE EQU (1<<1)  ; Enable Block mode transfers
     95FLG_DRVPARAMS_USERLBA   EQU (1<<2)  ; User specified LBA values
    9496
    9597
Note: See TracChangeset for help on using the changeset viewer.