Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm
r526 r592 43 43 call ResetIdevarsToDefaultValues 44 44 call DetectIdePortsAndDevices 45 call EnableInterruptsFor PrimaryAndSecondaryControllers45 call EnableInterruptsForAllStandardControllers 46 46 call StoreAndDisplayNumberOfControllers 47 47 … … 55 55 ; Parameters: 56 56 ; DS:DI: Ptr to ROMVARS 57 ; ES:DI: Ptr to ROMVARS 57 58 ; Returns: 58 59 ; Nothing … … 123 124 124 125 ;-------------------------------------------------------------------- 125 ; EnableInterruptsFor PrimaryAndSecondaryControllers126 ; EnableInterruptsForAllStandardControllers 126 127 ; Parameters: 127 128 ; DS:DI: Ptr to ROMVARS … … 130 131 ; Nothing 131 132 ; Corrupts registers: 132 ; AX , ES133 ;-------------------------------------------------------------------- 134 ALIGN JUMP_ALIGN 135 EnableInterruptsFor PrimaryAndSecondaryControllers:133 ; AX 134 ;-------------------------------------------------------------------- 135 ALIGN JUMP_ALIGN 136 EnableInterruptsForAllStandardControllers: 136 137 jcxz .NoControllersDetected 137 138 call Buffers_IsXTbuildLoaded … … 148 149 inc ax ; 15 149 150 cmp WORD [di+IDEVARS.wBasePort], DEVICE_ATA_SECONDARY_PORT 151 152 %if 0 153 je SHORT .EnableIrqAL 154 155 ; Defaults on the GSI Inc. Model 2C EIDE controller 156 mov al, 11 157 cmp WORD [di+IDEVARS.wBasePort], DEVICE_ATA_TERTIARY_PORT 158 je SHORT .EnableIrqAL 159 160 dec ax ; 10 161 cmp WORD [di+IDEVARS.wBasePort], DEVICE_ATA_QUATERNARY_PORT 162 %endif 163 150 164 jne SHORT .DoNotEnableIRQ 151 165 … … 153 167 mov [di+IDEVARS.bIRQ], al 154 168 .DoNotEnableIRQ: 169 add di, IDEVARS_size 155 170 loop .CheckNextController 156 171 pop cx
Note:
See TracChangeset
for help on using the changeset viewer.