summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/6532riot.h
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2009-09-22 20:11:23 +0000
committer Couriersud <couriersud@users.noreply.github.com>2009-09-22 20:11:23 +0000
commit841cbd77c7d7ec4ac6de21f7c96f049e8d90b499 (patch)
tree8808b869dd450915e9f8b519bae32a7ece15ee0b /src/emu/machine/6532riot.h
parent47fbe6897d8732cdf879a1eb38f61dedce891b4c (diff)
Converted 6532riot to devcb interfaces
- updated all drivers - converted drivers to RS/WS tms5220 interface where appropriate - removed quite some trampoline functions
Diffstat (limited to 'src/emu/machine/6532riot.h')
-rw-r--r--src/emu/machine/6532riot.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/emu/machine/6532riot.h b/src/emu/machine/6532riot.h
index b893fcc2ff2..c7d604ae45b 100644
--- a/src/emu/machine/6532riot.h
+++ b/src/emu/machine/6532riot.h
@@ -7,24 +7,21 @@
#ifndef __RIOT6532_H__
#define __RIOT6532_H__
+#include "devcb.h"
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
-typedef UINT8 (*riot_read_func)(const device_config *device, UINT8 olddata);
-typedef void (*riot_write_func)(const device_config *device, UINT8 newdata, UINT8 olddata);
-typedef void (*riot_irq_func)(const device_config *device, int state);
-
typedef struct _riot6532_interface riot6532_interface;
struct _riot6532_interface
{
- riot_read_func in_a_func;
- riot_read_func in_b_func;
- riot_write_func out_a_func;
- riot_write_func out_b_func;
- riot_irq_func irq_func;
+ devcb_read8 in_a_func;
+ devcb_read8 in_b_func;
+ devcb_write8 out_a_func;
+ devcb_write8 out_b_func;
+ devcb_write_line irq_func;
};