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

« back to all changes in this revision

Viewing changes to src/mame/includes/tail2nos.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
        tail2nos_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_bgvideoram(*this, "bgvideoram"),
 
13
                m_spriteram(*this, "spriteram"){ }
12
14
 
13
15
        /* memory pointers */
14
 
        UINT16 *    m_bgvideoram;
15
 
        UINT16 *    m_spriteram;
 
16
        required_shared_ptr<UINT16> m_bgvideoram;
 
17
        required_shared_ptr<UINT16> m_spriteram;
16
18
        UINT16 *    m_zoomdata;
17
19
//  UINT16 *    m_paletteram;    // currently this uses generic palette handling
18
 
        size_t      m_spriteram_size;
19
20
 
20
21
        /* video-related */
21
22
        tilemap_t   *m_bg_tilemap;
27
28
        device_t *m_maincpu;
28
29
        device_t *m_audiocpu;
29
30
        device_t *m_k051316;
 
31
        DECLARE_WRITE16_MEMBER(sound_command_w);
 
32
        DECLARE_WRITE16_MEMBER(tail2nos_bgvideoram_w);
 
33
        DECLARE_READ16_MEMBER(tail2nos_zoomdata_r);
 
34
        DECLARE_WRITE16_MEMBER(tail2nos_zoomdata_w);
 
35
        DECLARE_WRITE16_MEMBER(tail2nos_gfxbank_w);
30
36
};
31
37
 
32
38
 
34
40
 
35
41
extern void tail2nos_zoom_callback(running_machine &machine, int *code,int *color,int *flags);
36
42
 
37
 
WRITE16_HANDLER( tail2nos_bgvideoram_w );
38
 
READ16_HANDLER( tail2nos_zoomdata_r );
39
 
WRITE16_HANDLER( tail2nos_zoomdata_w );
40
 
WRITE16_HANDLER( tail2nos_gfxbank_w );
41
43
 
42
44
VIDEO_START( tail2nos );
43
45
SCREEN_UPDATE_IND16( tail2nos );