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

« back to all changes in this revision

Viewing changes to src/mame/includes/spacefb.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:
28
28
{
29
29
public:
30
30
        spacefb_state(const machine_config &mconfig, device_type type, const char *tag)
31
 
                : driver_device(mconfig, type, tag) { }
 
31
                : driver_device(mconfig, type, tag) ,
 
32
                m_videoram(*this, "videoram"){ }
32
33
 
33
34
        UINT8 m_sound_latch;
34
35
        emu_timer *m_interrupt_timer;
35
 
        UINT8 *m_videoram;
36
 
        size_t m_videoram_size;
 
36
        required_shared_ptr<UINT8> m_videoram;
37
37
        UINT8 *m_object_present_map;
38
38
        UINT8 m_port_0;
39
39
        UINT8 m_port_2;
40
40
        UINT32 m_star_shift_reg;
41
41
        double m_color_weights_rg[3];
42
42
        double m_color_weights_b[2];
 
43
        DECLARE_WRITE8_MEMBER(spacefb_port_0_w);
 
44
        DECLARE_WRITE8_MEMBER(spacefb_port_2_w);
 
45
        DECLARE_READ8_MEMBER(spacefb_audio_p2_r);
 
46
        DECLARE_READ8_MEMBER(spacefb_audio_t0_r);
 
47
        DECLARE_READ8_MEMBER(spacefb_audio_t1_r);
 
48
        DECLARE_WRITE8_MEMBER(spacefb_port_1_w);
43
49
};
44
50
 
45
51
 
47
53
 
48
54
MACHINE_CONFIG_EXTERN( spacefb_audio );
49
55
 
50
 
READ8_HANDLER( spacefb_audio_p2_r );
51
 
READ8_HANDLER( spacefb_audio_t0_r );
52
 
READ8_HANDLER( spacefb_audio_t1_r );
53
 
WRITE8_HANDLER( spacefb_port_1_w );
54
56
 
55
57
 
56
58
/*----------- defined in video/spacefb.c -----------*/
58
60
VIDEO_START( spacefb );
59
61
SCREEN_UPDATE_RGB32( spacefb );
60
62
 
61
 
WRITE8_HANDLER( spacefb_port_0_w );
62
 
WRITE8_HANDLER( spacefb_port_2_w );