diff options
author | 2008-11-19 19:27:04 +0000 | |
---|---|---|
committer | 2008-11-19 19:27:04 +0000 | |
commit | 2cd2454c39610c9d0ad9748d5c485b87eb4212c4 (patch) | |
tree | 3a76510e8a6225d4688ef92f0429e7066793b141 /src/emu/cpu/m6809/m6809.h | |
parent | 47c75a8ef4abd977969701a36ff4c2d4c23c8236 (diff) |
Switched m6809 and hd6309 to new memory functions
* cleaned up some macros
* aligned code a bit more
* interrupts now checked in cpu_execute instead of set_context
Diffstat (limited to 'src/emu/cpu/m6809/m6809.h')
-rw-r--r-- | src/emu/cpu/m6809/m6809.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/emu/cpu/m6809/m6809.h b/src/emu/cpu/m6809/m6809.h index 56d7ed1129f..410ae4475a2 100644 --- a/src/emu/cpu/m6809/m6809.h +++ b/src/emu/cpu/m6809/m6809.h @@ -21,41 +21,9 @@ CPU_GET_INFO( m6809 ); /* M6809e has LIC line to indicate opcode/data fetch */ CPU_GET_INFO( m6809e ); -/****************************************************************************/ -/* Read a byte from given memory location */ -/****************************************************************************/ -/* ASG 971005 -- changed to program_read_byte_8/cpu_writemem16 */ -#define M6809_RDMEM(Addr) ((unsigned)program_read_byte_8be(Addr)) - -/****************************************************************************/ -/* Write a byte to given memory location */ -/****************************************************************************/ -#define M6809_WRMEM(Addr,Value) (program_write_byte_8be(Addr,Value)) - -/****************************************************************************/ -/* Z80_RDOP() is identical to Z80_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 M6809_RDOP(Addr) ((unsigned)program_decrypted_read_byte(Addr)) - -/****************************************************************************/ -/* Z80_RDOP_ARG() is identical to Z80_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 M6809_RDOP_ARG(Addr) ((unsigned)program_raw_read_byte(Addr)) - -#ifndef FALSE -# define FALSE 0 -#endif -#ifndef TRUE -# define TRUE (!FALSE) -#endif CPU_DISASSEMBLE( m6809 ); - typedef struct _m6809_config m6809_config; struct _m6809_config { |