summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-22 19:29:29 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-22 19:29:29 +0000
commit8b675335b5b95c3805eb482b38ef30c6cc9b46cb (patch)
tree4d73b77f5c87417b0840c12a61bbbeb396ec9fdd /src/emu/cpu/m6502/m6502.h
parent9ee2f770aa2c3f2dfbb9b6a65a689b68bc0aa4dd (diff)
More conversion to the new memory functions.
And I will resist the urge to personally throttle those responsible for copying and pasting the m6502 core 4 times. What a disaster.
Diffstat (limited to 'src/emu/cpu/m6502/m6502.h')
-rw-r--r--src/emu/cpu/m6502/m6502.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/cpu/m6502/m6502.h b/src/emu/cpu/m6502/m6502.h
index 0c4e5931802..c8795d86117 100644
--- a/src/emu/cpu/m6502/m6502.h
+++ b/src/emu/cpu/m6502/m6502.h
@@ -62,6 +62,12 @@ enum
positiv edge sets overflow flag */
#define M6502_SET_OVERFLOW 1
+typedef UINT8 (*m6502_read_indexed_func)(const address_space *space, offs_t address);
+typedef void (*m6502_write_indexed_func)(const address_space *space, offs_t address, UINT8 data);
+typedef UINT8 (*m6510_port_read_func)(const device_config *device, UINT8 direction);
+typedef void (*m6510_port_write_func)(const device_config *device, UINT8 direction, UINT8 data);
+
+
enum
{
CPUINFO_PTR_M6502_READINDEXED_CALLBACK = CPUINFO_PTR_CPU_SPECIFIC,