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

« back to all changes in this revision

Viewing changes to src/mame/includes/gradius3.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:
8
8
{
9
9
public:
10
10
        gradius3_state(const machine_config &mconfig, device_type type, const char *tag)
11
 
                : driver_device(mconfig, type, tag) { }
 
11
                : driver_device(mconfig, type, tag) ,
 
12
                m_gfxram(*this, "gfxram"){ }
12
13
 
13
14
        /* memory pointers */
14
 
        UINT16 *    m_gfxram;
 
15
        required_shared_ptr<UINT16> m_gfxram;
15
16
//  UINT16 *    m_paletteram;    // currently this uses generic palette handling
16
17
 
17
18
        /* video-related */
30
31
        device_t *m_k007232;
31
32
        device_t *m_k052109;
32
33
        device_t *m_k051960;
 
34
        DECLARE_READ16_MEMBER(k052109_halfword_r);
 
35
        DECLARE_WRITE16_MEMBER(k052109_halfword_w);
 
36
        DECLARE_READ16_MEMBER(k051937_halfword_r);
 
37
        DECLARE_WRITE16_MEMBER(k051937_halfword_w);
 
38
        DECLARE_READ16_MEMBER(k051960_halfword_r);
 
39
        DECLARE_WRITE16_MEMBER(k051960_halfword_w);
 
40
        DECLARE_WRITE16_MEMBER(cpuA_ctrl_w);
 
41
        DECLARE_WRITE16_MEMBER(cpuB_irqenable_w);
 
42
        DECLARE_WRITE16_MEMBER(cpuB_irqtrigger_w);
 
43
        DECLARE_WRITE16_MEMBER(sound_command_w);
 
44
        DECLARE_WRITE16_MEMBER(sound_irq_w);
 
45
        DECLARE_READ16_MEMBER(gradius3_gfxrom_r);
 
46
        DECLARE_WRITE16_MEMBER(gradius3_gfxram_w);
33
47
};
34
48
 
35
49
/*----------- defined in video/gradius3.c -----------*/
37
51
extern void gradius3_sprite_callback(running_machine &machine, int *code,int *color,int *priority_mask,int *shadow);
38
52
extern void gradius3_tile_callback(running_machine &machine, int layer,int bank,int *code,int *color,int *flags,int *priority);
39
53
 
40
 
READ16_HANDLER( gradius3_gfxrom_r );
41
 
WRITE16_HANDLER( gradius3_gfxram_w );
42
54
 
43
55
VIDEO_START( gradius3 );
44
56
SCREEN_UPDATE_IND16( gradius3 );