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 void s2650_get_info(UINT32 state, cpuinfo *info);
extern offs_t s2650_dasm(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram);
#endif /* __S2650_H__ */
|