#include "emu68/type68.h"
Go to the source code of this file.
Data Structures | |
| struct | int68_t |
| 68K interruption exception structure. More... | |
| struct | _io68_t |
| IO emulator pluggin structure. More... | |
| struct | reg68_t |
| 68K emulator registers, memory and IO. More... | |
Defines | |
| #define | IO68_NO_INT (0x80000000) |
| IO no pending interruption return value. | |
| #define | NULL 0L |
| Default NULL constant. | |
| #define | MEM68MSK ((1<<19)-1) |
| Mask for memory overflow. | |
Typedefs | |
| typedef void( | linefunc68_t )(int, int) |
| First level (16 lines) decoder function. | |
| typedef _io68_t | io68_t |
| IO emulator pluggin structure. | |
Memory access caller type | |
| typedef u32(*) | memrfunc68_t (u32 addr, cycle68_t cycle) |
| Read memory function. | |
| typedef void(*) | memwfunc68_t (u32 addr, u32 value, cycle68_t cycle) |
| Write memory function. | |
| #define IO68_NO_INT (0x80000000) |
IO no pending interruption return value.
The next_int function of IO plugin must return IO68_NO_INT when no interruption are expected.
| #define NULL 0L |
Default NULL constant.
| typedef u32(*) memrfunc68_t(u32 addr, cycle68_t cycle) |
Read memory function.
| typedef void(*) memwfunc68_t(u32 addr, u32 value, cycle68_t cycle) |
Write memory function.
| typedef void( linefunc68_t)(int, int) |
First level (16 lines) decoder function.
IO emulator pluggin structure.
All 68K IO must have a filled io68_t structure to be warm plug or unplug with ioplug interface.
1.5.2