~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/emu/sound/sp0256.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**********************************************************************
2
 
 
3
 
    SP0256 Narrator Speech Processor emulation
4
 
 
5
 
    Copyright MESS Team.
6
 
    Visit http://mamedev.org for licensing and usage restrictions.
7
 
 
8
 
**********************************************************************
9
 
                            _____   _____
10
 
                   Vss   1 |*    \_/     | 28  OSC 2
11
 
                _RESET   2 |             | 27  OSC 1
12
 
           ROM DISABLE   3 |             | 26  ROM CLOCK
13
 
                    C1   4 |             | 25  _SBY RESET
14
 
                    C2   5 |             | 24  DIGITAL OUT
15
 
                    C3   6 |             | 23  Vdi
16
 
                   Vdd   7 |    SP0256   | 22  TEST
17
 
                   SBY   8 |             | 21  SER IN
18
 
                  _LRQ   9 |             | 20  _ALD
19
 
                    A8  10 |             | 19  SE
20
 
                    A7  11 |             | 18  A1
21
 
               SER OUT  12 |             | 17  A2
22
 
                    A6  13 |             | 16  A3
23
 
                    A5  14 |_____________| 15  A4
24
 
 
25
 
**********************************************************************/
26
 
 
27
 
/*
28
 
   GI SP0256 Narrator Speech Processor
29
 
 
30
 
   By Joe Zbiciak. Ported to MESS by tim lindner.
31
 
 
32
 
 Copyright Joseph Zbiciak, all rights reserved.
33
 
 Copyright tim lindner, all rights reserved.
34
 
 
35
 
 - This source code is released as freeware for non-commercial purposes.
36
 
 - You are free to use and redistribute this code in modified or
37
 
   unmodified form, provided you list us in the credits.
38
 
 - If you modify this source code, you must add a notice to each
39
 
   modified source file that it has been changed.  If you're a nice
40
 
   person, you will clearly mark each change too.  :)
41
 
 - If you wish to use this for commercial purposes, please contact us at
42
 
   intvnut@gmail.com (Joe Zbiciak), tlindner@macmess.org (tim lindner)
43
 
 - This entire notice must remain in the source code.
44
 
 
45
 
*/
46
 
 
47
 
#pragma once
48
 
 
49
 
#ifndef __SP0256_H__
50
 
#define __SP0256_H__
51
 
 
52
 
#include "devlegcy.h"
53
 
 
54
 
 
55
 
typedef struct _sp0256_interface sp0256_interface;
56
 
struct _sp0256_interface
57
 
{
58
 
        devcb_write_line lrq_callback;
59
 
        devcb_write_line sby_callback;
60
 
};
61
 
 
62
 
void sp0256_bitrevbuff(UINT8 *buffer, unsigned int start, unsigned int length);
63
 
 
64
 
WRITE8_DEVICE_HANDLER( sp0256_ALD_w );
65
 
READ_LINE_DEVICE_HANDLER( sp0256_sby_r );
66
 
 
67
 
READ16_DEVICE_HANDLER( spb640_r );
68
 
WRITE16_DEVICE_HANDLER( spb640_w );
69
 
 
70
 
DECLARE_LEGACY_SOUND_DEVICE(SP0256, sp0256);
71
 
 
72
 
#endif /* __SP0256_H__ */