Search
lxdream.org :: lxdream/src/gdrom/ide.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/ide.c
changeset 15:5194dd0fdb60
prev2:42349f6ea216
next23:1ec3acd0594d
author nkeynes
date Thu Dec 22 13:52:02 2005 +0000 (18 years ago)
permissions -rw-r--r--
last change Implement status clearing correctly
file annotate diff log raw
1.1 --- a/src/gdrom/ide.c Sat Aug 21 06:15:49 2004 +0000
1.2 +++ b/src/gdrom/ide.c Thu Dec 22 13:52:02 2005 +0000
1.3 @@ -5,10 +5,17 @@
1.4 * under the terms of the GNU General Public License version 2 or later.
1.5 */
1.6 #include <stdlib.h>
1.7 +#include "modules.h"
1.8 #include "ide.h"
1.9
1.10 #define MAX_WRITE_BUF 4096;
1.11
1.12 +void ide_init( void );
1.13 +void ide_init( void );
1.14 +
1.15 +struct dreamcast_module ide_module = { "IDE", ide_init, ide_reset, NULL, NULL,
1.16 + NULL, NULL };
1.17 +
1.18 struct ide_registers idereg;
1.19
1.20 static char command_buffer[12];
1.21 @@ -45,6 +52,11 @@
1.22 /* TODO */
1.23 }
1.24
1.25 +void ide_init( void )
1.26 +{
1.27 +
1.28 +}
1.29 +
1.30 void ide_reset( void )
1.31 {
1.32 ide_clear_interrupt();
.