Ignore:
Timestamp:
Jul 30, 2013, 2:06:45 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • If Advanced controller needs to limit PIO mode (Vision QD6500), cycle time is now limited as well => QD6500 now works with fast drives.
Location:
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta
Files:
2 edited

Legend:

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

    r526 r564  
    5050
    5151;--------------------------------------------------------------------
    52 ; AdvAtaInit_GetControllerMaxPioModeToAL
     52; AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX
    5353;   Parameters:
    5454;       AX:     ID WORD specific for detected controller
     
    5656;       AL:     Max supported PIO mode
    5757;       AH:     FLGH_DPT_IORDY if IORDY supported, zero otherwise
     58;       BX:     Min PIO cycle time (only if CF set)
    5859;       CF:     Set if PIO limit necessary
    5960;               Cleared if no need to limit timings
     
    6162;       (AX if CF cleared)
    6263;--------------------------------------------------------------------
    63 AdvAtaInit_GetControllerMaxPioModeToAL  equ Vision_GetMaxPioModeToAL
     64AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX    equ Vision_GetMaxPioModeToALandMinCycleTimeToBX
    6465
    6566
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm

    r542 r564  
    124124
    125125;--------------------------------------------------------------------
    126 ; Vision_GetMaxPioModeToAL
     126; Vision_GetMaxPioModeToALandMinCycleTimeToBX
    127127;   Parameters:
    128128;       AL:     QD65xx Config Register contents
     
    131131;       AL:     Max supported PIO mode
    132132;       AH:     FLGH_DPT_IORDY if IORDY supported, zero otherwise
     133;       BX:     Min PIO Cycle Time (only if CF set)
    133134;       CF:     Set if PIO limit necessary
    134135;               Cleared if no need to limit timings
     
    138139;       Nothing
    139140;--------------------------------------------------------------------
    140 Vision_GetMaxPioModeToAL:
     141Vision_GetMaxPioModeToALandMinCycleTimeToBX:
    141142    cmp     ah, ID_QD6500 << 4
    142143    clc
     
    144145
    145146    mov     ax, 2   ; Limit to PIO 2 because QD6500 does not support IORDY
     147    mov     bx, PIO_2_MIN_CYCLE_TIME_NS
    146148    stc
    147149.NoNeedToLimitForQD6580:
Note: See TracChangeset for help on using the changeset viewer.