Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
- Timestamp:
- May 26, 2014, 1:25:15 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r550 r567 61 61 FLGL_DPT_LBA EQU FLG_DRVNHEAD_LBA ; Bit 6, Drive supports LBA and so EBIOS functions can be supported 62 62 %ifdef MODULE_EBIOS 63 FLGL_DPT_LBA48 EQU (1<<7) ; Bit 7, Drive supports 48-bit LBA ( Must be bit 7!)63 FLGL_DPT_LBA48 EQU (1<<7) ; Bit 7, Drive supports 48-bit LBA (must be bit 7!) 64 64 %endif 65 65 66 66 67 67 ; Bit definitions for DPT.bFlagsHigh 68 FLGH_DPT_USE_BLOCK_MODE_COMMANDS EQU (1<<1) ; Bit 1, Use block transfer commands (must be bit 1!)68 FLGH_DPT_USE_BLOCK_MODE_COMMANDS EQU (1<<1) ; Bit 1, Use block transfer commands (must be bit 1!) 69 69 %ifdef MODULE_SERIAL 70 FLGH_DPT_SERIAL_DEVICE EQU (1<<2) ; Bit 2, Serial Port Device70 FLGH_DPT_SERIAL_DEVICE EQU (1<<2) ; Bit 2, Serial Port Device 71 71 %endif 72 %ifdef MODULE_ FEATURE_SETS73 FLGH_DPT_POWER_MANAGEMENT_SUPPORTED EQU (1<< 5) ; Bit 5, Drive supports power management72 %ifdef MODULE_POWER_MANAGEMENT 73 FLGH_DPT_POWER_MANAGEMENT_SUPPORTED EQU (1<<3) ; Bit 3, Drive supports power management (must be bit 3!) 74 74 %endif 75 75 %ifdef MODULE_ADVANCED_ATA 76 FLGH_DPT_IORDY EQU (1<<7) ; Bit 7, Controller and Drive supports IORDY76 FLGH_DPT_IORDY EQU (1<<7) ; Bit 7, Controller and Drive supports IORDY 77 77 %endif 78 78 79 79 ; Serial device only 80 80 %ifdef MODULE_SERIAL_FLOPPY 81 FLGH_DPT_SERIAL_FLOPPY EQU (1<<4) 82 FLGH_DPT_SERIAL_FLOPPY_TYPE_MASK EQU 0e0h 83 FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION EQU 5 81 FLGH_DPT_SERIAL_FLOPPY EQU (1<<4) ; Bit 4, Drive is a serial floppy drive 82 FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION EQU 5 ; Bits 7...5, Serial floppy drive type 84 83 %endif 85 84
Note: See TracChangeset
for help on using the changeset viewer.