summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/alph8201
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-17 18:33:10 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-17 18:33:10 +0000
commite7c418ef0fccb0c316f8afef4b87e347141a474d (patch)
tree3c10861632813ef91fc9bb435fda216053b489d8 /src/emu/cpu/alph8201
parentcd6f509841d892d4d195aad6c2a7b05b45f55f78 (diff)
Generalized the concept of opbase access into "direct" access.
Removed opbase globals to the address_space structure. Cleaned up names of pointers (decrypted and raw versus rom and ram). Added inline functions to read/write data via any address space. Added macros for existing functions to point them to the new functions. Other related cleanups.
Diffstat (limited to 'src/emu/cpu/alph8201')
-rw-r--r--src/emu/cpu/alph8201/alph8201.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/alph8201/alph8201.h b/src/emu/cpu/alph8201/alph8201.h
index 34940f3b184..21f52072c2c 100644
--- a/src/emu/cpu/alph8201/alph8201.h
+++ b/src/emu/cpu/alph8201/alph8201.h
@@ -59,14 +59,14 @@ extern CPU_GET_INFO( alpha8301 );
* opcodes. In case of system with memory mapped I/O, this function can be
* used to greatly speed up emulation
*/
-#define ALPHA8201_RDOP(A) ((unsigned)cpu_readop(A))
+#define ALPHA8201_RDOP(A) ((unsigned)program_decrypted_read_byte(A))
/*
* ALPHA8201_RDOP_ARG() is identical to ALPHA8201_RDOP() except it is used for reading
* opcode arguments. This difference can be used to support systems that
* use different encoding mechanisms for opcodes and opcode arguments
*/
-#define ALPHA8201_RDOP_ARG(A) ((unsigned)cpu_readop_arg(A))
+#define ALPHA8201_RDOP_ARG(A) ((unsigned)program_raw_read_byte(A))
CPU_DISASSEMBLE( ALPHA8201 );