Changeset 158 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH3h_HWrite.asm
- Timestamp:
- May 2, 2011, 9:41:51 AM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH3h_HWrite.asm
r155 r158 27 27 ALIGN JUMP_ALIGN 28 28 AH3h_HandlerForWriteDiskSectors: 29 call AH2h_ExitInt13hIfSectorCountInIntpackIsZero 29 cmp BYTE [bp+IDEPACK.intpack+INTPACK.al], 0 30 je SHORT AH2h_ExitInt13hSinceSectorCountInIntpackIsZero 31 30 32 mov ah, COMMAND_WRITE_SECTORS ; Load sector mode command 31 test WORD [di+DPT.wFlags], FLG_DPT_BLOCK_MODE_SUPPORTED33 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED 32 34 eCMOVNZ ah, COMMAND_WRITE_MULTIPLE ; Load block mode command 33 35 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRQ)
Note:
See TracChangeset
for help on using the changeset viewer.