summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/s2650/s2650.h
blob: 43d0b18d63f70e3b35fe7ce3fb7c4f31668d1d23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#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 CPU_GET_INFO( s2650 );

extern CPU_DISASSEMBLE( s2650 );

#endif /* __S2650_H__ */