Changeset 443 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm


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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm

    r421 r443  
    3232Idepack_FakeToSSBP:
    3333    pop     ax
    34     sub     sp, BYTE EXTRA_BYTES_FOR_INTPACK
     34    sub     sp, BYTE SIZE_OF_IDEPACK_WITHOUT_INTPACK
    3535    mov     bp, sp
    3636    jmp     ax
     
    161161
    162162    ; Device Control byte with interrupts disabled
    163     call    AccessDPT_GetDeviceControlByteToAL
    164     or      al, FLG_DEVCONTROL_nIEN     ; Disable interrupt
    165     mov     [bp+IDEPACK.bDeviceControl], al
     163    mov     BYTE [bp+IDEPACK.bDeviceControl], FLG_DEVCONTROL_nIEN
    166164
    167165    jmp     Device_OutputCommandWithParameters
Note: See TracChangeset for help on using the changeset viewer.