Changeset 587 in xtideuniversalbios


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
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/Controllers/Vision.inc

    r566 r587  
    6464MASK_QDCONFIG_CONTROLLER_ID             EQU 0F0h    ; QDI Vision Controller Identification nibble
    6565
    66 ; QDI Vision Controller Identification nibbles
    67 ID_QD6500                               EQU 1100b
    68 ID_QD6580                               EQU 1010b
    69 ID_QD6580_ALTERNATE                     EQU 0101b
    70 
    7166
    7267; Bit definitions for QD6580 Control Register
  • trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc

    r567 r587  
    4747
    4848%ifdef MODULE_ADVANCED_ATA
     49    %include "AdvancedID.inc"
     50    %include "PDC20x30.inc"         ; For Promise PDC 20230-C and 20630 controllers
    4951    %include "Vision.inc"           ; For QDI Vision QD65xx VLB IDE Controllers
    5052%endif
  • 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
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r584 r587  
    234234    %include "AdvAtaInit.asm"       ; For initializing VLB and PCI controllers
    235235    %include "Vision.asm"           ; QDI Vision QD6500 and QD6580 support
     236    %include "PDC20x30.asm"         ; Promise PDC 20230-C and 20630 support
    236237%endif
    237238    %include "IdeCommand.asm"
Note: See TracChangeset for help on using the changeset viewer.