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

« back to all changes in this revision

Viewing changes to src/mame/includes/battlex.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
        battlex_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_spriteram(*this, "spriteram"){ }
12
14
 
13
15
        UINT8 m_in0_b4;
14
16
 
15
17
        /* memory pointers */
16
 
        UINT8 * m_videoram;
17
 
        UINT8 * m_spriteram;
 
18
        required_shared_ptr<UINT8> m_videoram;
 
19
        required_shared_ptr<UINT8> m_spriteram;
18
20
 
19
21
        /* video-related */
20
22
        tilemap_t *m_bg_tilemap;
21
23
        UINT8 m_scroll_lsb;
22
24
        UINT8 m_scroll_msb;
23
25
        UINT8 m_starfield_enabled;
 
26
        DECLARE_WRITE8_MEMBER(battlex_palette_w);
 
27
        DECLARE_WRITE8_MEMBER(battlex_scroll_x_lsb_w);
 
28
        DECLARE_WRITE8_MEMBER(battlex_scroll_x_msb_w);
 
29
        DECLARE_WRITE8_MEMBER(battlex_scroll_starfield_w);
 
30
        DECLARE_WRITE8_MEMBER(battlex_videoram_w);
 
31
        DECLARE_WRITE8_MEMBER(battlex_flipscreen_w);
 
32
        DECLARE_CUSTOM_INPUT_MEMBER(battlex_in0_b4_r);
24
33
};
25
34
 
26
35
 
27
36
/*----------- defined in video/battlex.c -----------*/
28
37
 
29
 
extern WRITE8_HANDLER( battlex_palette_w );
30
 
extern WRITE8_HANDLER( battlex_videoram_w );
31
 
extern WRITE8_HANDLER( battlex_scroll_x_lsb_w );
32
 
extern WRITE8_HANDLER( battlex_scroll_x_msb_w );
33
 
extern WRITE8_HANDLER( battlex_scroll_starfield_w );
34
 
extern WRITE8_HANDLER( battlex_flipscreen_w );
35
38
 
36
39
extern VIDEO_START( battlex );
37
40
extern SCREEN_UPDATE_IND16( battlex );