Ignore:
Timestamp:
May 8, 2011, 8:02:52 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Minor size optimizations.
  • Tried to minimize the time spent with interrupts disabled in IdeIrq.asm and Int13h.asm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm

    r158 r161  
    223223ALIGN JUMP_ALIGN
    224224DualByteReadForXtide:
     225%ifdef USE_186
     226    shr     cx, 2       ; Smaller but slower on 186/286
     227%else
    225228    times 2 shr cx, 1   ; Loop unrolling
     229%endif
    226230    mov     bx, 8       ; Bit mask for toggling data low/high reg
    227231ALIGN JUMP_ALIGN
     
    311315    push    ds
    312316    push    bx
     317%ifdef USE_186
     318    shr     cx, 2       ; Smaller but slower on 186/286
     319%else
    313320    times 2 shr cx, 1   ; Loop unrolling
     321%endif
    314322    mov     bx, 8       ; Bit mask for toggling data low/high reg
    315323    push    es          ; Copy ES...
     
    357365WordWriteForXTIDEmod:
    358366    push    ds
     367%ifdef USE_186
     368    shr     cx, 2       ; Smaller but slower on 186/286
     369%else
    359370    times 2 shr cx, 1   ; Loop unrolling
     371%endif
    360372    push    es          ; Copy ES...
    361373    pop     ds          ; ...to DS
Note: See TracChangeset for help on using the changeset viewer.