blob: ab197d595e763627d2a0383a4679b75f648096ac (
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
|
/*
SCSP (YMF292-F) header
*/
#pragma once
#ifndef __SCSP_H__
#define __SCSP_H__
typedef struct _scsp_interface scsp_interface;
struct _scsp_interface
{
int roffset; /* offset in the region */
void (*irq_callback)(const device_config *device, int state); /* irq callback */
};
void scsp_set_ram_base(const device_config *device, void *base);
// SCSP register access
READ16_DEVICE_HANDLER( scsp_r );
WRITE16_DEVICE_HANDLER( scsp_w );
// MIDI I/O access (used for comms on Model 2/3)
WRITE16_DEVICE_HANDLER( scsp_midi_in );
READ16_DEVICE_HANDLER( scsp_midi_out_r );
extern UINT32* stv_scu;
DEVICE_GET_INFO( scsp );
#define SOUND_SCSP DEVICE_GET_INFO_NAME( scsp )
#endif /* __SCSP_H__ */
|