blob: 47d898e0677516256df3a4fcb1454fedff8b30e6 (
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
32
33
34
35
36
37
38
39
|
/*** konami: Portable Konami cpu emulator ******************************************/
#pragma once
#ifndef __KONAMI_H__
#define __KONAMI_H__
#include "cpuintrf.h"
typedef void (*konami_set_lines_func)(const device_config *device, int lines);
enum
{
KONAMI_PC=1, KONAMI_S, KONAMI_CC ,KONAMI_A, KONAMI_B, KONAMI_U, KONAMI_X, KONAMI_Y,
KONAMI_DP
};
enum
{
CPUINFO_PTR_KONAMI_SETLINES_CALLBACK = CPUINFO_PTR_CPU_SPECIFIC
};
#define KONAMI_SETLINES_CALLBACK(name) void name(const device_config *device, int lines)
#define KONAMI_IRQ_LINE 0 /* IRQ line number */
#define KONAMI_FIRQ_LINE 1 /* FIRQ line number */
/* PUBLIC FUNCTIONS */
CPU_GET_INFO( konami );
CPU_DISASSEMBLE( konami );
INLINE void konami_configure_set_lines(const device_config *device, konami_set_lines_func func)
{
cpu_set_info_fct(device, CPUINFO_PTR_KONAMI_SETLINES_CALLBACK, (genf *)func);
}
#endif /* __KONAMI_H__ */
|