Changeset 398 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta
- Timestamp:
- Apr 19, 2012, 3:08:06 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.