~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/includes/kopunch.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
{
9
9
public:
10
10
        kopunch_state(const machine_config &mconfig, device_type type, const char *tag)
11
 
                : driver_device(mconfig, type, tag) { }
 
11
                : driver_device(mconfig, type, tag) ,
 
12
                m_videoram(*this, "videoram"),
 
13
                m_videoram2(*this, "videoram2"){ }
12
14
 
13
15
        /* memory pointers */
14
 
        UINT8 *    m_videoram;
15
 
        UINT8 *    m_videoram2;
 
16
        required_shared_ptr<UINT8> m_videoram;
 
17
        required_shared_ptr<UINT8> m_videoram2;
16
18
        UINT8 *    m_colorram;
17
19
        UINT8 *    m_spriteram;
18
20
        size_t     m_spriteram_size;
24
26
 
25
27
        /* devices */
26
28
        device_t *m_maincpu;
 
29
        DECLARE_READ8_MEMBER(kopunch_in_r);
 
30
        DECLARE_WRITE8_MEMBER(kopunch_lamp_w);
 
31
        DECLARE_WRITE8_MEMBER(kopunch_coin_w);
 
32
        DECLARE_WRITE8_MEMBER(kopunch_videoram_w);
 
33
        DECLARE_WRITE8_MEMBER(kopunch_videoram2_w);
 
34
        DECLARE_WRITE8_MEMBER(kopunch_scroll_x_w);
 
35
        DECLARE_WRITE8_MEMBER(kopunch_scroll_y_w);
 
36
        DECLARE_WRITE8_MEMBER(kopunch_gfxbank_w);
 
37
        DECLARE_INPUT_CHANGED_MEMBER(left_coin_inserted);
 
38
        DECLARE_INPUT_CHANGED_MEMBER(right_coin_inserted);
27
39
};
28
40
 
29
41
/*----------- defined in video/kopunch.c -----------*/
30
42
 
31
 
WRITE8_HANDLER( kopunch_videoram_w );
32
 
WRITE8_HANDLER( kopunch_videoram2_w );
33
 
WRITE8_HANDLER( kopunch_scroll_x_w );
34
 
WRITE8_HANDLER( kopunch_scroll_y_w );
35
 
WRITE8_HANDLER( kopunch_gfxbank_w );
36
43
 
37
44
PALETTE_INIT( kopunch );
38
45
VIDEO_START( kopunch );