Changeset 623 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm
- Timestamp:
- Jun 15, 2022, 2:48:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm
r622 r623 133 133 mov [di+DPT_ADVANCED_ATA.wMinPioCycleTime], bx 134 134 135 ; We have detected 32-bit controller so change Device Type since 136 ; it might have been set to 16-bit on IDEVARS 137 ; 138 ; Change to 32-bit on 386 builds only. We leave AT builds unchanged for faster troubleshooting 139 ; and for uncommon systems, like IBM 486SLC2 processors that can have VLB motherboard even though 140 ; the IBM 486SLC2 is externally 16-bit CPU 135 ; We have detected 32-bit controller so change Device Type 136 ; since it might have been set to 16-bit on IDEVARS 141 137 .ChangeTo32bitDevice: 142 %ifdef USE_386 138 ; *FIXME* We might need to add code to detect the IBM 486SLC2 CPU (and possibly other 139 ; 386+ class CPUs with a 16-bit external bus?) to avoid changing to DEVICE_32BIT_ATA. 143 140 mov BYTE [di+DPT_ATA.bDevice], DEVICE_32BIT_ATA 144 %endif145 141 .NoAdvancedControllerDetected: 146 142 %endif ; MODULE_ADVANCED_ATA
Note:
See TracChangeset
for help on using the changeset viewer.