Changeset 564 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS
- Timestamp:
- Jul 30, 2013, 2:06:45 PM (11 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm
r526 r564 119 119 ; Use highest common PIO mode from controller and drive. 120 120 ; Many VLB controllers support PIO modes up to 2. 121 call AdvAtaInit_GetControllerMaxPioModeToAL 121 call AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX 122 122 jnc SHORT .ChangeTo32bitDevice 123 123 124 and BYTE [di+DPT.bFlagsHigh], ~FLGH_DPT_IORDY ; No IORDY supported if need to limit 124 125 MIN_U [di+DPT_ADVANCED_ATA.bPioMode], al 126 mov [di+DPT_ADVANCED_ATA.wMinPioCycleTime], bx 125 127 126 128 ; We have detected 32-bit controller so change Device Type since -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm
r526 r564 50 50 51 51 ;-------------------------------------------------------------------- 52 ; AdvAtaInit_GetControllerMaxPioModeToAL 52 ; AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX 53 53 ; Parameters: 54 54 ; AX: ID WORD specific for detected controller … … 56 56 ; AL: Max supported PIO mode 57 57 ; AH: FLGH_DPT_IORDY if IORDY supported, zero otherwise 58 ; BX: Min PIO cycle time (only if CF set) 58 59 ; CF: Set if PIO limit necessary 59 60 ; Cleared if no need to limit timings … … 61 62 ; (AX if CF cleared) 62 63 ;-------------------------------------------------------------------- 63 AdvAtaInit_GetControllerMaxPioModeToAL equ Vision_GetMaxPioModeToAL64 AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX equ Vision_GetMaxPioModeToALandMinCycleTimeToBX 64 65 65 66 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm
r542 r564 124 124 125 125 ;-------------------------------------------------------------------- 126 ; Vision_GetMaxPioModeToAL 126 ; Vision_GetMaxPioModeToALandMinCycleTimeToBX 127 127 ; Parameters: 128 128 ; AL: QD65xx Config Register contents … … 131 131 ; AL: Max supported PIO mode 132 132 ; AH: FLGH_DPT_IORDY if IORDY supported, zero otherwise 133 ; BX: Min PIO Cycle Time (only if CF set) 133 134 ; CF: Set if PIO limit necessary 134 135 ; Cleared if no need to limit timings … … 138 139 ; Nothing 139 140 ;-------------------------------------------------------------------- 140 Vision_GetMaxPioModeToAL :141 Vision_GetMaxPioModeToALandMinCycleTimeToBX: 141 142 cmp ah, ID_QD6500 << 4 142 143 clc … … 144 145 145 146 mov ax, 2 ; Limit to PIO 2 because QD6500 does not support IORDY 147 mov bx, PIO_2_MIN_CYCLE_TIME_NS 146 148 stc 147 149 .NoNeedToLimitForQD6580:
Note:
See TracChangeset
for help on using the changeset viewer.