Changeset 547 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools
- Timestamp:
- Apr 21, 2013, 3:47:11 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
r526 r547 45 45 46 46 ; Make sure that sector count is valid 47 mov al, [es:si+DAP.wSectorCount] 48 test al, al 49 jz SHORT ZeroSectorsRequestedSoNoErrors 50 js SHORT InvalidNumberOfSectorsRequested 51 52 %if 0 ; Slow version in the unlikely case that high byte needs to be checked. 47 53 mov ax, [es:si+DAP.wSectorCount] 48 54 test ax, ax … … 50 56 cmp ax, BYTE 127 51 57 ja SHORT InvalidNumberOfSectorsRequested 58 %endif 52 59 53 60 ; Get EBIOS command index to BX … … 55 62 call Prepare_GetOldInt13hCommandIndexToBX 56 63 mov al, [di+DPT.bFlagsLow] 57 eSHL_IMal, 1 ; Set CF if LBA48 supported64 shl al, 1 ; Set CF if LBA48 supported 58 65 adc bl, bh ; LBA48 EXT commands 59 66 ret
Note:
See TracChangeset
for help on using the changeset viewer.