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

« back to all changes in this revision

Viewing changes to src/mame/includes/fuukifg3.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:
13
13
{
14
14
public:
15
15
        fuuki32_state(const machine_config &mconfig, device_type type, const char *tag)
16
 
                : driver_device(mconfig, type, tag) { }
 
16
                : driver_device(mconfig, type, tag) ,
 
17
                m_vram(*this, "vram"),
 
18
                m_spriteram(*this, "spriteram"),
 
19
                m_paletteram(*this, "paletteram"),
 
20
                m_vregs(*this, "vregs"),
 
21
                m_priority(*this, "priority"),
 
22
                m_tilebank(*this, "tilebank"){ }
17
23
 
18
24
        /* memory pointers */
19
 
        UINT32 *    m_vram[4];
20
 
        UINT32 *    m_vregs;
21
 
        UINT32 *    m_priority;
22
 
        UINT32 *    m_tilebank;
23
 
        UINT32 *    m_spriteram;
 
25
        required_shared_ptr_array<UINT32,4> m_vram;
 
26
        required_shared_ptr<UINT32> m_spriteram;
 
27
        required_shared_ptr<UINT32> m_paletteram;
 
28
        required_shared_ptr<UINT32> m_vregs;
 
29
        required_shared_ptr<UINT32> m_priority;
 
30
        required_shared_ptr<UINT32> m_tilebank;
24
31
        UINT32 *    m_buf_spriteram;
25
32
        UINT32 *    m_buf_spriteram2;
26
 
        UINT32 *    m_paletteram;
27
 
        size_t      m_spriteram_size;
28
33
 
29
34
        /* video-related */
30
35
        tilemap_t     *m_tilemap[4];
37
42
        /* devices */
38
43
        device_t *m_maincpu;
39
44
        device_t *m_audiocpu;
 
45
        DECLARE_WRITE32_MEMBER(paletteram32_xRRRRRGGGGGBBBBB_dword_w);
 
46
        DECLARE_READ32_MEMBER(snd_020_r);
 
47
        DECLARE_WRITE32_MEMBER(snd_020_w);
 
48
        DECLARE_WRITE32_MEMBER(fuuki32_vregs_w);
 
49
        DECLARE_WRITE8_MEMBER(fuuki32_sound_bw_w);
 
50
        DECLARE_READ8_MEMBER(snd_z80_r);
 
51
        DECLARE_WRITE8_MEMBER(snd_z80_w);
 
52
        DECLARE_WRITE8_MEMBER(snd_ymf278b_w);
 
53
        DECLARE_WRITE32_MEMBER(fuuki32_vram_0_w);
 
54
        DECLARE_WRITE32_MEMBER(fuuki32_vram_1_w);
 
55
        DECLARE_WRITE32_MEMBER(fuuki32_vram_2_w);
 
56
        DECLARE_WRITE32_MEMBER(fuuki32_vram_3_w);
40
57
};
41
58
 
42
59
 
43
60
/*----------- defined in video/fuuki32.c -----------*/
44
61
 
45
 
WRITE32_HANDLER( fuuki32_vram_0_w );
46
 
WRITE32_HANDLER( fuuki32_vram_1_w );
47
 
WRITE32_HANDLER( fuuki32_vram_2_w );
48
 
WRITE32_HANDLER( fuuki32_vram_3_w );
49
62
 
50
63
VIDEO_START( fuuki32 );
51
64
SCREEN_UPDATE_IND16( fuuki32 );