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

« back to all changes in this revision

Viewing changes to src/mame/includes/shangkid.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
        shangkid_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_videoreg(*this, "videoreg"){ }
6
9
 
7
 
        UINT8 *m_videoram;
8
 
        UINT8 *m_spriteram;
 
10
        required_shared_ptr<UINT8> m_videoram;
 
11
        optional_shared_ptr<UINT8> m_spriteram;
9
12
        UINT8 m_bbx_sound_enable;
10
13
        UINT8 m_sound_latch;
11
 
        UINT8 *m_videoreg;
 
14
        optional_shared_ptr<UINT8> m_videoreg;
12
15
        int m_gfx_type;
13
16
        tilemap_t *m_background;
 
17
        DECLARE_WRITE8_MEMBER(shangkid_maincpu_bank_w);
 
18
        DECLARE_WRITE8_MEMBER(shangkid_bbx_enable_w);
 
19
        DECLARE_WRITE8_MEMBER(shangkid_cpu_reset_w);
 
20
        DECLARE_WRITE8_MEMBER(shangkid_sound_enable_w);
 
21
        DECLARE_READ8_MEMBER(shangkid_soundlatch_r);
 
22
        DECLARE_WRITE8_MEMBER(shangkid_videoram_w);
14
23
};
15
24
 
16
25
 
18
27
 
19
28
VIDEO_START( shangkid );
20
29
SCREEN_UPDATE_IND16( shangkid );
21
 
WRITE8_HANDLER( shangkid_videoram_w );
22
30
 
23
31
PALETTE_INIT( dynamski );
24
32
SCREEN_UPDATE_IND16( dynamski );