• @71f1.ADF Configuration file for McIDE IDE Adapter (v1.0 & v1.1) [Refor

    From Louis Ohland@21:1/5 to All on Mon Feb 13 10:44:16 2023
    Folks, I opened the ADF in Notepad, wall of text. Here is a haphazard
    cheap reformat. If you actually want a reformatted ADF for your McIDE,
    I'd suggest you refer to a real ADF for a formatting example...

    ; Configuration file for McIDE IDE Adapter (v1.0 & v1.1)
    ; Configuration file v1.0
    ;
    AdapterId 071f1h
    AdapterName "McIDE IDE Adapter"
    NumBytes 3

    ; POS[0] (0x102) bit allocation
    ;
    ; bit[7] - ROM enabled
    ; bit[6:4] - ROM base
    ; 3'b000 - 0xC0000
    ; 3'b001 - 0xC4000
    ; 3'b010 - 0xC8000
    ; 3'b011 - 0xCC000
    ; 3'b100 - 0xD0000
    ; 3'b101 - 0xD4000
    ; 3'b110 - 0xD8000
    ; 3'b111 - 0xDC000
    ;
    ; bit[3:1] - reserved
    ; bit[0] - enable adapter (automatically used by setup program)
    ;
    ; Only 16KiB ROMs are supported.



    NamedItem
    Prompt "Option ROM Type and Base"

    Choice "0xC0000-0xC3FFF (16K)" POS[0]=1000XXXXb mem 0c0000h-0c3fffh
    Choice "0xC4000-0xC7FFF (16K)" POS[0]=1001XXXXb mem 0c4000h-0c7fffh
    Choice "0xC8000-0xCBFFF (16K)" POS[0]=1010XXXXb mem 0c8000h-0cbfffh
    Choice "0xCC000-0xCFFFF (16K)" POS[0]=1011XXXXb mem 0cc000h-0cffffh
    Choice "0xD0000-0xD3FFF (16K)" POS[0]=1100XXXXb mem 0d0000h-0d3fffh
    Choice "0xD4000-0xD7FFF (16K)" POS[0]=1101XXXXb mem 0d4000h-0d7fffh
    Choice "0xD8000-0xDBFFF (16K)" POS[0]=1110XXXXb mem 0d8000h-0dbfffh
    Choice "0xDC000-0xDFFFF (16K)" POS[0]=1111XXXXb mem 0dc000h-0dffffh
    Choice "None" POS[0]=0XXXXXXXb

    Help
    "Select the base address of the installed option ROM. To disable the
    ROM or if no option ROM is installed, select None."

    ; POS[1,2] (0x103,0x104) - IDE channel A,B configuration
    ;
    ; bit[7] - Interrupt Enable
    ; bit[6:5] - Interrupt number
    ; 2'b00 - IRQ 10 (v.1.1 only)
    ; 2'b01 - IRQ 12 (v.1.1 only)
    ; 2'b10 - IRQ 14
    ; 2'b11 - IRQ 15
    ; bit[3] - Channel enabled
    ; bit[2:0] - Base address:
    ; 3'b0000 - primary (0x1F0-0x1F7, 0x3F6-0x3F7)
    ; 3'b0001 - secondary (0x170-0x177, 0x376-0x377)
    ; 3'b0010 - tertiary (0x1E8-0x1EF, 0x3EE-0x3EF)
    ; 3'b0011 - quaternary (0x168-0x16F, 0x36E-0x36F)
    ; - everything else is reserved
    ;
    ; Note that on PS/2 systems, the secondary status register used by the
    primary IDE controller (0x3F6-0x3F7) conflicts with the FDC. The
    hardware therefore doesn't respond at that address. When a channel is configured as primary, secondary status won't be available.

    NamedItem
    Prompt "Channel A Configuration"
    Choice "Primary" POS[1]=XXXX1000b io 1f0h-1ffh
    Choice "Secondary" POS[1]=XXXX1001b io 170h-17fh 376h-377h
    Choice "Tertiary" POS[1]=XXXX1010b io 1e8h-1efh 3eeh-3efh
    Choice "Quaternary" POS[1]=XXXX1011b io 168h-16fh 36eh-36fh
    Choice "Disabled" POS[1]=XXXX0XXXb

    Help
    "Select the configuration to be used by IDE channel A."


    NamedItem
    Prompt "Channel A Interrupt"
    Choice "IRQ 14" POS[1]=1010XXXXb int 14
    Choice "IRQ 15" POS[1]=1011XXXXb int 15
    Choice "None" POS[1]=0XXXXXXXb
    Choice "IRQ 10" POS[1]=1000XXXXb int 10
    Choice "IRQ 11" POS[1]=1001XXXXb int 11


    Help
    "Select the interrupt to be used by IDE channel A."



    NamedItem
    Prompt "Channel B Configuration"
    Choice "Disabled" POS[2]=XXXX0XXXb
    Choice "Secondary" POS[2]=XXXX1001b io 170h-17fh 376h-377h
    Choice "Tertiary" POS[2]=XXXX1010b io 1e8h-1efh 3eeh-3efh
    Choice "Quaternary" POS[2]=XXXX1011b io 168h-16fh 36eh-36fh
    Choice "Primary" POS[2]=XXXX1000b io 1f0h-1ffh

    Help
    "Select the configuration to be used by IDE channel A."


    NamedItem
    Prompt "Channel B Interrupt"
    Choice "None" POS[2]=0XXXXXXXb
    Choice "IRQ 15" POS[2]=1011XXXXb int 15
    Choice "IRQ 10" POS[2]=1000XXXXb int 10
    Choice "IRQ 11" POS[2]=1001XXXXb int 11
    Choice "IRQ 14" POS[2]=1010XXXXb int 14


    Help
    "Select the interrupt to be used by IDE channel B."
    

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)