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

« back to all changes in this revision

Viewing changes to src/mame/includes/docastle.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:
4
4
{
5
5
public:
6
6
        docastle_state(const machine_config &mconfig, device_type type, const char *tag)
7
 
                : driver_device(mconfig, type, tag) { }
 
7
                : driver_device(mconfig, type, tag) ,
 
8
                m_videoram(*this, "videoram"),
 
9
                m_colorram(*this, "colorram"),
 
10
                m_spriteram(*this, "spriteram"){ }
8
11
 
9
12
        /* memory pointers */
10
 
        UINT8 *  m_videoram;
11
 
        UINT8 *  m_colorram;
12
 
        UINT8 *  m_spriteram;
13
 
        size_t   m_spriteram_size;
 
13
        required_shared_ptr<UINT8> m_videoram;
 
14
        required_shared_ptr<UINT8> m_colorram;
 
15
        required_shared_ptr<UINT8> m_spriteram;
14
16
 
15
17
        /* video-related */
16
18
        tilemap_t  *m_do_tilemap;
26
28
        /* devices */
27
29
        cpu_device *m_maincpu;
28
30
        cpu_device *m_slave;
 
31
        DECLARE_READ8_MEMBER(docastle_shared0_r);
 
32
        DECLARE_READ8_MEMBER(docastle_shared1_r);
 
33
        DECLARE_WRITE8_MEMBER(docastle_shared0_w);
 
34
        DECLARE_WRITE8_MEMBER(docastle_shared1_w);
 
35
        DECLARE_WRITE8_MEMBER(docastle_nmitrigger_w);
 
36
        DECLARE_WRITE8_MEMBER(docastle_videoram_w);
 
37
        DECLARE_WRITE8_MEMBER(docastle_colorram_w);
 
38
        DECLARE_READ8_MEMBER(docastle_flipscreen_off_r);
 
39
        DECLARE_READ8_MEMBER(docastle_flipscreen_on_r);
 
40
        DECLARE_WRITE8_MEMBER(docastle_flipscreen_off_w);
 
41
        DECLARE_WRITE8_MEMBER(docastle_flipscreen_on_w);
29
42
};
30
43
 
31
44
 
32
45
/*----------- defined in machine/docastle.c -----------*/
33
46
 
34
 
READ8_HANDLER( docastle_shared0_r );
35
 
READ8_HANDLER( docastle_shared1_r );
36
 
WRITE8_HANDLER( docastle_shared0_w );
37
 
WRITE8_HANDLER( docastle_shared1_w );
38
 
WRITE8_HANDLER( docastle_nmitrigger_w );
39
47
 
40
48
/*----------- defined in video/docastle.c -----------*/
41
49
 
42
 
WRITE8_HANDLER( docastle_videoram_w );
43
 
WRITE8_HANDLER( docastle_colorram_w );
44
 
READ8_HANDLER( docastle_flipscreen_off_r );
45
 
READ8_HANDLER( docastle_flipscreen_on_r );
46
 
WRITE8_HANDLER( docastle_flipscreen_off_w );
47
 
WRITE8_HANDLER( docastle_flipscreen_on_w );
48
50
 
49
51
PALETTE_INIT( docastle );
50
52
VIDEO_START( docastle );