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

« back to all changes in this revision

Viewing changes to src/mame/includes/dogfgt.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:
7
7
{
8
8
public:
9
9
        dogfgt_state(const machine_config &mconfig, device_type type, const char *tag)
10
 
                : driver_device(mconfig, type, tag) { }
 
10
                : driver_device(mconfig, type, tag) ,
 
11
                m_bgvideoram(*this, "bgvideoram"),
 
12
                m_spriteram(*this, "spriteram"),
 
13
                m_sharedram(*this, "sharedram") { }
11
14
 
12
15
        /* memory pointers */
13
 
        UINT8 *    m_bgvideoram;
14
 
        UINT8 *    m_spriteram;
15
 
        UINT8 *    m_sharedram;
 
16
        required_shared_ptr<UINT8> m_bgvideoram;
 
17
        required_shared_ptr<UINT8> m_spriteram;
 
18
        required_shared_ptr<UINT8> m_sharedram;
16
19
//  UINT8 *    m_paletteram;  // currently this uses generic palette handling
17
 
        size_t     m_spriteram_size;
18
20
 
19
21
        /* video-related */
20
22
        bitmap_ind16 m_pixbitmap;
32
34
 
33
35
        /* devices */
34
36
        device_t *m_subcpu;
 
37
        DECLARE_READ8_MEMBER(sharedram_r);
 
38
        DECLARE_WRITE8_MEMBER(sharedram_w);
 
39
        DECLARE_WRITE8_MEMBER(subirqtrigger_w);
 
40
        DECLARE_WRITE8_MEMBER(sub_irqack_w);
 
41
        DECLARE_WRITE8_MEMBER(dogfgt_soundlatch_w);
 
42
        DECLARE_WRITE8_MEMBER(dogfgt_soundcontrol_w);
 
43
        DECLARE_WRITE8_MEMBER(dogfgt_plane_select_w);
 
44
        DECLARE_READ8_MEMBER(dogfgt_bitmapram_r);
 
45
        DECLARE_WRITE8_MEMBER(internal_bitmapram_w);
 
46
        DECLARE_WRITE8_MEMBER(dogfgt_bitmapram_w);
 
47
        DECLARE_WRITE8_MEMBER(dogfgt_bgvideoram_w);
 
48
        DECLARE_WRITE8_MEMBER(dogfgt_scroll_w);
 
49
        DECLARE_WRITE8_MEMBER(dogfgt_1800_w);
35
50
};
36
51
 
37
52
 
38
53
/*----------- defined in video/dogfgt.c -----------*/
39
54
 
40
 
WRITE8_HANDLER( dogfgt_plane_select_w );
41
 
READ8_HANDLER( dogfgt_bitmapram_r );
42
 
WRITE8_HANDLER( dogfgt_bitmapram_w );
43
 
WRITE8_HANDLER( dogfgt_bgvideoram_w );
44
 
WRITE8_HANDLER( dogfgt_scroll_w );
45
 
WRITE8_HANDLER( dogfgt_1800_w );
46
55
 
47
56
PALETTE_INIT( dogfgt );
48
57
VIDEO_START( dogfgt );