summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms32010/tms32010.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-23 00:40:10 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-23 00:40:10 +0000
commit6885dcc750ae0455e6c6d4ae98248d39a1b6abe9 (patch)
tree0e438328df23a54c5a05852b953e190ecadb8ec2 /src/emu/cpu/tms32010/tms32010.h
parentcf2bb4f315bb15b991e22665838f62f6792001e2 (diff)
TMS* CPUs conversion ... almost there.
Diffstat (limited to 'src/emu/cpu/tms32010/tms32010.h')
-rw-r--r--src/emu/cpu/tms32010/tms32010.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/emu/cpu/tms32010/tms32010.h b/src/emu/cpu/tms32010/tms32010.h
index 0a282e39bc6..aaa03fa0a09 100644
--- a/src/emu/cpu/tms32010/tms32010.h
+++ b/src/emu/cpu/tms32010/tms32010.h
@@ -59,21 +59,21 @@ CPU_GET_INFO( tms32010 );
* Read the state of the BIO pin
*/
-#define TMS32010_BIO_In (io_read_word_16be(TMS32010_BIO<<1))
+#define TMS32010_BIO_In (memory_read_word_16be(R.io, TMS32010_BIO<<1))
/****************************************************************************
* Input a word from given I/O port
*/
-#define TMS32010_In(Port) (io_read_word_16be((Port)<<1))
+#define TMS32010_In(Port) (memory_read_word_16be(R.io, (Port)<<1))
/****************************************************************************
* Output a word to given I/O port
*/
-#define TMS32010_Out(Port,Value) (io_write_word_16be((Port)<<1,Value))
+#define TMS32010_Out(Port,Value) (memory_write_word_16be(R.io, (Port)<<1,Value))
@@ -81,14 +81,14 @@ CPU_GET_INFO( tms32010 );
* Read a word from given ROM memory location
*/
-#define TMS32010_ROM_RDMEM(A) (program_read_word_16be((A)<<1))
+#define TMS32010_ROM_RDMEM(A) (memory_read_word_16be(R.program, (A)<<1))
/****************************************************************************
* Write a word to given ROM memory location
*/
-#define TMS32010_ROM_WRMEM(A,V) (program_write_word_16be((A)<<1,V))
+#define TMS32010_ROM_WRMEM(A,V) (memory_write_word_16be(R.program, (A)<<1,V))
@@ -96,14 +96,14 @@ CPU_GET_INFO( tms32010 );
* Read a word from given RAM memory location
*/
-#define TMS32010_RAM_RDMEM(A) (data_read_word_16be((A)<<1))
+#define TMS32010_RAM_RDMEM(A) (memory_read_word_16be(R.data, (A)<<1))
/****************************************************************************
* Write a word to given RAM memory location
*/
-#define TMS32010_RAM_WRMEM(A,V) (data_write_word_16be((A)<<1,V))
+#define TMS32010_RAM_WRMEM(A,V) (memory_write_word_16be(R.data, (A)<<1,V))
@@ -113,7 +113,7 @@ CPU_GET_INFO( tms32010 );
* used to greatly speed up emulation
*/
-#define TMS32010_RDOP(A) (program_decrypted_read_word((A)<<1))
+#define TMS32010_RDOP(A) (memory_decrypted_read_word(R.program, (A)<<1))
/****************************************************************************
@@ -122,7 +122,7 @@ CPU_GET_INFO( tms32010 );
* that use different encoding mechanisms for opcodes and opcode arguments
*/
-#define TMS32010_RDOP_ARG(A) (program_raw_read_word((A)<<1))
+#define TMS32010_RDOP_ARG(A) (memory_raw_read_word(R.program, (A)<<1))