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

« back to all changes in this revision

Viewing changes to src/mame/includes/pacland.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
        pacland_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_videoram2(*this, "videoram2"),
 
8
                m_spriteram(*this, "spriteram"){ }
6
9
 
7
 
        UINT8 *m_videoram;
8
 
        UINT8 *m_videoram2;
9
 
        UINT8 *m_spriteram;
 
10
        required_shared_ptr<UINT8> m_videoram;
 
11
        required_shared_ptr<UINT8> m_videoram2;
 
12
        required_shared_ptr<UINT8> m_spriteram;
10
13
        UINT8 m_palette_bank;
11
14
        const UINT8 *m_color_prom;
12
15
        tilemap_t *m_bg_tilemap;
17
20
        UINT16 m_scroll1;
18
21
        UINT8 m_main_irq_mask;
19
22
        UINT8 m_mcu_irq_mask;
 
23
        DECLARE_WRITE8_MEMBER(pacland_subreset_w);
 
24
        DECLARE_WRITE8_MEMBER(pacland_flipscreen_w);
 
25
        DECLARE_READ8_MEMBER(pacland_input_r);
 
26
        DECLARE_WRITE8_MEMBER(pacland_coin_w);
 
27
        DECLARE_WRITE8_MEMBER(pacland_led_w);
 
28
        DECLARE_WRITE8_MEMBER(pacland_irq_1_ctrl_w);
 
29
        DECLARE_WRITE8_MEMBER(pacland_irq_2_ctrl_w);
 
30
        DECLARE_READ8_MEMBER(readFF);
 
31
        DECLARE_WRITE8_MEMBER(pacland_videoram_w);
 
32
        DECLARE_WRITE8_MEMBER(pacland_videoram2_w);
 
33
        DECLARE_WRITE8_MEMBER(pacland_scroll0_w);
 
34
        DECLARE_WRITE8_MEMBER(pacland_scroll1_w);
 
35
        DECLARE_WRITE8_MEMBER(pacland_bankswitch_w);
20
36
};
21
37
 
22
38
 
23
39
/*----------- defined in video/pacland.c -----------*/
24
40
 
25
 
WRITE8_HANDLER( pacland_videoram_w );
26
 
WRITE8_HANDLER( pacland_videoram2_w );
27
 
WRITE8_HANDLER( pacland_scroll0_w );
28
 
WRITE8_HANDLER( pacland_scroll1_w );
29
 
WRITE8_HANDLER( pacland_bankswitch_w );
30
41
 
31
42
PALETTE_INIT( pacland );
32
43
VIDEO_START( pacland );