Changeset 566 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Aug 29, 2013, 12:49:15 AM (11 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm
r564 r566 179 179 test al, FLG_QDCONTROL_HDONLY_in 180 180 eCMOVNZ ah, FLG_QDCONTROL_NONATAPI ; Enable Read-Ahead and Post-Write Buffers 181 or ah, MASK_QDCONTROL_FLAGS_TO_SET182 181 mov al, ah 182 or al, MASK_QDCONTROL_FLAGS_TO_SET 183 183 out dx, al 184 184 sub dx, BYTE QD6580_CONTROL_REGISTER … … 187 187 ; QD6500 has only one channel that can be Primary at 1F0h or Secondary at 170h. 188 188 ; QD6580 always has Primary channel at 1F0h. Secondary channel at 170h can be Enabled or Disabled. 189 mov bx, [di+DPT.wBasePort] 190 cmp bx, DEVICE_ATA_PRIMARY_PORT 189 cmp WORD [di+DPT.wBasePort], DEVICE_ATA_PRIMARY_PORT 191 190 je SHORT .CalculateTimingTicksForQD6580 ; Primary Channel so no need to modify DX 192 191 times 2 inc dx ; Secondary Channel IDE Timing Register … … 216 215 217 216 ; Merge the values to a single byte to output 218 eSH IFT_IM al, POSITON_QD65XXIDE_RECOVERY_TIME, shl217 eSHL_IM al, POSITION_QD65XXIDE_RECOVERY_TIME 219 218 or al, bl 220 219 out dx, al
Note:
See TracChangeset
for help on using the changeset viewer.