Search
lxdream.org :: lxdream/src/gdrom/packet.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/packet.h
changeset 149:d88dd2e9a190
prev143:9446fb6df0c5
next158:a0a82246b44e
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/packet.h Wed May 03 12:52:38 2006 +0000
1.2 +++ b/src/gdrom/packet.h Sat May 20 06:24:49 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.2 2006-05-03 12:52:38 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.3 2006-05-20 06:24:49 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 @@ -50,7 +50,9 @@
1.11 #define PKT_CMD_IDENTIFY 0x11
1.12 #define PKT_CMD_SENSE 0x13
1.13 #define PKT_CMD_READ_TOC 0x14
1.14 +#define PKT_CMD_DISC_INFO 0x15
1.15 #define PKT_CMD_READ_SECTOR 0x30
1.16 +#define PKT_CMD_SPIN_UP 0x70 /* ??? */
1.17
1.18 #define PKT_ERR_OK 0x0000
1.19 #define PKT_ERR_NODISC 0x3A02
.