blob: ff69fd43fd7e6cc69f430970f23df36903d136ec (
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
|
/***************************************************************************
PSX SPU
preliminary version by smf.
***************************************************************************/
#pragma once
#ifndef __SOUND_PSX_H__
#define __SOUND_PSX_H__
#include "devlegcy.h"
WRITE32_DEVICE_HANDLER( psx_spu_w );
READ32_DEVICE_HANDLER( psx_spu_r );
WRITE32_DEVICE_HANDLER( psx_spu_delay_w );
READ32_DEVICE_HANDLER( psx_spu_delay_r );
typedef void ( *spu_handler )( running_machine *, UINT32, INT32 );
typedef struct _psx_spu_interface psx_spu_interface;
struct _psx_spu_interface
{
UINT32 **p_psxram;
void (*irq_set)(running_device *,UINT32);
void (*spu_install_read_handler)(int,spu_handler);
void (*spu_install_write_handler)(int,spu_handler);
};
DECLARE_LEGACY_SOUND_DEVICE(PSXSPU, psxspu);
#endif /* __SOUND_PSX_H__ */
|