Changeset 421 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
- Timestamp:
- May 9, 2012, 7:12:53 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
r413 r421 53 53 ; Get EBIOS command index to BX 54 54 ; LBA28 or LBA48 command 55 cwd56 mov al, [es:si+DAP.qwLBA+3] ; Load LBA48 byte 3 (bits 24...31)57 and al, 0F0h ; Clear LBA28 bits 24...2758 or ax, [es:si+DAP.qwLBA+4] ; Set bits from LBA bytes 4 and 559 cmp dx, ax ; Set CF if any of bits 28...47 set60 rcl dx, 1 ; DX = 0 for LBA28, DX = 1 for LBA4861 55 call Prepare_GetOldInt13hCommandIndexToBX 62 or bx, dx ; Set block mode / single sector bit 56 mov al, [di+DPT.bFlagsLow] 57 shl al, 1 ; Set CF if LBA48 supported 58 adc bl, bh ; LBA48 EXT commands 63 59 ret 64 %endif 60 %endif ; MODULE_EBIOS 65 61 66 62 … … 116 112 ; Nothing 117 113 ;-------------------------------------------------------------------- 118 ALIGN JUMP_ALIGN119 114 Prepare_ByValidatingSectorsInALforOldInt13h: 120 115 test al, al
Note:
See TracChangeset
for help on using the changeset viewer.