Ignore:
Timestamp:
Mar 19, 2011, 8:09:41 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • INT 13h optimizations to save almost 100 bytes.
File:
1 edited

Legend:

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

    r140 r148  
    2121ALIGN JUMP_ALIGN
    2222HStatus_WaitIrqOrRdy:
    23     call    HIRQ_WaitForIRQ
     23    call    HIRQ_WaitForIRQ         ; For OS hook (we still need error processing)
    2424    jnc     SHORT .PollRdySinceNoWaitingOnOsHook
    25     jmp     HError_ProcessErrorsAfterPollingBSY
     25    jmp     HError_GetErrorCodeToAHafterPolling
    2626
    2727ALIGN JUMP_ALIGN
     
    4848    call    HIRQ_WaitForIRQ
    4949    jnc     SHORT .PollDrqSinceNoWaitingOnOsHook
    50     jmp     HError_ProcessErrorsAfterPollingBSY
     50    jmp     HError_GetErrorCodeToAHafterPolling
    5151
    5252ALIGN JUMP_ALIGN
     
    185185.UpdateTimeout:
    186186    call    HTimer_SetCFifTimeout
    187     jnc     SHORT .PollLoop                         ; Loop if time left (sets CF on timeout)
    188     jmp     HError_ProcessTimeoutAfterPollingBSYandSomeOtherStatusBit
     187    jnc     SHORT .PollLoop                         ; Loop if time left
     188    jmp     HError_GetErrorCodeToAHforTimeoutWhenPolling
    189189
    190190;--------------------------------------------------------------------
     
    218218ALIGN JUMP_ALIGN
    219219GetErrorCodeFromPollingToAH:
    220     jmp     HError_ProcessErrorsAfterPollingBSY
     220    jmp     HError_GetErrorCodeToAHafterPolling
Note: See TracChangeset for help on using the changeset viewer.