Search
lxdream.org :: lxdream/src/gdrom/packet.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/packet.h
changeset 143:9446fb6df0c5
prev142:2f631c3a3946
next149:d88dd2e9a190
author nkeynes
date Wed May 03 12:52:38 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add (track) mode parameter to read sectors call
Fix missing interrupt on end-of-packet read.
file annotate diff log raw
1.1 --- a/src/gdrom/packet.h Tue May 02 14:09:11 2006 +0000
1.2 +++ b/src/gdrom/packet.h Wed May 03 12:52:38 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.1 2006-05-02 14:09:11 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.2 2006-05-03 12:52:38 nkeynes Exp $
1.7 *
1.8 * This file defines the command codes and any other flags used by the
1.9 * GD-Rom ATAPI packet commands.
1.10 @@ -56,7 +56,8 @@
1.11 #define PKT_ERR_NODISC 0x3A02
1.12 #define PKT_ERR_BADCMD 0x2005
1.13 #define PKT_ERR_BADFIELD 0x2405
1.14 -
1.15 +#define PKT_ERR_BADREAD 0x0030
1.16 +#define PKT_ERR_BADREADMODE 0x6405 /* Illegal mode for this track */
1.17
1.18 #define IDE_READ_MODE1 0x20
1.19 #define IDE_READ_RAW 0x30
.