Changeset 193 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools
- Timestamp:
- Nov 17, 2011, 2:59:13 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm
r191 r193 86 86 Address_OldInt13hAddressToIdeAddress: 87 87 call Address_ExtractLCHSparametersFromOldInt13hAddress 88 call AccessDPT_GetAddressingModeToAXZF 88 89 CustomDPT_GetUnshiftedAddressModeToALZF 89 90 jz DoNotConvertLCHS ; 0, ADDR_DPT_LCHS 90 dec ax 91 92 ;; 93 ;; Since we are only checking for zero, we can do our math in the high order bits, 94 ;; in this case effectively subtracting 1 from the address mode. 95 ;; 96 sub al,(1<<ADDRESSING_MODE_FIELD_POSITION) 91 97 jz ConvertLCHStoPCHS ; 1, ADDR_DPT_PCHS 98 92 99 ;; Fall-through ; 2, ADDR_DPT_LBA28 and 3, ADDR_DPT_LBA48 93 100
Note:
See TracChangeset
for help on using the changeset viewer.