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

« back to all changes in this revision

Viewing changes to src/mame/includes/marineb.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
        marineb_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_videoram(*this, "videoram"),
 
7
                m_spriteram(*this, "spriteram"),
 
8
                m_colorram(*this, "colorram"){ }
6
9
 
7
 
        UINT8 *   m_videoram;
8
 
        UINT8 *   m_colorram;
9
 
        UINT8 *   m_spriteram;
 
10
        required_shared_ptr<UINT8> m_videoram;
 
11
        required_shared_ptr<UINT8> m_spriteram;
 
12
        required_shared_ptr<UINT8> m_colorram;
10
13
 
11
14
        /* video-related */
12
15
        tilemap_t   *m_bg_tilemap;
22
25
        device_t *m_audiocpu;
23
26
 
24
27
        UINT8     m_irq_mask;
 
28
        DECLARE_WRITE8_MEMBER(irq_mask_w);
 
29
        DECLARE_WRITE8_MEMBER(marineb_videoram_w);
 
30
        DECLARE_WRITE8_MEMBER(marineb_colorram_w);
 
31
        DECLARE_WRITE8_MEMBER(marineb_column_scroll_w);
 
32
        DECLARE_WRITE8_MEMBER(marineb_palette_bank_0_w);
 
33
        DECLARE_WRITE8_MEMBER(marineb_palette_bank_1_w);
 
34
        DECLARE_WRITE8_MEMBER(marineb_flipscreen_x_w);
 
35
        DECLARE_WRITE8_MEMBER(marineb_flipscreen_y_w);
25
36
};
26
37
 
27
38
 
28
39
/*----------- defined in video/marineb.c -----------*/
29
40
 
30
 
WRITE8_HANDLER( marineb_videoram_w );
31
 
WRITE8_HANDLER( marineb_colorram_w );
32
 
WRITE8_HANDLER( marineb_column_scroll_w );
33
 
WRITE8_HANDLER( marineb_palette_bank_0_w );
34
 
WRITE8_HANDLER( marineb_palette_bank_1_w );
35
 
WRITE8_HANDLER( marineb_flipscreen_x_w );
36
 
WRITE8_HANDLER( marineb_flipscreen_y_w );
37
41
 
38
42
PALETTE_INIT( marineb );
39
43
VIDEO_START( marineb );