Ignore:
Timestamp:
Mar 14, 2012, 7:08:09 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Added some comments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm

    r324 r346  
    267267    and     BYTE [di+DPT.bFlagsLow], ~MASKL_DPT_ADDRESSING_MODE
    268268    test    bx, bx
    269     jnz     SHORT .SetLba48AddressingToDPT
    270     test    dh, 0F0h
     269    jnz     SHORT .SetLba48AddressingToDPT  ; Must be LBA48
     270
     271    ; Drives can report at most 0FFF FFFFh LBA28 sectors according to ATA specification.
     272    ; That is (2^28)-1 so we can simply check if DH is zero or not.
     273    test    dh, dh
    271274    jz      SHORT .SetLba28AddressingToDPT
    272275.SetLba48AddressingToDPT:
Note: See TracChangeset for help on using the changeset viewer.