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

« back to all changes in this revision

Viewing changes to src/mame/includes/esd16.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:
10
10
{
11
11
public:
12
12
        esd16_state(const machine_config &mconfig, device_type type, const char *tag)
13
 
                : driver_device(mconfig, type, tag) { }
 
13
                : driver_device(mconfig, type, tag) ,
 
14
                m_vram_0(*this, "vram_0"),
 
15
                m_vram_1(*this, "vram_1"),
 
16
                m_scroll_0(*this, "scroll_0"),
 
17
                m_scroll_1(*this, "scroll_1"),
 
18
                m_spriteram(*this, "spriteram"),
 
19
                m_head_layersize(*this, "head_layersize"),
 
20
                m_headpanic_platform_x(*this, "platform_x"),
 
21
                m_headpanic_platform_y(*this, "platform_y"){ }
14
22
 
15
23
        /* memory pointers */
16
 
        UINT16 *       m_vram_0;
17
 
        UINT16 *       m_vram_1;
18
 
        UINT16 *       m_scroll_0;
19
 
        UINT16 *       m_scroll_1;
20
 
        UINT16 *       m_spriteram;
21
 
        UINT16 *       m_head_layersize;
22
 
        UINT16 *       m_headpanic_platform_x;
23
 
        UINT16 *       m_headpanic_platform_y;
 
24
        required_shared_ptr<UINT16> m_vram_0;
 
25
        required_shared_ptr<UINT16> m_vram_1;
 
26
        required_shared_ptr<UINT16> m_scroll_0;
 
27
        required_shared_ptr<UINT16> m_scroll_1;
 
28
        required_shared_ptr<UINT16> m_spriteram;
 
29
        required_shared_ptr<UINT16> m_head_layersize;
 
30
        required_shared_ptr<UINT16> m_headpanic_platform_x;
 
31
        required_shared_ptr<UINT16> m_headpanic_platform_y;
24
32
//  UINT16 *       m_paletteram;  // currently this uses generic palette handling
25
 
        size_t         m_spriteram_size;
26
33
 
27
34
        /* video-related */
28
35
        tilemap_t       *m_tilemap_0_16x16;
34
41
        /* devices */
35
42
        device_t *m_audio_cpu;
36
43
        eeprom_device *m_eeprom;
 
44
        DECLARE_WRITE16_MEMBER(esd16_spriteram_w);
 
45
        DECLARE_WRITE16_MEMBER(esd16_sound_command_w);
 
46
        DECLARE_WRITE16_MEMBER(hedpanic_platform_w);
 
47
        DECLARE_READ16_MEMBER(esd_eeprom_r);
 
48
        DECLARE_WRITE16_MEMBER(esd_eeprom_w);
 
49
        DECLARE_WRITE8_MEMBER(esd16_sound_rombank_w);
 
50
        DECLARE_READ8_MEMBER(esd16_sound_command_r);
 
51
        DECLARE_WRITE16_MEMBER(esd16_vram_0_w);
 
52
        DECLARE_WRITE16_MEMBER(esd16_vram_1_w);
 
53
        DECLARE_WRITE16_MEMBER(esd16_tilemap0_color_w);
37
54
};
38
55
 
39
56
 
40
57
/*----------- defined in video/esd16.c -----------*/
41
58
 
42
 
WRITE16_HANDLER( esd16_vram_0_w );
43
 
WRITE16_HANDLER( esd16_vram_1_w );
44
 
WRITE16_HANDLER( esd16_tilemap0_color_w );
45
59
 
46
60
VIDEO_START( esd16 );
47
61
SCREEN_UPDATE_IND16( hedpanic );