Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- May 26, 2014, 1:25:15 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/ATA_ID.inc
r526 r567 86 86 .strModel resb 40 ; 27...46F, Model number (40 ASCII characters, 0000h=not specified) 87 87 .bBlckSize resb 1 ; 47[0-7]F, Maximum number of sectors that can be transferred 88 ; 89 ; 88 ; per interrupt on read and write multiple commands 89 ; (00h=Read/write multiple commands not implemented) 90 90 resb 1 ; 47[8-15]X 91 91 .wDWIO resw 1 ; 48F, Can perform doubleword I/O (boolean) … … 106 106 ; Words 59-63 are always valid 107 107 .bBlockSel resb 1 ; 59[0-7]V, Current setting for number of sectors that 108 ; 108 ; can be transferred per interrupt on R/W multiple command 109 109 .bBlockFlgs resb 1 ; 59[8-15]VR, bit 0 set if Multiple sector setting is valid 110 110 .dwLBACnt resd 1 ; 60...61F, Total number of user addressable sectors (LBA mode only) … … 168 168 .strModel resb 40 ; 27...46F, Model number (40 ASCII characters, 0000h=not specified) 169 169 .bBlckSize resb 1 ; 47[0-7]F, Maximum number of sectors that can be transferred 170 ; 171 ; 170 ; per interrupt on read and write multiple commands 171 ; (00h=Read/write multiple commands not implemented) 172 172 resb 1 ; 47[8-15]X 173 173 resw 1 ; 48R … … 188 188 ; Words 59-63 are always valid 189 189 .bBlockSel resb 1 ; 59[0-7]V, Current setting for number of sectors that 190 ; 190 ; can be transferred per interrupt on R/W multiple command 191 191 .bBlockFlgs resb 1 ; 59[8-15]VR, bit 0 set if Multiple sector setting is valid 192 192 .dwLBACnt resd 1 ; 60...61F, Total number of user addressable sectors (LBA mode only) … … 253 253 .strModel resb 40 ; 27...46F, Model number (40 ASCII characters, 0000h=not specified) 254 254 .bBlckSize resb 1 ; 47[0-7]F, Maximum number of sectors that can be transferred 255 ; 256 ; 255 ; per interrupt on read and write multiple commands 256 ; (00h=Read/write multiple commands not implemented) 257 257 resb 1 ; 47[8-15]F, 80h 258 258 resw 1 ; 48R … … 271 271 ; Words 59-63 are always valid 272 272 .bBlockSel resb 1 ; 59[0-7]V, Current setting for number of sectors that 273 ; 273 ; can be transferred per interrupt on R/W multiple command 274 274 .bBlockFlgs resb 1 ; 59[8-15]VR, bit 0 set if Multiple sector setting is valid 275 275 .dwLBACnt resd 1 ; 60...61F, Total number of user addressable sectors (LBA-28) -
trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc
r558 r567 1 1 ; Project name : XTIDE Universal BIOS 2 ; Description : Lo-tech XT-CF v2board specifications.2 ; Description : Lo-tech XT-CF board specifications. 3 3 ; 4 4 ; More information at http://www.lo-tech.co.uk/XT-CF … … 19 19 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 20 20 ; 21 22 ; Modified by JJP for XT-CFv3 support, Mar-1323 24 21 25 22 %ifndef XTCF_INC … … 56 53 ; For XT-CFv3 adapter, DMA transfers are also supported via channel 3. 57 54 ; 58 ; XT-CFv3 cannot be distinguis ed by software, so user must decide and set55 ; XT-CFv3 cannot be distinguished by software, so user must decide and set 59 56 ; the mode via a call to Int 13h function 1Eh accordingly (see AH1E_XTCF.asm). 60 57 ; -
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 -
trunk/XTIDE_Universal_BIOS/Inc/DeviceIDE.inc
r526 r567 31 31 TIMEOUT_MAXIMUM EQU 255 ; We would actually want 31 seconds here but I don't think there are so slow drives 32 32 33 %ifdef MODULE_ FEATURE_SETS33 %ifdef MODULE_POWER_MANAGEMENT 34 34 TIMEOUT_BSY EQU TIMEOUT_MOTOR_STARTUP 35 35 TIMEOUT_DRDY EQU TIMEOUT_MOTOR_STARTUP -
trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc
r550 r567 130 130 %endif 131 131 132 %ifdef MODULE_ FEATURE_SETS133 MAIN_FLG_MODULE_ FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS132 %ifdef MODULE_POWER_MANAGEMENT 133 MAIN_FLG_MODULE_POWER_MANAGEMENT EQU FLG_ROMVARS_MODULE_POWER_MANAGEMENT 134 134 %else 135 MAIN_FLG_MODULE_ FEATURE_SETSEQU 0135 MAIN_FLG_MODULE_POWER_MANAGEMENT EQU 0 136 136 %endif 137 137 … … 142 142 %endif 143 143 144 MASK_ROMVARS_INCLUDED_MODULES EQU MAIN_FLG_MODULE_8BIT_IDE | MAIN_FLG_MODULE_ADVANCED_ATA | MAIN_FLG_MODULE_BOOT_MENU | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_HOTKEYS | MAIN_FLG_MODULE_IRQ | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED | MAIN_FLG_MODULE_ FEATURE_SETS| MAIN_FLG_MODULE_8BIT_IDE_ADVANCED144 MASK_ROMVARS_INCLUDED_MODULES EQU MAIN_FLG_MODULE_8BIT_IDE | MAIN_FLG_MODULE_ADVANCED_ATA | MAIN_FLG_MODULE_BOOT_MENU | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_HOTKEYS | MAIN_FLG_MODULE_IRQ | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED | MAIN_FLG_MODULE_POWER_MANAGEMENT | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED 145 145 -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r558 r567 72 72 73 73 ; Here in case the configuration needs to know functionality is present 74 FLG_ROMVARS_MODULE_ FEATURE_SETSEQU (1<<5)74 FLG_ROMVARS_MODULE_POWER_MANAGEMENT EQU (1<<5) 75 75 FLG_ROMVARS_MODULE_8BIT_IDE EQU (1<<6) 76 76 FLG_ROMVARS_MODULE_8BIT_IDE_ADVANCED EQU (1<<7)
Note:
See TracChangeset
for help on using the changeset viewer.