Changeset 175 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Oct 22, 2011, 9:04:01 PM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

ifdef of existing serial code, in preperation for checkin

Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

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

    r173 r175  
    1212    .bFlagsHigh                 resb    1
    1313    .bIdevarsOffset             resb    1   ; Offset to IDEVARS for this drive
    14                                 resb    1
     14%ifdef MODULE_SERIAL
     15    .bSerialPortAndBaud         resb    1   ; Packed I/O port and baud rate for serial drives
     16%else
     17                                resb    1   ; without serial port support, alignment byte
     18%endif
    1519
    1620    ; IDE Drive related
     
    4448FLGH_DPT_REVERSED_A0_AND_A3     EQU (1<<0)  ; XTIDE mod, Address lines 0 and 3 reversed
    4549FLGH_DPT_BLOCK_MODE_SUPPORTED   EQU (1<<1)  ; Use block transfer commands (must be bit 1!)
     50%ifdef MODULE_SERIAL
    4651FLGH_DPT_SERIAL_DEVICE          EQU (1<<2)  ; Serial Port Device
     52%endif
    4753FLGH_DPT_INTERRUPT_IN_SERVICE   EQU (1<<3)  ; Set when waiting for IRQ
    4854FLGH_DPT_RESET_nDRDY            EQU (1<<4)  ; Drive ready to accept commands
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r150 r175  
    2727    .ideVars2       resb    IDEVARS_size
    2828    .ideVars3       resb    IDEVARS_size
     29
     30    .ideVarsSerialAuto  resb    IDEVARS_size
    2931endstruc
    3032
     
    3234FLG_ROMVARS_FULLMODE    EQU (1<<0)  ; Full operating mode (steals base RAM, supports EBIOS etc.)
    3335FLG_ROMVARS_DRVXLAT     EQU (1<<2)  ; Enable drive number translation
     36%ifdef MODULE_SERIAL
     37FLG_ROMVARS_MODULE_SERIAL   EQU (1<<3)
     38%else
     39FLG_ROMVARS_MODULE_SERIAL   EQU 0
     40%endif
    3441
    3542; Boot Menu Display Modes (see Assembly Library Display.inc for standard modes)
     
    4754endstruc
    4855
    49 ; Device types for IDEVARS.bDeviceType
     56; Device types for IDEVARS.bDevice
    5057DEVICE_8BIT_DUAL_PORT_XTIDE             EQU (0<<1)
    5158DEVICE_XTIDE_WITH_REVERSED_A3_AND_A0    EQU (1<<1)
     
    5360DEVICE_16BIT_ATA                        EQU (3<<1)
    5461DEVICE_32BIT_ATA                        EQU (4<<1)
     62%ifdef MODULE_SERIAL
    5563DEVICE_SERIAL_PORT                      EQU (5<<1)
    56 
     64%endif
    5765
    5866; Master/Slave drive specific parameters
Note: See TracChangeset for help on using the changeset viewer.