Changeset 28 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/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.
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

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

    r3 r28  
    22; Project name  :   IDE BIOS
    33; Created date  :   23.3.2010
    4 ; Last update   :   23.3.2010
     4; Last update   :   29.7.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Equates used in INT 13h functions.
     
    4444B_TIMEOUT_BSY           EQU     (1000/55)   ; 1000 ms
    4545B_TIMEOUT_RDY           EQU     (1000/55)   ; 1000 ms
    46 B_TIMEOUT_DRQ           EQU     (5000/55)   ; 5000 ms
     46B_TIMEOUT_DRQ           EQU     255         ;   14 s (some CF cards occasionally have long write delays)
    4747B_TIMEOUT_DRVINFO       EQU     (500/55)    ;  500 ms
    4848B_TIMEOUT_RESET         EQU     255         ;   14 s
     49
    4950
    5051
  • 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.