Changeset 32 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm


Ignore:
Timestamp:
Aug 6, 2010, 7:11:04 AM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Correct number of drives is now returned from AH=08h even when it is redirected to foreign BIOS.

File:
1 edited

Legend:

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

    r28 r32  
    110110    cli                                 ; Disable interrupts as INT would
    111111    retf
     112
     113
     114;--------------------------------------------------------------------
     115; Int13h_CallPreviousInt13hHandler
     116;   Parameters:
     117;       AH:     Bios function
     118;       DS:     RAMVARS segment
     119;       Other:  Depends on function to call
     120;   Returns:
     121;       Depends on function to call
     122;   Corrupts registers:
     123;       FLAGS
     124;--------------------------------------------------------------------
     125ALIGN JUMP_ALIGN
     126Int13h_CallPreviousInt13hHandler:
     127    pushf                               ; Push flags to simulate INT
     128    cli                                 ; Disable interrupts since INT does that
     129    call    FAR [RAMVARS.fpOldI13h]
     130    sti
     131    ret
    112132
    113133
Note: See TracChangeset for help on using the changeset viewer.