Changeset 150 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc


Ignore:
Timestamp:
Apr 29, 2011, 7:04:13 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Redesigned Disk Parameter Tables.
  • Code generalizations for supporting non-IDE devices in the future.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r143 r150  
    4141    .wPort              resb    2   ; IDE Base Port for Command Block (usual) Registers
    4242    .wPortCtrl          resb    2   ; IDE Base Port for Control Block Registers
    43     .bBusType           resb    1   ; Bus type
     43    .bDevice            resb    1   ; Device type
    4444    .bIRQ               resb    1   ; Interrupt Request Number
    4545    .drvParamsMaster    resb    DRVPARAMS_size
     
    4747endstruc
    4848
    49 ; Bus types for IDEVARS.bBusType
    50 BUS_TYPE_8_DUAL         EQU (0<<1)  ; XTIDE transfers with two 8-bit data ports
    51 BUS_TYPE_16             EQU (1<<1)  ; Normal 16-bit AT-IDE transfers
    52 BUS_TYPE_32             EQU (2<<1)  ; 32-bit VLB and PCI transfers
    53 BUS_TYPE_8_SINGLE       EQU (3<<1)  ; 8-bit transfers with single 8-bit data port
     49; Device types for IDEVARS.bDeviceType
     50DEVICE_8BIT_DUAL_PORT_XTIDE             EQU (0<<1)
     51DEVICE_XTIDE_WITH_REVERSED_A3_AND_A0    EQU (1<<1)
     52DEVICE_8BIT_SINGLE_PORT                 EQU (2<<1)
     53DEVICE_16BIT_ATA                        EQU (3<<1)
     54DEVICE_32BIT_ATA                        EQU (4<<1)
     55DEVICE_SERIAL_PORT                      EQU (5<<1)
    5456
    5557
Note: See TracChangeset for help on using the changeset viewer.