Changeset 28 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/emulate.inc


Ignore:
Timestamp:
Aug 1, 2010, 5:57:24 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:
  • v1.1.1 broke booting from foreign drives, it is now fixed.
  • Improved error handling a bit.
  • Longer DRQ and IRQ timeouts to minimize write timouts with some (bad) CF cards.
  • Default boot menu drive should now be properly selected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/emulate.inc

    r3 r28  
    152152%ifndef USE_386
    153153    %ifidni %1, ax
    154         xor     ax, ax
    155154        mov     al, %2
     155        xor     ah, ah
    156156    %elifidni %1, bx
    157157        mov     bl, %2
    158158        xor     bh, bh      ; %2 may use BX in effective address
    159159    %elifidni %1, cx
    160         xor     cx, cx
    161160        mov     cl, %2
     161        xor     ch, ch
    162162    %elifidni %1, dx
    163         xor     dx, dx
    164163        mov     dl, %2
     164        xor     dh, dh
    165165    %else   ; SI, DI, BP (all may be used in effective address)
    166166        push    ax
    167         xor     ax, ax
    168167        mov     al, %2
     168        xor     ah, ah
    169169        xchg    ax, %1
    170170        pop     ax
Note: See TracChangeset for help on using the changeset viewer.