Changeset 398 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Apr 19, 2012, 3:08:06 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm
r392 r398 91 91 ; QD6580 always have Primary IDE at 1F0h 92 92 ; Secondary IDE at 170h can be enabled or disabled 93 cmp bx, DEVICE_ATA_ DEFAULT_PORT93 cmp bx, DEVICE_ATA_PRIMARY_PORT 94 94 je SHORT .ReturnResultInZF 95 95 … … 108 108 test al, FLG_QDCONFIG_PRIMARY_IDE 109 109 jz SHORT .CompareBXtoSecondaryIDE 110 cmp bx, DEVICE_ATA_ DEFAULT_PORT110 cmp bx, DEVICE_ATA_PRIMARY_PORT 111 111 ret 112 112 113 113 .CompareBXtoSecondaryIDE: 114 cmp bx, DEVICE_ATA_ DEFAULT_SECONDARY_PORT114 cmp bx, DEVICE_ATA_SECONDARY_PORT 115 115 .ReturnResultInZF: 116 116 ret … … 180 180 ; QD6580 always has Primary channel at 1F0h. Secondary channel at 170h can be Enabled or Disabled. 181 181 call AccessDPT_GetIdeBasePortToBX 182 cmp bx, DEVICE_ATA_ DEFAULT_PORT182 cmp bx, DEVICE_ATA_PRIMARY_PORT 183 183 je SHORT .CalculateTimingTicksForQD6580 ; Primary Channel so no need to modify DX 184 184 times 2 inc dx ; Secondary Channel IDE Timing Register -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r392 r398 67 67 mov al, BIOS_BOOT_LOADER_INTERRUPT_19h ; INT 19h interrupt vector offset 68 68 mov si, Int19hReset_Handler ; INT 19h handler to reboot the system 69 %ifndef MODULE_IRQ 70 ; Fall to Interrupts_InstallHandlerToVectorInALFromCSSI 71 %else 69 72 call Interrupts_InstallHandlerToVectorInALFromCSSI 70 73 ; Fall to .InitializeHardwareIrqHandlers … … 136 139 mov si, IdeIrq_InterruptServiceRoutineForIrqs2to7 137 140 ; Fall to Interrupts_InstallHandlerToVectorInALFromCSSI 141 %endif ; MODULE_IRQ 138 142 139 143 … … 158 162 159 163 164 %ifdef MODULE_IRQ 160 165 ;-------------------------------------------------------------------- 161 166 ; Interrupts_UnmaskInterruptControllerForDriveInDSDI … … 227 232 .Return: 228 233 ret 234 235 %endif ; MODULE_IRQ
Note:
See TracChangeset
for help on using the changeset viewer.