Changeset 584 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Apr 25, 2015, 7:17:41 PM (10 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Added support for Lo-tech 8-bit IDE Adapter (untested)
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc

    r567 r584  
    5656; the mode via a call to Int 13h function 1Eh accordingly (see AH1E_XTCF.asm).
    5757;
    58 XTCF_8BIT_PIO_MODE                  EQU     00h
    59 XTCF_8BIT_PIO_MODE_WITH_BIU_OFFLOAD EQU     01h
    60 XTCF_DMA_MODE                       EQU     02h
     58XTCF_8BIT_PIO_MODE                  EQU     ((DEVICE_8BIT_XTCF_PIO8 >> 1) - XTCF_DEVICE_OFFSET)
     59XTCF_8BIT_PIO_MODE_WITH_BIU_OFFLOAD EQU     (XTCF_8BIT_PIO_MODE + 1)
     60XTCF_16BIT_PIO_WITH_BIU_OFFLOAD     EQU     (XTCF_8BIT_PIO_MODE + 2)    ; Lo-tech 8-bit IDE Adapter
     61XTCF_DMA_MODE                       EQU     (XTCF_8BIT_PIO_MODE + 3)
     62
    6163
    6264; Subcommands for AH=1Eh, Lo-tech XT-CF features.
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r567 r584  
    100100struc DPT_ATA
    101101    .dpt                    resb    DPT_size
    102     .bDevice                resb    1   ; Device Type from IDEVARS (overrided when 32-bit controller detected)
     102    .bDevice                resb    1   ; Device Type from IDEVARS (overrided when 32-bit controller detected or XT-CF mode is changed)
    103103    .bBlockSize             resb    1   ; Current block size in sectors (do not set to zero!)
    104104endstruc
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r567 r584  
    146146; Device types for IDEVARS.bDevice
    147147; IDE Devices are grouped so device numbers cannot be changed without modifying code elsewhere!
    148 ;
     148; (IdeTransfer.asm)
    149149COUNT_OF_STANDARD_IDE_DEVICES           EQU 2   ; 16- and 32-bit controllers
    150 COUNT_OF_8BIT_IDE_DEVICES               EQU 8
     150COUNT_OF_8BIT_IDE_DEVICES               EQU 9
    151151COUNT_OF_ALL_IDE_DEVICES                EQU (COUNT_OF_8BIT_IDE_DEVICES + COUNT_OF_STANDARD_IDE_DEVICES)
    152152; Standard port mapped I/O
     
    158158DEVICE_8BIT_XTIDE_REV2                  EQU ((COUNT_OF_STANDARD_IDE_DEVICES+2)<<1)  ; Or rev 1 with swapped A0 and A3
    159159; IDE Register offsets are SHL 1
    160 DEVICE_8BIT_XTCF_PIO8                   EQU ((COUNT_OF_STANDARD_IDE_DEVICES+3)<<1)  ; XT-CF using 8-bit PIO mode
     160XTCF_DEVICE_OFFSET                      EQU 3
     161DEVICE_8BIT_XTCF_PIO8                   EQU ((COUNT_OF_STANDARD_IDE_DEVICES+XTCF_DEVICE_OFFSET)<<1) ; XT-CF using 8-bit PIO mode
    161162DEVICE_8BIT_XTCF_PIO8_WITH_BIU_OFFLOAD  EQU ((COUNT_OF_STANDARD_IDE_DEVICES+4)<<1)  ; XT-CF using 8-bit PIO mode, but with 16-bit instructions
    162 DEVICE_8BIT_XTCF_DMA                    EQU ((COUNT_OF_STANDARD_IDE_DEVICES+5)<<1)  ; XT-CFv3 using DMA
     163DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD EQU ((COUNT_OF_STANDARD_IDE_DEVICES+5)<<1)  ; Lo-tech 8-bit IDE Adapter
     164DEVICE_8BIT_XTCF_DMA                    EQU ((COUNT_OF_STANDARD_IDE_DEVICES+6)<<1)  ; XT-CFv3 using DMA
    163165; Memory Mapped I/O
    164 DEVICE_8BIT_JRIDE_ISA                   EQU ((COUNT_OF_STANDARD_IDE_DEVICES+6)<<1)  ; JR-IDE/ISA (Memory Mapped I/O)
    165 DEVICE_8BIT_ADP50L                      EQU ((COUNT_OF_STANDARD_IDE_DEVICES+7)<<1)  ; SVC ADP50L (Memory Mapped I/O)
     166DEVICE_8BIT_JRIDE_ISA                   EQU ((COUNT_OF_STANDARD_IDE_DEVICES+7)<<1)  ; JR-IDE/ISA (Memory Mapped I/O)
     167DEVICE_8BIT_ADP50L                      EQU ((COUNT_OF_STANDARD_IDE_DEVICES+8)<<1)  ; SVC ADP50L (Memory Mapped I/O)
    166168; Virtual devices
    167169DEVICE_SERIAL_PORT                      EQU (COUNT_OF_ALL_IDE_DEVICES<<1)
  • trunk/XTIDE_Universal_BIOS/Inc/Version.inc

    r563 r584  
    1717; GNU General Public License for more details.
    1818; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     19;
     20
     21; Flash signature revisions:
     22; XTIDE205  Added DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD after other XT-CF
     23;           PIO modes (prevents empty indexes in PIO jump tables)
    1924;
    2025
     
    4348%define TITLE_STRING            TITLE_STRING_START, TITLE_STRING_END
    4449%define ROM_VERSION_STRING      "v2.0.0",BETA,"3+ (",__DATE__,")",NULL
    45 %define FLASH_SIGNATURE         "XTIDE204"  ; Do not terminate with NULL
     50%define FLASH_SIGNATURE         "XTIDE205"  ; Do not terminate with NULL
    4651
    4752
Note: See TracChangeset for help on using the changeset viewer.