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

« back to all changes in this revision

Viewing changes to src/mame/includes/gaplus.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:
10
10
{
11
11
public:
12
12
        gaplus_state(const machine_config &mconfig, device_type type, const char *tag)
13
 
                : driver_device(mconfig, type, tag) { }
 
13
                : driver_device(mconfig, type, tag),
 
14
                  m_customio_3(*this,"customio_3"),
 
15
                  m_videoram(*this,"videoram"),
 
16
                  m_spriteram(*this,"spriteram") { }
14
17
 
15
 
        UINT8 *m_customio_3;
16
 
        UINT8 *m_videoram;
17
 
        UINT8 *m_spriteram;
 
18
        required_shared_ptr<UINT8> m_customio_3;
 
19
        required_shared_ptr<UINT8> m_videoram;
 
20
        required_shared_ptr<UINT8> m_spriteram;
18
21
        tilemap_t *m_bg_tilemap;
19
22
        UINT8 m_starfield_control[4];
20
23
        int m_total_stars;
22
25
        UINT8 m_main_irq_mask;
23
26
        UINT8 m_sub_irq_mask;
24
27
        UINT8 m_sub2_irq_mask;
 
28
        DECLARE_READ8_MEMBER(gaplus_spriteram_r);
 
29
        DECLARE_WRITE8_MEMBER(gaplus_spriteram_w);
 
30
        DECLARE_WRITE8_MEMBER(gaplus_irq_1_ctrl_w);
 
31
        DECLARE_WRITE8_MEMBER(gaplus_irq_2_ctrl_w);
 
32
        DECLARE_WRITE8_MEMBER(gaplus_irq_3_ctrl_w);
 
33
        DECLARE_WRITE8_MEMBER(gaplus_sreset_w);
 
34
        DECLARE_WRITE8_MEMBER(gaplus_freset_w);
 
35
        DECLARE_WRITE8_MEMBER(gaplus_customio_3_w);
 
36
        DECLARE_READ8_MEMBER(gaplus_customio_3_r);
 
37
        DECLARE_READ8_MEMBER(gaplus_videoram_r);
 
38
        DECLARE_WRITE8_MEMBER(gaplus_videoram_w);
 
39
        DECLARE_WRITE8_MEMBER(gaplus_starfield_control_w);
25
40
};
26
41
 
27
42
 
28
43
/*----------- defined in machine/gaplus.c -----------*/
29
44
 
30
 
WRITE8_HANDLER( gaplus_customio_3_w );
31
 
READ8_HANDLER( gaplus_customio_3_r );
32
45
 
33
46
 
34
47
/*----------- defined in video/gaplus.c -----------*/
35
48
 
36
 
READ8_HANDLER( gaplus_videoram_r );
37
 
WRITE8_HANDLER( gaplus_videoram_w );
38
 
WRITE8_HANDLER( gaplus_starfield_control_w );
39
49
VIDEO_START( gaplus );
40
50
PALETTE_INIT( gaplus );
41
51
SCREEN_UPDATE_IND16( gaplus );