Ignore:
Timestamp:
May 2, 2011, 9:41:51 AM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Optimized few bytes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH3h_HWrite.asm

    r155 r158  
    2727ALIGN JUMP_ALIGN
    2828AH3h_HandlerForWriteDiskSectors:
    29     call    AH2h_ExitInt13hIfSectorCountInIntpackIsZero
     29    cmp     BYTE [bp+IDEPACK.intpack+INTPACK.al], 0
     30    je      SHORT AH2h_ExitInt13hSinceSectorCountInIntpackIsZero
     31
    3032    mov     ah, COMMAND_WRITE_SECTORS   ; Load sector mode command
    31     test    WORD [di+DPT.wFlags], FLG_DPT_BLOCK_MODE_SUPPORTED
     33    test    BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED
    3234    eCMOVNZ ah, COMMAND_WRITE_MULTIPLE  ; Load block mode command
    3335    mov     bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRQ)
Note: See TracChangeset for help on using the changeset viewer.