Changeset 493 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Dec 21, 2012, 8:44:25 AM (12 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/Initialization/DetectDrives.asm

    r492 r493  
    162162;--------------------------------------------------------------------
    163163StartDetectionWithDriveSelectByteInBHandStringInCX:
    164 %ifdef MODULE_8BIT_IDE
     164%ifdef MODULE_8BIT_IDE_ADVANCED
    165165    ; Autodetect port for XT-CF
    166166    call    DetectDrives_DoesIdevarsInCSBPbelongToXTCF
     
    195195.SkipXTCFportDetection:
    196196    push    dx
    197 %endif ; MODULE_8BIT_IDE
     197%endif ; MODULE_8BIT_IDE_ADVANCED
    198198
    199199    call    DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP
     
    203203%endif             
    204204       
    205 %ifdef MODULE_8BIT_IDE
     205%ifdef MODULE_8BIT_IDE_ADVANCED
    206206    pop     dx
    207207%endif
     
    282282
    283283
    284 %ifdef MODULE_8BIT_IDE
     284%ifdef MODULE_8BIT_IDE_ADVANCED
    285285;--------------------------------------------------------------------
    286286; DetectDrives_DoesIdevarsInCSBPbelongToXTCF
     
    303303NoSlaveDriveAvailable:
    304304    ret
    305 %endif ; MODULE_8BIT_IDE
     305%endif ; MODULE_8BIT_IDE_ADVANCED
Note: See TracChangeset for help on using the changeset viewer.