Ignore:
Timestamp:
Dec 21, 2012, 8:44:25 AM (11 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Separated MODULE_8BIT_IDE into the basic part used by XTIDE rev 1 and rev 2 which is PIO based, and MODULE_8BIT_IDE_ADVANCED for JRIDE and XTCF support which requires memory mapping and/or DMA. This allows for creating an 8KB image with boot menu support (but no hotkeys) for the XTIDE rev 1. Cleaned up how we reset the drive translation information, ensuring it is properly set between boot attempt on a primary and secondary drive - as a result we clean it when needed, rather than trying to always keep it clean. Also fixed translation bugs in int13h.asm where I had previously missed converting some MODULE_HOTKEYS into MODULE_DRIVEXLATE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm

    r473 r493  
    245245    mov     [di+DPT.bIdevarsOffset], bp     ; IDEVARS must start in first 256 bytes of ROM
    246246
    247 %ifdef MODULE_8BIT_IDE
     247%ifdef MODULE_8BIT_IDE_ADVANCED
    248248    call    DetectDrives_DoesIdevarsInCSBPbelongToXTCF
    249249    jne     SHORT .DeviceUsesPortSpecifiedInIDEVARS
     
    251251    ret
    252252.DeviceUsesPortSpecifiedInIDEVARS:
    253 %endif ; MODULE_8BIT_IDE
     253%endif ; MODULE_8BIT_IDE_ADVANCED
    254254
    255255    mov     ax, [cs:bp+IDEVARS.wBasePort]
Note: See TracChangeset for help on using the changeset viewer.