63 # define EXECUTED_68 4
75 #define ISIO68(ADDR) ((ADDR)&0x800000)
99 #define read_B(ADDR) read_68000mem_b(ADDR)
100 #define read_W(ADDR) read_68000mem_w(ADDR)
101 #define read_L(ADDR) read_68000mem_l(ADDR)
104 #define write_B(ADDR,VAL) write_68000mem_b(ADDR,VAL)
106 #define write_W(ADDR,VAL) write_68000mem_w(ADDR,VAL)
108 #define write_L(ADDR,VAL) write_68000mem_l(ADDR,VAL)
void EMU68memory_new_area(u8 area, memrfunc68_t *read_bwl, memwfunc68_t *write_bwl)
Add a new memory access control area (for new IO)
void pushl(s32 v)
Push long.
unsigned int u32
Must be an unsigned 32 bit integer.
Definition: type68.h:37
s32 get_nextl(void)
Decode long and update PC.
void EMU68memory_reset(void)
Reset memory quick access table.
void write_68000mem_l(u32 addr, u32 v)
Write memory long.
unsigned char u8
Must be an unsigned 8 bit integer.
Definition: type68.h:31
void write_68000mem_w(u32 addr, u32 v)
Write memory word.
u32(* memrfunc68_t)(u32 addr, cycle68_t cycle)
Read memory function.
Definition: struct68.h:42
memrfunc68_t read_mem_jmp_b[256]
Read byte.
void write_68000mem_b(u32 addr, u32 v)
Write memory byte.
memrfunc68_t read_mem_jmp_l[256]
Read long.
s32 get_nextw(void)
Decode word and update PC.
memwfunc68_t write_mem_jmp_b[256]
Write byte.
signed int s32
Must be an signed 32 bit integer.
Definition: type68.h:38
void(* memwfunc68_t)(u32 addr, u32 value, cycle68_t cycle)
Write memory function.
Definition: struct68.h:45
memwfunc68_t write_mem_jmp_w[256]
Write word.
void pushw(s32 v)
Push word.
memwfunc68_t write_mem_jmp_l[256]
Write long.
u32 read_68000mem_b(u32 addr)
Read memory byte.
u32 read_68000mem_l(u32 addr)
Read memory long.
memrfunc68_t read_mem_jmp_w[256]
Read word.
void EMU68memory_init(void)
Init memory quick access table.
u32 read_68000mem_w(u32 addr)
Read memory word.
void EMU68memory_reset_area(u8 area)
Reset memory access control area to default state.