Changeset 443 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
Aug 25, 2012, 2:48:40 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Offset to ATA-ID buffer will no longer get corrupted when trying to enable 8-bit mode for XT-CF.
  • Optimized A0<->A3 swapping a bit.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
2 edited

Legend:

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

    r421 r443  
    9090    sti                                 ; Enable interrupts
    9191    cld                                 ; String instructions to increment pointers
    92     CREATE_FRAME_INTPACK_TO_SSBP    EXTRA_BYTES_FOR_INTPACK
     92    CREATE_FRAME_INTPACK_TO_SSBP    SIZE_OF_IDEPACK_WITHOUT_INTPACK
    9393    call    RamVars_GetSegmentToDS
    9494
     
    264264    or      BYTE [bp+IDEPACK.intpack+INTPACK.flags+1], (FLG_FLAGS_IF>>8)
    265265    mov     sp, bp  ; This makes possible to exit anytime, no matter what is on stack
    266     RESTORE_FRAME_INTPACK_FROM_SSBP     EXTRA_BYTES_FOR_INTPACK
     266    RESTORE_FRAME_INTPACK_FROM_SSBP     SIZE_OF_IDEPACK_WITHOUT_INTPACK
    267267
    268268
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm

    r439 r443  
    262262;   Parameters:
    263263;       DS:DI:  Ptr to DPT
     264;       SS:BP:  Ptr to IDEPACK
    264265;   Returns:
    265266;       AH:     Int 13h return status
Note: See TracChangeset for help on using the changeset viewer.