Search
lxdream.org :: lxdream/src/gdrom/ide.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/ide.h
changeset 240:9ae4bd697292
prev152:d42a4c5cc709
next245:a1d0655a88d3
author nkeynes
date Fri Dec 15 10:18:39 2006 +0000 (16 years ago)
permissions -rw-r--r--
last change Initial implementation of the NOP (00h) command
file annotate diff log raw
1.1 --- a/src/gdrom/ide.h Tue May 23 13:11:45 2006 +0000
1.2 +++ b/src/gdrom/ide.h Fri Dec 15 10:18:39 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: ide.h,v 1.8 2006-05-23 13:11:45 nkeynes Exp $
1.6 + * $Id: ide.h,v 1.9 2006-12-15 10:18:39 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 @@ -84,6 +84,7 @@
1.11 #define IDE_CTL_RESET 0x04
1.12 #define IDE_CTL_IRQEN 0x02 /* IRQ enabled when == 0 */
1.13
1.14 +#define IDE_CMD_NOP 0x00
1.15 #define IDE_CMD_RESET_DEVICE 0x08
1.16 #define IDE_CMD_PACKET 0xA0
1.17 #define IDE_CMD_IDENTIFY_PACKET_DEVICE 0xA1
.