Search
lxdream.org :: lxdream/src/gdrom/ide.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/ide.h
changeset 149:d88dd2e9a190
prev142:2f631c3a3946
next152:d42a4c5cc709
author nkeynes
date Sat May 20 06:24:49 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add disc info + spin up (probably seek) commands
file annotate diff log raw
1.1 --- a/src/gdrom/ide.h Tue May 02 14:09:11 2006 +0000
1.2 +++ b/src/gdrom/ide.h Sat May 20 06:24:49 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: ide.h,v 1.6 2006-05-02 14:09:11 nkeynes Exp $
1.6 + * $Id: ide.h,v 1.7 2006-05-20 06:24:49 nkeynes Exp $
1.7 *
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.10 @@ -58,6 +58,14 @@
1.11 #define IDE_ST_DATA 0x08
1.12 #define IDE_ST_ERROR 0x01
1.13
1.14 +#define IDE_FEAT_DMA 0x01
1.15 +#define IDE_FEAT_OVL 0x02
1.16 +
1.17 +#define IDE_COUNT_CD 0x01
1.18 +#define IDE_COUNT_IO 0x02
1.19 +#define IDE_COUNT_REL 0x04
1.20 +
1.21 +
1.22 #define IDE_CTL_RESET 0x04
1.23 #define IDE_CTL_IRQEN 0x02 /* IRQ enabled when == 0 */
1.24
.