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

« back to all changes in this revision

Viewing changes to src/mame/includes/tankbust.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:
2
2
{
3
3
public:
4
4
        tankbust_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_txtram(*this, "txtram"),
 
7
                m_videoram(*this, "videoram"),
 
8
                m_colorram(*this, "colorram"),
 
9
                m_spriteram(*this, "spriteram"){ }
6
10
 
7
11
        int m_latch;
8
12
        UINT32 m_timer1;
9
13
        int m_e0xx_data[8];
10
14
        UINT8 m_variable_data;
11
 
        UINT8 *m_txtram;
12
 
        UINT8 *m_videoram;
13
 
        UINT8 *m_colorram;
 
15
        required_shared_ptr<UINT8> m_txtram;
 
16
        required_shared_ptr<UINT8> m_videoram;
 
17
        required_shared_ptr<UINT8> m_colorram;
14
18
        tilemap_t *m_bg_tilemap;
15
19
        tilemap_t *m_txt_tilemap;
16
20
        UINT8 m_xscroll[2];
17
21
        UINT8 m_yscroll[2];
18
 
        UINT8 *m_spriteram;
19
 
        size_t m_spriteram_size;
 
22
        required_shared_ptr<UINT8> m_spriteram;
20
23
 
21
24
        UINT8 m_irq_mask;
 
25
        DECLARE_WRITE8_MEMBER(tankbust_soundlatch_w);
 
26
        DECLARE_WRITE8_MEMBER(tankbust_e0xx_w);
 
27
        DECLARE_READ8_MEMBER(debug_output_area_r);
 
28
        DECLARE_READ8_MEMBER(read_from_unmapped_memory);
 
29
        DECLARE_READ8_MEMBER(some_changing_input);
 
30
        DECLARE_WRITE8_MEMBER(tankbust_background_videoram_w);
 
31
        DECLARE_READ8_MEMBER(tankbust_background_videoram_r);
 
32
        DECLARE_WRITE8_MEMBER(tankbust_background_colorram_w);
 
33
        DECLARE_READ8_MEMBER(tankbust_background_colorram_r);
 
34
        DECLARE_WRITE8_MEMBER(tankbust_txtram_w);
 
35
        DECLARE_READ8_MEMBER(tankbust_txtram_r);
 
36
        DECLARE_WRITE8_MEMBER(tankbust_xscroll_w);
 
37
        DECLARE_WRITE8_MEMBER(tankbust_yscroll_w);
22
38
};
23
39
 
24
40
 
27
43
VIDEO_START( tankbust );
28
44
SCREEN_UPDATE_IND16( tankbust );
29
45
 
30
 
WRITE8_HANDLER( tankbust_background_videoram_w );
31
 
READ8_HANDLER( tankbust_background_videoram_r );
32
 
WRITE8_HANDLER( tankbust_background_colorram_w );
33
 
READ8_HANDLER( tankbust_background_colorram_r );
34
 
WRITE8_HANDLER( tankbust_txtram_w );
35
 
READ8_HANDLER( tankbust_txtram_r );
36
46
 
37
 
WRITE8_HANDLER( tankbust_xscroll_w );
38
 
WRITE8_HANDLER( tankbust_yscroll_w );
39
47
 
40
48