Ignore:
Timestamp:
Apr 10, 2013, 6:27:15 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Added support for the Silicon Valley Computer ADP50L controller (and possibly other IDE controllers from SVC using memory mapped I/O). Please note that this has not been tested in any way since I don't have any of these cards myself (make backups before trying this on drives with important data). Also, *if* it works, make sure it works reliably (stress test the disk system). Some things you should know: 1) Autodetection for this controller has not been added to XTIDECFG, you need to manually select the "SVC ADP50L" controller (and possibly change the BIOS segment address if not using the default of C800h). 2) The memory mapped I/O window is inside the ROM address space of the controller. The XTIDE Universal BIOS currently do not support this so that means you need to use another ROM (for example, an XTIDE or XTCF card or the BOOT ROM of a NIC). This presents another problem, the original ADP50L BIOS needs to be disabled somehow to avoid conflicts. Either pull the ROM chip or disable the BIOS by removing jumper J3. Note, I have no idea if any of this will actually work. It's basically a shot in the dark.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm

    r526 r536  
    214214    dw  DEVICE_8BIT_XTCF_MEMMAP
    215215    dw  DEVICE_8BIT_JRIDE_ISA
     216    dw  DEVICE_8BIT_ADP50L
    216217    dw  DEVICE_SERIAL_PORT
    217218g_rgszValueToStringLookupForDevice:
     
    225226    dw  g_szValueCfgDeviceMemXTCF
    226227    dw  g_szValueCfgDeviceJrIdeIsa
     228    dw  g_szValueCfgDeviceADP50L
    227229    dw  g_szValueCfgDeviceSerial
    228230
     
    381383    mov     bx, g_MenuitemIdeControllerControlBlockAddress
    382384    cmp     al, DEVICE_8BIT_XTCF_PIO8
    383     jb      SHORT .EnableMenuitemFromCSBX   ; Not needed for XT-CF and JR-IDE/ISA
     385    jb      SHORT .EnableMenuitemFromCSBX   ; Not needed for XT-CF, JR-IDE/ISA and ADP50L
    384386    jmp     SHORT .DisableMenuitemFromCSBX
    385387
     
    603605        cmp     al, DEVICE_8BIT_JRIDE_ISA
    604606        je      SHORT .ChangingToJrIdeIsa
     607        cmp     al, DEVICE_8BIT_ADP50L
     608        je      SHORT .ChangingToADP50L
    605609
    606610        ; Restore ports to default values
     
    620624
    621625.ChangingToJrIdeIsa:
    622         mov     ax, JRIDE_DEFAULT_SEGMENT_ADDRESS
     626        mov     ah, JRIDE_DEFAULT_SEGMENT_ADDRESS >> 8
     627        SKIP2B  bx
     628
     629.ChangingToADP50L:
     630        mov     ah, ADP50L_DEFAULT_BIOS_SEGMENT_ADDRESS >> 8
     631        xor     al, al
    623632        xor     bx, bx
    624633        jmp     SHORT .writeNonSerial
Note: See TracChangeset for help on using the changeset viewer.