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

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/tnzs.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
 
#define MAX_SAMPLES     0x2f            /* max samples */
3
 
 
4
 
enum
5
 
{
6
 
        MCU_NONE_INSECTX = 0,
7
 
        MCU_NONE_KAGEKI,
8
 
        MCU_NONE_TNZSB,
9
 
        MCU_NONE_KABUKIZ,
10
 
        MCU_EXTRMATN,
11
 
        MCU_ARKANOID,
12
 
        MCU_PLUMPOP,
13
 
        MCU_DRTOPPEL,
14
 
        MCU_CHUKATAI,
15
 
        MCU_TNZS
16
 
};
17
 
 
18
 
class tnzs_state : public driver_device
19
 
{
20
 
public:
21
 
        tnzs_state(const machine_config &mconfig, device_type type, const char *tag)
22
 
                : driver_device(mconfig, type, tag) { }
23
 
 
24
 
        /* memory pointers */
25
 
//  UINT8 *  m_paletteram;    // currently this uses generic palette handling
26
 
 
27
 
        /* video-related */
28
 
        int      m_screenflip;
29
 
 
30
 
        /* sound-related */
31
 
        INT16    *m_sampledata[MAX_SAMPLES];
32
 
        int      m_samplesize[MAX_SAMPLES];
33
 
 
34
 
        /* misc / mcu */
35
 
        int      m_kageki_csport_sel;
36
 
        int      m_input_select;
37
 
        int      m_mcu_type;
38
 
        int      m_mcu_initializing;
39
 
        int      m_mcu_coinage_init;
40
 
        int      m_mcu_command;
41
 
        int      m_mcu_readcredits;
42
 
        int      m_mcu_reportcoin;
43
 
        int      m_insertcoin;
44
 
        UINT8    m_mcu_coinage[4];
45
 
        UINT8    m_mcu_coins_a;
46
 
        UINT8    m_mcu_coins_b;
47
 
        UINT8    m_mcu_credits;
48
 
        int      m_bank1;
49
 
        int      m_bank2;
50
 
 
51
 
        /* devices */
52
 
        device_t *m_audiocpu;
53
 
        device_t *m_subcpu;
54
 
        device_t *m_mcu;
55
 
};
56
 
 
57
 
 
58
 
/*----------- defined in machine/tnzs.c -----------*/
59
 
 
60
 
READ8_HANDLER( tnzs_port1_r );
61
 
READ8_HANDLER( tnzs_port2_r );
62
 
WRITE8_HANDLER( tnzs_port2_w );
63
 
READ8_HANDLER( arknoid2_sh_f000_r );
64
 
READ8_HANDLER( tnzs_mcu_r );
65
 
WRITE8_HANDLER( tnzs_mcu_w );
66
 
WRITE8_HANDLER( tnzs_bankswitch_w );
67
 
WRITE8_HANDLER( tnzs_bankswitch1_w );
68
 
INTERRUPT_GEN( arknoid2_interrupt );
69
 
 
70
 
DRIVER_INIT( plumpop );
71
 
DRIVER_INIT( extrmatn );
72
 
DRIVER_INIT( arknoid2 );
73
 
DRIVER_INIT( drtoppel );
74
 
DRIVER_INIT( chukatai );
75
 
DRIVER_INIT( tnzs );
76
 
DRIVER_INIT( tnzsb );
77
 
DRIVER_INIT( kabukiz );
78
 
DRIVER_INIT( insectx );
79
 
DRIVER_INIT( kageki );
80
 
 
81
 
MACHINE_START( tnzs );
82
 
MACHINE_RESET( tnzs );
83
 
MACHINE_RESET( jpopnics );
84
 
MACHINE_START( jpopnics );
85
 
 
86
 
 
87
 
/*----------- defined in video/tnzs.c -----------*/
88
 
 
89
 
PALETTE_INIT( arknoid2 );
90
 
SCREEN_UPDATE( tnzs );
91
 
SCREEN_EOF( tnzs );