Search
lxdream.org :: lxdream/src/gdrom/ide.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/ide.h
changeset 1097:d4807997e450
prev858:368fc0dcd57c
author nkeynes
date Fri Oct 29 07:52:45 2010 +1000 (13 years ago)
permissions -rw-r--r--
last change Fix triangle extraction when the tile entry is a triangle but the polygon is
actually a strip (lead to extracting too many triangles)
file annotate diff log raw
1.1 --- a/src/gdrom/ide.h Fri Sep 12 11:59:49 2008 +0000
1.2 +++ b/src/gdrom/ide.h Fri Oct 29 07:52:45 2010 +1000
1.3 @@ -33,6 +33,10 @@
1.4 #define GDROM_SENSE_LENGTH 10
1.5 #define GDROM_MODE_LENGTH 32
1.6
1.7 +#define IDE_DISC_READY 0x01 /* ored with above */
1.8 +#define IDE_DISC_IDLE 0x02 /* ie spun-down */
1.9 +#define IDE_DISC_NONE 0x06 /* No media in drive */
1.10 +
1.11 struct ide_registers {
1.12 /* IDE interface registers */
1.13 uint8_t status; /* A05F709C + A05F7018 Read-only */
.