source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/DeviceIDE.inc@ 348

Last change on this file since 348 was 150, checked in by Tomi Tilli, 14 years ago

Changes to XTIDE Universal BIOS:

  • Redesigned Disk Parameter Tables.
  • Code generalizations for supporting non-IDE devices in the future.
File size: 624 bytes
Line 
1; Project name : XTIDE Universal BIOS
2; Description : Device specific equates for IDE drives.
3%ifndef DEVICEIDE_INC
4%define DEVICEIDE_INC
5
6; Reset delays
7HSR0_RESET_WAIT_US EQU 5 ; Delay at least 5us
8HSR1_RESET_WAIT_US EQU 2000 ; Delay at least 2ms
9
10; Polling timeout delays (system timer ticks, 1 tick = 54.9 ms)
11TIMEOUT_BSY EQU (2000/55) ; 2000 ms
12TIMEOUT_DRDY EQU (2000/55) ; 2000 ms
13TIMEOUT_DRQ EQU 255 ; 14 s (some CF cards occasionally have long write delays)
14TIMEOUT_IDENTIFY_DEVICE EQU (500/55) ; 500 ms
15TIMEOUT_MOTOR_STARTUP EQU (10000/55) ; 10 s
16
17
18%endif ; DEVICEIDE_INC
Note: See TracBrowser for help on using the repository browser.