summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/segapcm.h
blob: 5a8e7eb53f7337686ff8963c65f3e21861d26116 (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
/*********************************************************/
/*    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_HANDLER( sega_pcm_w );
READ8_HANDLER( sega_pcm_r );

SND_GET_INFO( segapcm );

#endif /* __SEGAPCM_H__ */