blob: d23a13e88dc187f28e8cfa88ba55fe6620f68ac6 (
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
|
/*********************************************************/
/* SEGA 8bit PCM */
/*********************************************************/
#pragma once
#ifndef __SEGAPCM_H__
#define __SEGAPCM_H__
#define BANK_256 (11)
#define BANK_512 (12)
#define BANK_12M (13)
#define BANK_MASK7 (0x70<<16)
#define BANK_MASKF (0xf0<<16)
#define BANK_MASKF8 (0xf8<<16)
typedef struct _sega_pcm_interface sega_pcm_interface;
struct _sega_pcm_interface
{
int bank;
};
WRITE8_DEVICE_HANDLER( sega_pcm_w );
READ8_DEVICE_HANDLER( sega_pcm_r );
DEVICE_GET_INFO( segapcm );
#define SOUND_SEGAPCM DEVICE_GET_INFO_NAME( segapcm )
#endif /* __SEGAPCM_H__ */
|