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 Sun Jan 31 18:35:06 2010 +1000 (12 years ago)
permissions -rw-r--r--
last change Refactor CDROM host support
- Completely separate GDROM hardware (in gdrom/gdrom.c) from generic CDROM
support (now in drivers/cdrom)
- Add concept of 'sector sources' that can be mixed and matched to create
cdrom discs (makes support of arbitrary disc types much simpler)
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 Sun Jan 31 18:35:06 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 */
.