Search
lxdream.org :: lxdream/src/gdrom/packet.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/packet.h
changeset 253:1ca882a0e076
prev245:a1d0655a88d3
next342:850502f0e8de
author nkeynes
date Thu Dec 21 10:15:02 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Add reset error and fix BADREAD error code
file annotate diff log raw
1.1 --- a/src/gdrom/packet.h Tue Dec 19 09:52:56 2006 +0000
1.2 +++ b/src/gdrom/packet.h Thu Dec 21 10:15:02 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.5 2006-12-19 09:52:56 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.6 2006-12-21 10:15:02 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 @@ -61,8 +61,9 @@
1.11 #define PKT_ERR_NODISC 0x3A02
1.12 #define PKT_ERR_BADCMD 0x2005
1.13 #define PKT_ERR_BADFIELD 0x2405
1.14 -#define PKT_ERR_BADREAD 0x0030
1.15 +#define PKT_ERR_BADREAD 0x3002
1.16 #define PKT_ERR_BADREADMODE 0x6405 /* Illegal mode for this track */
1.17 +#define PKT_ERR_RESET 0x2906
1.18
1.19 #define IDE_READ_MODE1 0x20
1.20 #define IDE_READ_RAW 0x30
.