1.1 --- a/src/gdrom/ide.h Fri Dec 15 10:18:39 2006 +0000
1.2 +++ b/src/gdrom/ide.h Tue Dec 19 09:52:56 2006 +0000
1.5 - * $Id: ide.h,v 1.9 2006-12-15 10:18:39 nkeynes Exp $
1.6 + * $Id: ide.h,v 1.10 2006-12-19 09:52:56 nkeynes Exp $
1.8 * This file defines the interface and structures of the dreamcast's IDE
1.9 * port. Note that the register definitions are in asic.h, as the registers
1.12 /* Internal IDE state */
1.13 uint8_t intrq_pending; /* Flag to indicate if the INTRQ line is active */
1.14 + gboolean interface_enabled;
1.17 /* Sense response for the last executed packet command */
1.20 int block_length; /* Used to determine the transfer unit size */
1.21 int block_left; /* Bytes remaining in the current block */
1.23 + /* Status reporting information */
1.24 + uint8_t last_read_track;
1.25 + uint32_t last_read_lba;
1.26 + uint32_t last_read_count;
1.29 #define IDE_STATE_IDLE 0