Search
lxdream.org :: lxdream/src/gdrom/ide.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/ide.h
changeset 47:da09bcb7ce69
prev31:495e480360d7
next125:49bf45f8210a
author nkeynes
date Sun Feb 05 04:04:25 2006 +0000 (18 years ago)
permissions -rw-r--r--
last change Install the bios hooks if we're loading a demo
file annotate diff log raw
1.1 --- a/src/gdrom/ide.h Sun Dec 25 08:24:11 2005 +0000
1.2 +++ b/src/gdrom/ide.h Sun Feb 05 04:04:25 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: ide.h,v 1.2 2005-12-25 08:24:11 nkeynes Exp $
1.6 + * $Id: ide.h,v 1.3 2005-12-27 12:41:33 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 @@ -63,6 +63,13 @@
1.11 #define IDE_CMD_SERVICE 0xA2
1.12 #define IDE_CMD_SET_FEATURE 0xEF
1.13
1.14 +#define IDE_FEAT_SET_TRANSFER_MODE 0x03
1.15 +
1.16 +#define IDE_XFER_PIO 0x00
1.17 +#define IDE_XFER_PIO_FLOW 0x08
1.18 +#define IDE_XFER_MULTI_DMA 0x20
1.19 +#define IDE_XFER_ULTRA_DMA 0x40
1.20 +
1.21 /* The disc register indicates the current contents of the drive. When open
1.22 * contains 0x06.
1.23 */
.