Search
lxdream.org :: lxdream/src/gdrom/packet.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/packet.h
changeset 245:a1d0655a88d3
prev158:a0a82246b44e
next253:1ca882a0e076
author nkeynes
date Tue Dec 19 09:52:56 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Work in progress: 0x40,1 (read status)
file annotate diff log raw
1.1 --- a/src/gdrom/packet.h Thu Jun 15 10:32:42 2006 +0000
1.2 +++ b/src/gdrom/packet.h Tue Dec 19 09:52:56 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.4 2006-06-15 10:32:42 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.5 2006-12-19 09:52:56 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 @@ -25,14 +25,14 @@
1.11 * 12
1.12 * 13 Request Sense
1.13 * 14 Read TOC
1.14 - * 15
1.15 + * 15 Read session info
1.16 * 16
1.17 * 20
1.18 * 21
1.19 * 22
1.20 * 30 Read CD
1.21 * 31
1.22 - * 40
1.23 + * 40 Read Status ?
1.24 * 50
1.25 * 51
1.26 * 52
1.27 @@ -52,6 +52,8 @@
1.28 #define PKT_CMD_READ_TOC 0x14
1.29 #define PKT_CMD_SESSION_INFO 0x15
1.30 #define PKT_CMD_READ_SECTOR 0x30
1.31 +#define PKT_CMD_PLAY_CD 0x20 /* ? */
1.32 +#define PKT_CMD_STATUS 0x40
1.33 #define PKT_CMD_SPIN_UP 0x70 /* ??? */
1.34 #define PKT_CMD_71 0x71 /* ??? seems to return garbage */
1.35
.