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


Ignore:
Timestamp:
May 1, 2011, 6:44:29 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • AH=4h again uses VERIFY command (copy-pasting had changed it to WRITE).
  • Timeout should now work on all overflow situations.
  • Cleaned code a bit.
File:
1 edited

Legend:

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

    r150 r155  
    2323    sti                                 ; Enable interrupts
    2424    cld                                 ; String instructions to increment pointers
    25     SAVE_AND_GET_INTPACK_WITH_EXTRA_WORDS_TO_SSBP EXTRA_WORDS_TO_RESERVE_FOR_INTPACK
     25    CREATE_FRAME_INTPACK_TO_SSBP    EXTRA_BYTES_FOR_INTPACK
    2626
    2727    call    RamVars_GetSegmentToDS
     
    3333
    3434    ; Jump to correct BIOS function
    35 JumpToBiosFunctionInAH:
    3635    cmp     ah, 25h                     ; Valid BIOS function?
    3736    ja      SHORT Int13h_UnsupportedFunction
     
    109108    or      WORD [bp+IDEPACK.intpack+INTPACK.flags], FLG_FLAGS_IF   ; Return with interrupts enabled
    110109    mov     sp, bp                                  ; Now we can exit anytime
    111     RESTORE_INTPACK_WITH_EXTRA_WORDS_FROM_SSBP EXTRA_WORDS_TO_RESERVE_FOR_INTPACK
     110    RESTORE_FRAME_INTPACK_FROM_SSBP     EXTRA_BYTES_FOR_INTPACK
    112111
    113112
Note: See TracChangeset for help on using the changeset viewer.