F3853 changes from MESS

This commit is contained in:
Nathan Woods 2008-11-28 00:14:22 +00:00
parent d007051957
commit 00cf5ec718
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@
databook found at www.freetradezone.com databook found at www.freetradezone.com
*/ */
#include "driver.h"
#include "f3853.h" #include "f3853.h"
/* /*
@ -72,7 +73,7 @@ static TIMER_CALLBACK( f3853_timer_callback )
} }
void f3853_init(running_machine *machine, const f3853_config *config) void f3853_init(const f3853_config *config)
{ {
UINT8 reg=0xfe; UINT8 reg=0xfe;
int i; int i;
@ -90,7 +91,7 @@ void f3853_init(running_machine *machine, const f3853_config *config)
f3853.priority_line=FALSE; f3853.priority_line=FALSE;
f3853.external_interrupt_line=TRUE; f3853.external_interrupt_line=TRUE;
f3853.timer = timer_alloc(machine, f3853_timer_callback, NULL); f3853.timer = timer_alloc(f3853_timer_callback, NULL);
} }
CPU_RESET( f3853 ) CPU_RESET( f3853 )

View File

@ -20,7 +20,7 @@ struct _f3853_config
void (*interrupt_request)(UINT16 addr, int level); void (*interrupt_request)(UINT16 addr, int level);
}; };
void f3853_init(running_machine *machine, const f3853_config *config); void f3853_init(const f3853_config *config);
CPU_RESET( f3853 ); CPU_RESET( f3853 );
// ports 0x0c - 0x0f // ports 0x0c - 0x0f