Changeset 541 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Apr 14, 2013, 5:04:32 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/EBIOS.inc
r536 r541 57 57 58 58 59 ; Device Parameter Table Extension60 struc DPTE61 .wBasePort resb 2 ; 0, Command Block Base Port Address62 .wControlBlockPort resb 2 ; 2, Control Block Base Port Address63 .bDrvnhead resb 1 ; 4, Drive and Head Select Register upper nibble64 .bBiosVendor resb 1 ; 5, BIOS Vendor Specific65 .bIRQ resb 1 ; 6, IRQ for this device66 .bBlockSize resb 1 ; 7, Current block size in sectors67 .bDmaChannelAndType resb 1 ; 8, DMA information68 .bPioMode resb 1 ; 9, PIO mode69 .wFlags resb 2 ; 10, BIOS selected hardware specific option flags70 .wReserved resb 2 ; 12, Reserved. Must be zero.71 .bRevision resb 1 ; 14, Revision level of this table (11h)72 .bChecksum resb 1 ; 15, Checksum, 2's complement of the sum of bytes 0-1473 endstruc74 75 ; Flags for DPTE.wFlags76 FLG_FAST_PIO_ENABLED EQU (1<<0) ; Set if using PIO mode 1 or above (DPTE.bPioMode is valid when set)77 FLG_DMA_ENABLED EQU (1<<1) ; Set if DMA enabled (DPTE.bDmaChannelAndType is valid when set)78 FLG_BLOCK_MODE_ENABLED EQU (1<<2) ; Set if Block Mode transfers are enabled (DPTE.bBlockSize is valid when set)79 FLG_CHS_TRANSLATION_ENABLED EQU (1<<3) ; Set for drives with more than 1024 cylinders80 FLG_LBA_TRANSLATION_ENABLED EQU (1<<4) ; Set when LBA addresses from DAP are passed directly to the drive81 FLG_REMOVABLE_MEDIA EQU (1<<5)82 FLG_ATAPI_DEVICE EQU (1<<6)83 FLG_32BIT_XFER_MODE EQU (1<<7) ; Set when using 32-bit data transfers84 FLG_ATAPI_USES_IRQ EQU (1<<8) ; ATAPI Device uses IRQ for data transfers85 ; L-CHS translation type for old INT 13h (when FLG_CHS_TRANSLATION_ENABLED is set)86 MASK_CHS_TRANSLATION_TYPE EQU (3<<TRANSLATION_TYPE_FIELD_POSITION)87 TRANSLATION_TYPE_FIELD_POSITION EQU 988 BIT_SHIFT_TRANSLATION EQU 0 ; LARGE89 LBA_ASSISTED_TRANSLATION EQU 1 ; Assisted LBA90 ; 2 = reserved91 VENDOR_SPECIFIC_TRANSLATION EQU 392 93 94 DPTE_REVISION EQU 11h95 96 97 59 ; Disk Address Packet for read, write and verify functions 98 60 struc DAP -
trunk/XTIDE_Universal_BIOS/Inc/IdeRegisters.inc
r526 r541 76 76 ; Bit 0 must be zero, unlisted bits are reserved. 77 77 ;FLG_DEVCONTROL_HOB EQU (1<<7) ; High Order Byte (ATA6+) 78 ;FLG_DEVCONTROL_O8H EQU (1<<3) ; Drive has more than 8 heads (pre-ATA only, 1 on ATA1, reserved on ATA2+)78 FLG_DEVCONTROL_O8H EQU (1<<3) ; Drive has more than 8 heads (pre-ATA only, 1 on ATA1, reserved on ATA2+) 79 79 FLG_DEVCONTROL_SRST EQU (1<<2) ; Software Reset 80 80 FLG_DEVCONTROL_nIEN EQU (1<<1) ; Negated Interrupt Enable (IRQ disabled when set) -
trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc
r536 r541 52 52 %ifdef MODULE_EBIOS 53 53 %include "EBIOS.inc" ; Equates for EBIOS functions 54 %ifdef CREATE_COMPATIBLE_DPT 55 %include "CompatibleDPT.inc" 56 %endif 54 57 %endif 55 58
Note:
See TracChangeset
for help on using the changeset viewer.