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

« back to all changes in this revision

Viewing changes to src/mame/includes/taitoair.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:
21
21
{
22
22
public:
23
23
        taitoair_state(const machine_config &mconfig, device_type type, const char *tag)
24
 
                : driver_device(mconfig, type, tag) { }
 
24
                : driver_device(mconfig, type, tag),
 
25
                  m_m68000_mainram(*this, "m68000_mainram"),
 
26
                  m_line_ram(*this, "line_ram"),
 
27
                  m_dsp_ram(*this, "dsp_ram"),
 
28
                  m_paletteram(*this, "paletteram"),
 
29
                  m_gradram(*this, "gradram"),
 
30
                  m_backregs(*this, "backregs") { }
25
31
 
26
32
        /* memory pointers */
27
 
        UINT16 *      m_m68000_mainram;
28
 
        UINT16 *      m_line_ram;
29
 
        UINT16 *      m_dsp_ram;        /* Shared 68000/TMS32025 RAM */
30
 
        UINT16 *      m_paletteram;
 
33
        required_shared_ptr<UINT16> m_m68000_mainram;
 
34
        required_shared_ptr<UINT16> m_line_ram;
 
35
        required_shared_ptr<UINT16> m_dsp_ram;          // Shared 68000/TMS32025 RAM
 
36
        required_shared_ptr<UINT16> m_paletteram;
31
37
 
32
38
        /* video-related */
33
39
        taitoair_poly  m_q;
41
47
        device_t *m_dsp;
42
48
        device_t *m_tc0080vco;
43
49
 
44
 
        UINT16 *      m_gradram;
45
 
        UINT16 *      m_backregs;
 
50
        required_shared_ptr<UINT16> m_gradram;
 
51
        required_shared_ptr<UINT16> m_backregs;
46
52
 
47
53
        bitmap_ind16 *m_framebuffer[2];
48
54
 
52
58
    INT16 m_eyecoordBuffer[4];  /* homogeneous */
53
59
 
54
60
    //bitmap_ind16 *m_buffer3d;
 
61
        DECLARE_WRITE16_MEMBER(system_control_w);
 
62
        DECLARE_READ16_MEMBER(lineram_r);
 
63
        DECLARE_WRITE16_MEMBER(lineram_w);
 
64
        DECLARE_READ16_MEMBER(dspram_r);
 
65
        DECLARE_WRITE16_MEMBER(dspram_w);
 
66
        DECLARE_READ16_MEMBER(dsp_HOLD_signal_r);
 
67
        DECLARE_WRITE16_MEMBER(dsp_HOLDA_signal_w);
 
68
        DECLARE_WRITE16_MEMBER(airsys_paletteram16_w);
 
69
        DECLARE_WRITE16_MEMBER(airsys_gradram_w);
 
70
        DECLARE_READ16_MEMBER(stick_input_r);
 
71
        DECLARE_READ16_MEMBER(stick2_input_r);
 
72
        DECLARE_WRITE8_MEMBER(sound_bankswitch_w);
 
73
        DECLARE_WRITE16_MEMBER(dsp_flags_w);
 
74
        DECLARE_WRITE16_MEMBER(dsp_x_eyecoord_w);
 
75
        DECLARE_WRITE16_MEMBER(dsp_y_eyecoord_w);
 
76
        DECLARE_WRITE16_MEMBER(dsp_z_eyecoord_w);
 
77
        DECLARE_WRITE16_MEMBER(dsp_frustum_left_w);
 
78
        DECLARE_WRITE16_MEMBER(dsp_frustum_bottom_w);
 
79
        DECLARE_WRITE16_MEMBER(dsp_rasterize_w);
 
80
        DECLARE_READ16_MEMBER(dsp_x_return_r);
 
81
        DECLARE_READ16_MEMBER(dsp_y_return_r);
55
82
};
56
83
 
57
84
 
60
87
SCREEN_UPDATE_IND16( taitoair );
61
88
VIDEO_START( taitoair );
62
89
 
63
 
WRITE16_HANDLER( dsp_flags_w );
64
 
WRITE16_HANDLER( dsp_x_eyecoord_w );
65
 
WRITE16_HANDLER( dsp_y_eyecoord_w );
66
 
WRITE16_HANDLER( dsp_z_eyecoord_w );
67
 
WRITE16_HANDLER( dsp_rasterize_w );
68
 
WRITE16_HANDLER( dsp_frustum_left_w );
69
 
WRITE16_HANDLER( dsp_frustum_bottom_w );
70
 
READ16_HANDLER( dsp_x_return_r );
71
 
READ16_HANDLER( dsp_y_return_r );
72
90