Changeset 496 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src


Ignore:
Timestamp:
Dec 30, 2012, 6:32:58 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • XT-CF related code in IdeIO_OutputALtoIdeControlBlockRegisterInDL is now properly included when MODULE_8BIT_IDE_ADVANCED is not available.
  • Added Control Block Registers offsets to RomVars.inc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeIO.asm

    r493 r496  
    106106    cmp     bl, DEVICE_8BIT_XTIDE_REV2
    107107    jbe     SHORT .OutputALtoControlBlockRegisterInDX   ; Standard IDE controllers and XTIDE rev 1
    108        
     108
    109109%ifdef MODULE_8BIT_IDE_ADVANCED
    110110    cmp     bl, DEVICE_8BIT_JRIDE_ISA
     
    115115    mov     bx, JRIDE_CONTROL_BLOCK_REGISTER_WINDOW_OFFSET
    116116    jmp     SHORT IdeIO_OutputALtoIdeRegisterInDL.OutputALtoMemoryMappedRegisterInDXwithWindowOffsetInBX
     117%endif
    117118
    118119.ShlRegisterIndexInDX:
    119     add     dl, OFFSET_TO_CONTROL_BLOCK_REGISTERS
     120    add     dl, XTCF_CONTROL_BLOCK_OFFSET
    120121    eSHL_IM dx, 1
    121122    jmp     SHORT OutputALtoRegisterInDX
    122 %endif
    123123
    124124.OutputALtoControlBlockRegisterInDX:
Note: See TracChangeset for help on using the changeset viewer.