Changeset 364 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Mar 27, 2012, 4:21:58 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/ATA_ID.inc
r363 r364 5 5 6 6 ; PIO Minimum Cycle Times (t0) 7 ; Timings for Advanced modes 3 and 4 can be read from ATA info WORDs 67 and 68 7 ; Timings for Advanced Modes (3 and above) can be read from ATA info WORDs 67 and 68 8 ; Those usually have the same Cycle Time as below 8 9 PIO_0_MIN_CYCLE_TIME_NS EQU 600 9 10 PIO_1_MIN_CYCLE_TIME_NS EQU 383 … … 11 12 PIO_3_MIN_CYCLE_TIME_NS EQU 180 12 13 PIO_4_MIN_CYCLE_TIME_NS EQU 120 14 PIO_5_MIN_CYCLE_TIME_NS EQU 100 ; CF specification 15 PIO_6_MIN_CYCLE_TIME_NS EQU 80 ; CF specification 13 16 14 17 ; PIO Minimum Address Valid Times (t1) … … 18 21 PIO_3_MIN_ADDRESS_VALID_NS EQU 30 19 22 PIO_4_MIN_ADDRESS_VALID_NS EQU 25 23 PIO_5_MIN_ADDRESS_VALID_NS EQU 25 ; Could not find info 24 PIO_6_MIN_ADDRESS_VALID_NS EQU 25 ; Could not find info 20 25 21 26 ; PIO Minimum Active Times (t2) … … 25 30 PIO_3_MIN_ACTIVE_TIME_NS EQU 80 26 31 PIO_4_MIN_ACTIVE_TIME_NS EQU 70 32 PIO_5_MIN_ACTIVE_TIME_NS EQU 70 ; Could not find info 33 PIO_6_MIN_ACTIVE_TIME_NS EQU 70 ; Could not find info 27 34 28 35 ; PIO Minimum Recovery Times or Inactive Times (t2i) can be calculated -
trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
r363 r364 27 27 resb 2 ; Zero word (ensures string terminates) 28 28 .wInitErrorFlags resb 2 ; Errors during initialization 29 29 30 30 %ifdef MODULE_ADVANCED_ATA 31 .wIdeBasePort resb 2 ; IDE Base Port 32 .wMinPioActiveTimeNs resb 2 ; Minimum PIO Active Time in ns 33 .wMinPioRecoveryTimeNs resb 2 ; Minimum PIO Recovery Time in ns 34 .wControllerID resb 2 ; Controller specific ID WORD 35 .wControllerBasePort resb 2 ; Advanced Controller port (not IDE port) 36 resb 12 ; padding to make BOOTMENUINFO size an even multiple of DPT size 37 31 resb 6 ; padding to make BOOTMENUINFO size an even multiple of DPT size 38 32 %else 39 33 resb 2 ; padding to make BOOTMENUINFO size an even multiple of DPT size 40 34 %endif 35 36 41 37 endstruc 42 38 -
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r363 r364 41 41 ; IDE device only 42 42 FLGH_DPT_INITERROR EQU (1<<7) 43 %ifdef MODULE_ADVANCED_ATA 44 FLGH_DPT_IORDY EQU (1<<6) ; Controller and Drive supports IORDY 45 %endif 43 46 44 47 ; Serial device only … … 63 66 .bSetBlock resb 1 ; Current block size (do not set to zero!) 64 67 .bMaxBlock resb 1 ; Maximum block size, 0 = block mode not supported 65 66 %ifdef MODULE_ADVANCED_ATA ; +2 extra bytes = 14 bytes67 .bPioMode resb 168 .bDevice resb 169 %endif70 68 endstruc 71 69 72 70 71 ; Additional variables needed to initialize and reset Advanced IDE Controllers. 72 ; EBDA must be reserved for DPTs when using these! 73 73 %ifdef MODULE_ADVANCED_ATA 74 ; Temporary extension for DPT_ATA. Contents will be copied to BOOTMENUINFO and75 ; then these variables will be overridden by next DPT.76 74 struc DPT_ADVANCED_ATA 77 75 .dpt_ata resb DPT_ATA_size 78 .wIdeBasePort resb 2 ; IDE Base Port 79 .wMinPioActiveTimeNs resb 2 ; Minimum PIO Active Time in ns 80 .wMinPioRecoveryTimeNs resb 2 ; Minimum PIO Recovery Time in ns 81 .wControllerID resb 2 ; Controller specific ID WORD 76 .wControllerID resb 2 ; Controller specific ID WORD (from Advanced Controller detection) 82 77 .wControllerBasePort resb 2 ; Advanced Controller port (not IDE port) 78 .wMinPioCycleTime resb 2 ; Minimum PIO Cycle Time in ns 79 .bPioMode resb 1 ; Best supported PIO mode 80 .bDevice resb 1 ; Device Type from IDEVARS (overrided when 32-bit controller detected) 83 81 endstruc 84 82 %endif 85 83 86 84 85 ; DPT for Serial devices 87 86 %ifdef MODULE_SERIAL 88 ; DPT for Serial devices89 87 struc DPT_SERIAL 90 88 .dpt resb DPT_size … … 98 96 99 97 ; This is the common size for all DPTs. All DPTs must be equal size. 98 %ifdef MODULE_ADVANCED_ATA 99 LARGEST_DPT_SIZE EQU DPT_ADVANCED_ATA_size 100 %else 100 101 LARGEST_DPT_SIZE EQU DPT_ATA_size 102 %endif 101 103 102 104
Note:
See TracChangeset
for help on using the changeset viewer.