Changeset 346 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Mar 14, 2012, 7:08:09 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
r324 r346 267 267 and BYTE [di+DPT.bFlagsLow], ~MASKL_DPT_ADDRESSING_MODE 268 268 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 271 274 jz SHORT .SetLba28AddressingToDPT 272 275 .SetLba48AddressingToDPT:
Note:
See TracChangeset
for help on using the changeset viewer.