summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6805/m6805.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-22 20:08:41 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-22 20:08:41 +0000
commit0dcc155498bacd2bd99ac49945bf1aaf58a8eae1 (patch)
tree4b6fb7a86cde4d0060d760b561ddf09fcf4039cf /src/emu/cpu/m6805/m6805.h
parent5ca71f2d981e08f8ace01ea07e745f41fa90006c (diff)
And the 6805 core.
Diffstat (limited to 'src/emu/cpu/m6805/m6805.h')
-rw-r--r--src/emu/cpu/m6805/m6805.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/m6805/m6805.h b/src/emu/cpu/m6805/m6805.h
index 7649bafc3dd..cffb9feb459 100644
--- a/src/emu/cpu/m6805/m6805.h
+++ b/src/emu/cpu/m6805/m6805.h
@@ -63,26 +63,26 @@ extern CPU_GET_INFO( hd63705 );
/****************************************************************************/
/* Read a byte from given memory location */
/****************************************************************************/
-#define M6805_RDMEM(Addr) ((unsigned)program_read_byte_8be(Addr))
+#define M6805_RDMEM(Addr) ((unsigned)memory_read_byte_8be(m6805.program, Addr))
/****************************************************************************/
/* Write a byte to given memory location */
/****************************************************************************/
-#define M6805_WRMEM(Addr,Value) (program_write_byte_8be(Addr,Value))
+#define M6805_WRMEM(Addr,Value) (memory_write_byte_8be(m6805.program, Addr,Value))
/****************************************************************************/
/* M6805_RDOP() is identical to M6805_RDMEM() except it is used for reading */
/* opcodes. In case of system with memory mapped I/O, this function can be */
/* used to greatly speed up emulation */
/****************************************************************************/
-#define M6805_RDOP(Addr) ((unsigned)program_decrypted_read_byte(Addr))
+#define M6805_RDOP(Addr) ((unsigned)memory_decrypted_read_byte(m6805.program, Addr))
/****************************************************************************/
/* M6805_RDOP_ARG() is identical to M6805_RDOP() but it's used for reading */
/* opcode arguments. This difference can be used to support systems that */
/* use different encoding mechanisms for opcodes and opcode arguments */
/****************************************************************************/
-#define M6805_RDOP_ARG(Addr) ((unsigned)program_raw_read_byte(Addr))
+#define M6805_RDOP_ARG(Addr) ((unsigned)memory_raw_read_byte(m6805.program, Addr))
CPU_DISASSEMBLE( m6805 );