Changeset 435 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h


Ignore:
Timestamp:
Jun 19, 2012, 6:30:04 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Even quicker optimization to previous fix.
File:
1 edited

Legend:

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

    r434 r435  
    102102    ; We only need to reset drives from the previous INT 13h handler.
    103103    ; There could be more in chain but let the previous one handle them.
    104     mov     dl, 80h
    105     cmp     [RAMVARS.bFirstDrv], dl
    106     je      SHORT NoForeignDrivesToReset
    107 
    108     cmp     bl, [RAMVARS.bFirstDrv]
    109     eCMOVB  dl, bl                  ; DL when entering AH=00h
     104    mov     dl, [RAMVARS.bFirstDrv]
     105    or      dl, 80h                 ; We may not have our drives at all!
     106    MIN_U   dl, bl                  ; BL is always Hard Drive number
    110107
    111108    xor     ah, ah                  ; Disk Controller Reset
Note: See TracChangeset for help on using the changeset viewer.