diff options
Diffstat (limited to 'src/emu/cpu/s2650/s2650.h')
-rw-r--r-- | src/emu/cpu/s2650/s2650.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/emu/cpu/s2650/s2650.h b/src/emu/cpu/s2650/s2650.h new file mode 100644 index 00000000000..36fcfd6dd3e --- /dev/null +++ b/src/emu/cpu/s2650/s2650.h @@ -0,0 +1,30 @@ +#ifndef S2650_H +#define S2650_H + +#include "cpuintrf.h" + +enum { + S2650_PC=1, S2650_PS, S2650_R0, S2650_R1, S2650_R2, S2650_R3, + S2650_R1A, S2650_R2A, S2650_R3A, + S2650_HALT, S2650_SI, S2650_FO +}; + +/* fake control port M/~IO=0 D/~C=0 E/~NE=0 */ +#define S2650_CTRL_PORT 0x100 + +/* fake data port M/~IO=0 D/~C=1 E/~NE=0 */ +#define S2650_DATA_PORT 0x101 + +/* extended i/o ports M/~IO=0 D/~C=x E/~NE=1 */ +#define S2650_EXT_PORT 0xff + +/* Fake Sense Line */ +#define S2650_SENSE_PORT 0x102 + +extern void s2650_get_info(UINT32 state, cpuinfo *info); + +#ifdef MAME_DEBUG +extern offs_t s2650_dasm(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram); +#endif + +#endif |