From 0edda6dda2011891345f33f0f77c256b059abebf Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 19 Aug 2010 08:27:05 +0000 Subject: Remove memory_read/write_byte/word/dword/qword* variants. Again, this is mostly bulk search & replace: S: memory_read_([bytewordq]+)_[0-9lbe_maskd]+( *)\(( *)([^,]+)( *),( *) R: \4->read_\1\2\(\3 S: memory_read_([bytewordq]+)( *)\(( *)([^,]+)( *),( *) R: \4->read_\1\2\(\3 S: memory_write_([bytewordq]+)_[0-9lbe_maskd]+( *)\(( *)([^,]+)( *),( *) R: \4->write_\1\2\(\3 S: memory_write_([bytewordq]+)( *)\(( *)([^,]+)( *),( *) R: \4->write_\1\2\(\3 Gets 99% of the cases. --- src/emu/cpu/pdp1/pdp1.c | 4 ++-- src/emu/cpu/pdp1/tx0.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/emu/cpu/pdp1') diff --git a/src/emu/cpu/pdp1/pdp1.c b/src/emu/cpu/pdp1/pdp1.c index e3c7a4548db..fb7594a1623 100644 --- a/src/emu/cpu/pdp1/pdp1.c +++ b/src/emu/cpu/pdp1/pdp1.c @@ -343,8 +343,8 @@ #define LOG_EXTRA 0 #define LOG_IOT_EXTRA 0 -#define READ_PDP_18BIT(A) ((signed)memory_read_dword_32be(cpustate->program, (A)<<2)) -#define WRITE_PDP_18BIT(A,V) (memory_write_dword_32be(cpustate->program, (A)<<2,(V))) +#define READ_PDP_18BIT(A) ((signed)cpustate->program->read_dword((A)<<2)) +#define WRITE_PDP_18BIT(A,V) (cpustate->program->write_dword((A)<<2,(V))) /* PDP1 Registers */ diff --git a/src/emu/cpu/pdp1/tx0.c b/src/emu/cpu/pdp1/tx0.c index 13e4784a6d8..bc587a19196 100644 --- a/src/emu/cpu/pdp1/tx0.c +++ b/src/emu/cpu/pdp1/tx0.c @@ -76,8 +76,8 @@ INLINE tx0_state *get_safe_token(running_device *device) return (tx0_state *)downcast(device)->token(); } -#define READ_TX0_18BIT(A) ((signed)memory_read_dword_32be(cpustate->program, (A)<<2)) -#define WRITE_TX0_18BIT(A,V) (memory_write_dword_32be(cpustate->program, (A)<<2,(V))) +#define READ_TX0_18BIT(A) ((signed)cpustate->program->read_dword((A)<<2)) +#define WRITE_TX0_18BIT(A,V) (cpustate->program->write_dword((A)<<2,(V))) #define io_handler_rim 3 -- cgit v1.2.3-70-g09d2