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

« back to all changes in this revision

Viewing changes to src/mame/includes/n8080.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:
3
3
{
4
4
public:
5
5
        n8080_state(const machine_config &mconfig, device_type type, const char *tag)
6
 
                : driver_device(mconfig, type, tag) { }
 
6
                : driver_device(mconfig, type, tag) ,
 
7
                m_videoram(*this, "videoram"),
 
8
                m_colorram(*this, "colorram"){ }
7
9
 
8
10
        /* memory pointers */
9
 
        UINT8 * m_videoram;
10
 
        UINT8 * m_colorram;     // for helifire
 
11
        required_shared_ptr<UINT8> m_videoram;
 
12
        optional_shared_ptr<UINT8> m_colorram;          // for helifire
11
13
 
12
14
        /* video-related */
13
15
        emu_timer* m_cannon_timer;
38
40
 
39
41
        /* devices */
40
42
        device_t *m_maincpu;
 
43
        DECLARE_WRITE8_MEMBER(n8080_shift_bits_w);
 
44
        DECLARE_WRITE8_MEMBER(n8080_shift_data_w);
 
45
        DECLARE_READ8_MEMBER(n8080_shift_r);
 
46
        DECLARE_WRITE8_MEMBER(n8080_video_control_w);
 
47
        DECLARE_WRITE8_MEMBER(n8080_sound_1_w);
 
48
        DECLARE_WRITE8_MEMBER(n8080_sound_2_w);
 
49
        DECLARE_READ8_MEMBER(n8080_8035_p1_r);
 
50
        DECLARE_READ8_MEMBER(n8080_8035_t0_r);
 
51
        DECLARE_READ8_MEMBER(n8080_8035_t1_r);
 
52
        DECLARE_READ8_MEMBER(helifire_8035_t0_r);
 
53
        DECLARE_READ8_MEMBER(helifire_8035_t1_r);
 
54
        DECLARE_READ8_MEMBER(helifire_8035_external_ram_r);
 
55
        DECLARE_READ8_MEMBER(helifire_8035_p2_r);
 
56
        DECLARE_WRITE8_MEMBER(n8080_dac_w);
 
57
        DECLARE_WRITE8_MEMBER(helifire_dac_w);
 
58
        DECLARE_WRITE8_MEMBER(helifire_sound_ctrl_w);
41
59
};
42
60
 
43
61
 
44
62
 
45
63
/*----------- defined in video/n8080.c -----------*/
46
64
 
47
 
WRITE8_HANDLER( n8080_video_control_w );
48
65
 
49
66
PALETTE_INIT( n8080 );
50
67
PALETTE_INIT( helifire );
72
89
MACHINE_RESET( sheriff_sound );
73
90
MACHINE_RESET( helifire_sound );
74
91
 
75
 
WRITE8_HANDLER( n8080_sound_1_w );
76
 
WRITE8_HANDLER( n8080_sound_2_w );