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

« back to all changes in this revision

Viewing changes to src/mame/includes/aerofgt.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
        aerofgt_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_bg1videoram(*this, "bg1videoram"),
 
8
                m_bg2videoram(*this, "bg2videoram"),
 
9
                m_rasterram(*this, "rasterram"),
 
10
                m_bitmapram(*this, "bitmapram"),
 
11
                m_spriteram1(*this, "spriteram1"),
 
12
                m_spriteram2(*this, "spriteram2"),
 
13
                m_spriteram3(*this, "spriteram3"),
 
14
                m_tx_tilemap_ram(*this, "tx_tilemap_ram"){ }
7
15
 
8
16
        /* memory pointers */
9
 
        UINT16 *  m_bg1videoram;
10
 
        UINT16 *  m_bg2videoram;
11
 
        UINT16 *  m_rasterram;
12
 
        UINT16 *  m_bitmapram;
13
 
        UINT16 *  m_spriteram1;
14
 
        UINT16 *  m_spriteram2;
15
 
        UINT16 *  m_spriteram3;
16
 
        UINT16 *  m_tx_tilemap_ram;
 
17
        required_shared_ptr<UINT16> m_bg1videoram;
 
18
        optional_shared_ptr<UINT16> m_bg2videoram;
 
19
        optional_shared_ptr<UINT16> m_rasterram;
 
20
        optional_shared_ptr<UINT16> m_bitmapram;
 
21
        optional_shared_ptr<UINT16> m_spriteram1;
 
22
        optional_shared_ptr<UINT16> m_spriteram2;
 
23
        required_shared_ptr<UINT16> m_spriteram3;
 
24
        optional_shared_ptr<UINT16> m_tx_tilemap_ram;
17
25
//  UINT16 *  m_paletteram;   // currently this uses generic palette handling
18
 
        size_t    m_spriteram1_size;
19
 
        size_t    m_spriteram2_size;
20
 
        size_t    m_spriteram3_size;
21
26
 
22
27
        /* video-related */
23
28
        tilemap_t   *m_bg1_tilemap;
39
44
 
40
45
        /* devices */
41
46
        device_t *m_audiocpu;
 
47
        DECLARE_WRITE16_MEMBER(sound_command_w);
 
48
        DECLARE_WRITE16_MEMBER(turbofrc_sound_command_w);
 
49
        DECLARE_WRITE16_MEMBER(aerfboot_soundlatch_w);
 
50
        DECLARE_READ16_MEMBER(pending_command_r);
 
51
        DECLARE_WRITE8_MEMBER(pending_command_clear_w);
 
52
        DECLARE_WRITE8_MEMBER(aerofgt_sh_bankswitch_w);
 
53
        DECLARE_WRITE8_MEMBER(aerfboot_okim6295_banking_w);
 
54
        DECLARE_WRITE16_MEMBER(aerofgt_bg1videoram_w);
 
55
        DECLARE_WRITE16_MEMBER(aerofgt_bg2videoram_w);
 
56
        DECLARE_WRITE16_MEMBER(pspikes_gfxbank_w);
 
57
        DECLARE_WRITE16_MEMBER(pspikesb_gfxbank_w);
 
58
        DECLARE_WRITE16_MEMBER(spikes91_lookup_w);
 
59
        DECLARE_WRITE16_MEMBER(karatblz_gfxbank_w);
 
60
        DECLARE_WRITE16_MEMBER(spinlbrk_gfxbank_w);
 
61
        DECLARE_WRITE16_MEMBER(turbofrc_gfxbank_w);
 
62
        DECLARE_WRITE16_MEMBER(aerofgt_gfxbank_w);
 
63
        DECLARE_WRITE16_MEMBER(aerofgt_bg1scrollx_w);
 
64
        DECLARE_WRITE16_MEMBER(aerofgt_bg1scrolly_w);
 
65
        DECLARE_WRITE16_MEMBER(aerofgt_bg2scrollx_w);
 
66
        DECLARE_WRITE16_MEMBER(aerofgt_bg2scrolly_w);
 
67
        DECLARE_WRITE16_MEMBER(pspikes_palette_bank_w);
 
68
        DECLARE_WRITE16_MEMBER(wbbc97_bitmap_enable_w);
42
69
};
43
70
 
44
71
 
45
72
/*----------- defined in video/aerofgt.c -----------*/
46
73
 
47
74
 
48
 
WRITE16_HANDLER( aerofgt_bg1videoram_w );
49
 
WRITE16_HANDLER( aerofgt_bg2videoram_w );
50
 
WRITE16_HANDLER( pspikes_gfxbank_w );
51
 
WRITE16_HANDLER( pspikesb_gfxbank_w );
52
 
WRITE16_HANDLER( spikes91_lookup_w );
53
 
WRITE16_HANDLER( karatblz_gfxbank_w );
54
 
WRITE16_HANDLER( spinlbrk_gfxbank_w );
55
 
WRITE16_HANDLER( turbofrc_gfxbank_w );
56
 
WRITE16_HANDLER( aerofgt_gfxbank_w );
57
 
WRITE16_HANDLER( aerofgt_bg1scrollx_w );
58
 
WRITE16_HANDLER( aerofgt_bg1scrolly_w );
59
 
WRITE16_HANDLER( aerofgt_bg2scrollx_w );
60
 
WRITE16_HANDLER( aerofgt_bg2scrolly_w );
61
 
WRITE16_HANDLER( pspikes_palette_bank_w );
62
 
WRITE16_HANDLER( wbbc97_bitmap_enable_w );
63
75
 
64
76
VIDEO_START( pspikes );
65
77
VIDEO_START( karatblz );