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


Ignore:
Timestamp:
May 2, 2015, 8:33:19 PM (10 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Added support for Promise PDC 20230-C and 20630 VLB IDE controllers (untested).
Location:
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm

    r582 r587  
    4040    call    Vision_DoesIdePortInBXbelongToControllerWithIDinAX
    4141    jne     SHORT .NoAdvancedControllerForPortBX
     42    call    PDC20x30_DetectControllerForIdeBaseInBX
     43    jnc     SHORT .NoAdvancedControllerForPortBX
    4244
    4345    stc     ; Advanced Controller found for port BX
     
    6264;       Nothing
    6365;--------------------------------------------------------------------
    64 AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX    equ Vision_GetMaxPioModeToALandMinCycleTimeToBX
     66AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX:
     67    cmp     ah, ID_QD6580_ALTERNATE
     68    jae     SHORT .Vision
     69    jmp     PDC20x30_GetMaxPioModeToALandMinPioCycleTimeToBX
     70.Vision:
     71    jmp     Vision_GetMaxPioModeToALandMinCycleTimeToBX
    6572
    6673
     
    8188    test    ax, ax
    8289    jz      SHORT .NoAdvancedController ; Return with CF cleared
     90   
     91    cmp     ah, ID_QD6580_ALTERNATE
     92    jae     SHORT .Vision
     93    jmp     PDC20x30_InitializeForDPTinDSDI
    8394
     95.Vision:
    8496    push    bp
    8597    push    si
    8698
    87     ; We only support Vision at the moment so no need to identify ID
    8899    call    AdvAtaInit_LoadMasterDPTtoDSSIifSlaveInDSDI
    89100    call    Vision_InitializeWithIDinAHandConfigInAL
Note: See TracChangeset for help on using the changeset viewer.