Changeset 480 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Oct 27, 2012, 11:26:11 AM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r474 r480 94 94 FLG_INITERROR_FAILED_TO_INITIALIZE_STANDBY_TIMER EQU (1<<6) 95 95 FLG_INITERROR_FAILED_TO_SET_XTCF_MODE EQU (1<<7) 96 FLG_INITERROR_FAILED_TO_SET_8BIT_MODE EQU FLG_INITERROR_FAILED_TO_SET_XTCF_MODE 96 97 97 98 -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r473 r480 139 139 ; IDE Devices are grouped so device numbers cannot be changed without modifying code elsewhere! 140 140 ; 141 COUNT_OF_STANDARD_IDE_DEVICES EQU 2 142 COUNT_OF_8BIT_IDE_DEVICES EQU 6141 COUNT_OF_STANDARD_IDE_DEVICES EQU 2 ; 16- and 32-bit controllers 142 COUNT_OF_8BIT_IDE_DEVICES EQU 7 143 143 COUNT_OF_ALL_IDE_DEVICES EQU (COUNT_OF_8BIT_IDE_DEVICES + COUNT_OF_STANDARD_IDE_DEVICES) 144 144 ; Standard port mapped I/O 145 145 DEVICE_16BIT_ATA EQU (0<<1) 146 146 DEVICE_32BIT_ATA EQU (1<<1) 147 DEVICE_8BIT_XTIDE_REV1 EQU (COUNT_OF_STANDARD_IDE_DEVICES<<1) 147 DEVICE_8BIT_ATA EQU (COUNT_OF_STANDARD_IDE_DEVICES+0<<1) ; 16- or 32-bit controller in 8-bit mode 148 DEVICE_8BIT_XTIDE_REV1 EQU (COUNT_OF_STANDARD_IDE_DEVICES+1<<1) 148 149 ; Address lines A0 and A3 are swapped 149 DEVICE_8BIT_XTIDE_REV2 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 1)<<1) ; Or rev 1 with swapped A0 and A3150 DEVICE_8BIT_XTIDE_REV2 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+2)<<1) ; Or rev 1 with swapped A0 and A3 150 151 ; IDE Register offsets are SHL 1 151 DEVICE_8BIT_XTCF_PIO8 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 2)<<1) ; XT-CF using 8-bit PIO mode152 DEVICE_8BIT_XTCF_DMA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 3)<<1) ; XT-CF using DMA153 DEVICE_8BIT_XTCF_MEMMAP EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 4)<<1) ; XT-CF using Memory Mapped transfers (not I/O)152 DEVICE_8BIT_XTCF_PIO8 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+3)<<1) ; XT-CF using 8-bit PIO mode 153 DEVICE_8BIT_XTCF_DMA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+4)<<1) ; XT-CF using DMA 154 DEVICE_8BIT_XTCF_MEMMAP EQU ((COUNT_OF_STANDARD_IDE_DEVICES+5)<<1) ; XT-CF using Memory Mapped transfers (not I/O) 154 155 ; Memory Mapped I/O 155 DEVICE_8BIT_JRIDE_ISA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 5)<<1) ; JR-IDE/ISA (Memory Mapped I/O)156 DEVICE_8BIT_JRIDE_ISA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+6)<<1) ; JR-IDE/ISA (Memory Mapped I/O) 156 157 ; Virtual devices 157 158 DEVICE_SERIAL_PORT EQU (COUNT_OF_ALL_IDE_DEVICES<<1)
Note:
See TracChangeset
for help on using the changeset viewer.