summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/sp0256.h
blob: edcfd6d0701b11d9159b2cf0393d97d15ebe0530 (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
#pragma once

#ifndef __SP0256_H__
#define __SP0256_H__

/*
   GI SP0256 Narrator Speech Processor

   By Joe Zbiciak. Ported to MESS by tim lindner.

 Copyright Joseph Zbiciak, all rights reserved.
 Copyright tim lindner, all rights reserved.

 - This source code is released as freeware for non-commercial purposes.
 - You are free to use and redistribute this code in modified or
   unmodified form, provided you list us in the credits.
 - If you modify this source code, you must add a notice to each
   modified source file that it has been changed.  If you're a nice
   person, you will clearly mark each change too.  :)
 - If you wish to use this for commercial purposes, please contact us at
   intvnut@gmail.com (Joe Zbiciak), tlindner@macmess.org (tim lindner)
 - This entire notice must remain in the source code.

*/

typedef struct _sp0256_interface sp0256_interface;
struct _sp0256_interface {
	void (*lrq_callback)(const device_config *device, int state);
	void (*sby_callback)(const device_config *device, int state);
};

void sp0256_bitrevbuff(UINT8 *buffer, unsigned int start, unsigned int length);

WRITE8_HANDLER( sp0256_ALD_w );

READ16_HANDLER( spb640_r );
WRITE16_HANDLER( spb640_w );

#endif /* __SP0256_H__ */