Changeset 175 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Oct 22, 2011, 9:04:01 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r173 r175 12 12 .bFlagsHigh resb 1 13 13 .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 15 19 16 20 ; IDE Drive related … … 44 48 FLGH_DPT_REVERSED_A0_AND_A3 EQU (1<<0) ; XTIDE mod, Address lines 0 and 3 reversed 45 49 FLGH_DPT_BLOCK_MODE_SUPPORTED EQU (1<<1) ; Use block transfer commands (must be bit 1!) 50 %ifdef MODULE_SERIAL 46 51 FLGH_DPT_SERIAL_DEVICE EQU (1<<2) ; Serial Port Device 52 %endif 47 53 FLGH_DPT_INTERRUPT_IN_SERVICE EQU (1<<3) ; Set when waiting for IRQ 48 54 FLGH_DPT_RESET_nDRDY EQU (1<<4) ; Drive ready to accept commands -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r150 r175 27 27 .ideVars2 resb IDEVARS_size 28 28 .ideVars3 resb IDEVARS_size 29 30 .ideVarsSerialAuto resb IDEVARS_size 29 31 endstruc 30 32 … … 32 34 FLG_ROMVARS_FULLMODE EQU (1<<0) ; Full operating mode (steals base RAM, supports EBIOS etc.) 33 35 FLG_ROMVARS_DRVXLAT EQU (1<<2) ; Enable drive number translation 36 %ifdef MODULE_SERIAL 37 FLG_ROMVARS_MODULE_SERIAL EQU (1<<3) 38 %else 39 FLG_ROMVARS_MODULE_SERIAL EQU 0 40 %endif 34 41 35 42 ; Boot Menu Display Modes (see Assembly Library Display.inc for standard modes) … … 47 54 endstruc 48 55 49 ; Device types for IDEVARS.bDevice Type56 ; Device types for IDEVARS.bDevice 50 57 DEVICE_8BIT_DUAL_PORT_XTIDE EQU (0<<1) 51 58 DEVICE_XTIDE_WITH_REVERSED_A3_AND_A0 EQU (1<<1) … … 53 60 DEVICE_16BIT_ATA EQU (3<<1) 54 61 DEVICE_32BIT_ATA EQU (4<<1) 62 %ifdef MODULE_SERIAL 55 63 DEVICE_SERIAL_PORT EQU (5<<1) 56 64 %endif 57 65 58 66 ; Master/Slave drive specific parameters
Note:
See TracChangeset
for help on using the changeset viewer.