diff options
author | 2010-08-19 08:27:05 +0000 | |
---|---|---|
committer | 2010-08-19 08:27:05 +0000 | |
commit | 0edda6dda2011891345f33f0f77c256b059abebf (patch) | |
tree | 90ba2b62ff911ff1bc737a56025e58155e9ce4dc /src/emu/cpu/pdp1 | |
parent | 3598b772bc80b2efb6396c65996462b38eedc593 (diff) |
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.
Diffstat (limited to 'src/emu/cpu/pdp1')
-rw-r--r-- | src/emu/cpu/pdp1/pdp1.c | 4 | ||||
-rw-r--r-- | src/emu/cpu/pdp1/tx0.c | 4 |
2 files changed, 4 insertions, 4 deletions
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<legacy_cpu_device *>(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 |