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

« back to all changes in this revision

Viewing changes to src/mame/includes/sprint2.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:
25
25
{
26
26
public:
27
27
        sprint2_state(const machine_config &mconfig, device_type type, const char *tag)
28
 
                : driver_device(mconfig, type, tag) { }
 
28
                : driver_device(mconfig, type, tag) ,
 
29
                m_video_ram(*this, "video_ram"){ }
29
30
 
30
31
        int m_attract;
31
32
        int m_steering[2];
32
33
        int m_gear[2];
33
34
        int m_game;
34
35
        UINT8 m_dial[2];
35
 
        UINT8* m_video_ram;
 
36
        required_shared_ptr<UINT8> m_video_ram;
36
37
        tilemap_t* m_bg_tilemap;
37
38
        bitmap_ind16 m_helper;
38
39
        int m_collision[2];
 
40
        DECLARE_READ8_MEMBER(sprint2_wram_r);
 
41
        DECLARE_READ8_MEMBER(sprint2_dip_r);
 
42
        DECLARE_READ8_MEMBER(sprint2_input_A_r);
 
43
        DECLARE_READ8_MEMBER(sprint2_input_B_r);
 
44
        DECLARE_READ8_MEMBER(sprint2_sync_r);
 
45
        DECLARE_READ8_MEMBER(sprint2_steering1_r);
 
46
        DECLARE_READ8_MEMBER(sprint2_steering2_r);
 
47
        DECLARE_WRITE8_MEMBER(sprint2_steering_reset1_w);
 
48
        DECLARE_WRITE8_MEMBER(sprint2_steering_reset2_w);
 
49
        DECLARE_WRITE8_MEMBER(sprint2_wram_w);
 
50
        DECLARE_WRITE8_MEMBER(sprint2_lamp1_w);
 
51
        DECLARE_WRITE8_MEMBER(sprint2_lamp2_w);
 
52
        DECLARE_READ8_MEMBER(sprint2_collision1_r);
 
53
        DECLARE_READ8_MEMBER(sprint2_collision2_r);
 
54
        DECLARE_WRITE8_MEMBER(sprint2_collision_reset1_w);
 
55
        DECLARE_WRITE8_MEMBER(sprint2_collision_reset2_w);
 
56
        DECLARE_WRITE8_MEMBER(sprint2_video_ram_w);
39
57
};
40
58
 
41
59
 
48
66
 
49
67
/*----------- defined in video/sprint2.c -----------*/
50
68
 
51
 
READ8_HANDLER( sprint2_collision1_r );
52
 
READ8_HANDLER( sprint2_collision2_r );
53
69
 
54
 
WRITE8_HANDLER( sprint2_collision_reset1_w );
55
 
WRITE8_HANDLER( sprint2_collision_reset2_w );
56
 
WRITE8_HANDLER( sprint2_video_ram_w );
57
70
 
58
71
PALETTE_INIT( sprint2 );
59
72
SCREEN_UPDATE_IND16( sprint2 );