Search
lxdream.org :: lxdream/src/gdrom/packet.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/packet.h
changeset 158:a0a82246b44e
prev149:d88dd2e9a190
next245:a1d0655a88d3
author nkeynes
date Thu Jun 15 10:32:42 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix IDE DMA to actually work for real.
Implement the mystery packet 0x71 by cribbing a block of data from the dc.
file annotate diff log raw
1.1 --- a/src/gdrom/packet.h Sat May 20 06:24:49 2006 +0000
1.2 +++ b/src/gdrom/packet.h Thu Jun 15 10:32:42 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.3 2006-05-20 06:24:49 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.4 2006-06-15 10:32:42 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 @@ -39,7 +39,7 @@
1.11 * 53
1.12 * 54
1.13 * 55
1.14 - * 70
1.15 + * 70
1.16 * 71
1.17 * 72
1.18 * 73
1.19 @@ -50,9 +50,10 @@
1.20 #define PKT_CMD_IDENTIFY 0x11
1.21 #define PKT_CMD_SENSE 0x13
1.22 #define PKT_CMD_READ_TOC 0x14
1.23 -#define PKT_CMD_DISC_INFO 0x15
1.24 +#define PKT_CMD_SESSION_INFO 0x15
1.25 #define PKT_CMD_READ_SECTOR 0x30
1.26 #define PKT_CMD_SPIN_UP 0x70 /* ??? */
1.27 +#define PKT_CMD_71 0x71 /* ??? seems to return garbage */
1.28
1.29 #define PKT_ERR_OK 0x0000
1.30 #define PKT_ERR_NODISC 0x3A02
.