Changeset 622 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE


Ignore:
Timestamp:
Dec 16, 2021, 5:46:51 PM (3 years ago)
Author:
Tomi Tilli
Message:
  • Supported VLB controllers are now forced to 32-bit mode on 386 builds only. AT builds use 16-bit transfers unless configured to 32-bit from xtidecfg
  • Partially fixed support for PDC 20230C VLB IDE controller. PIO-1 drives stay at PIO-0 but PIO-2, 3 and 4 drives are set to maximum speed that PDC2030C supports
  • Large 386 build is now 12k instead of 10k (did not fit to 10k because of the fixes)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm

    r618 r622  
    135135    ; We have detected 32-bit controller so change Device Type since
    136136    ; 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
    137141.ChangeTo32bitDevice:
     142%ifdef USE_386
    138143    mov     BYTE [di+DPT_ATA.bDevice], DEVICE_32BIT_ATA
     144%endif
    139145.NoAdvancedControllerDetected:
    140146%endif  ; MODULE_ADVANCED_ATA
    141147
    142 
    143 ; End DPT
     148    ; End DPT
    144149    clc
    145150    ret
Note: See TracChangeset for help on using the changeset viewer.