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

« back to all changes in this revision

Viewing changes to src/mame/includes/simpl156.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:
16
16
                  m_maincpu(*this, "maincpu"),
17
17
                  m_deco_tilegen1(*this, "tilegen1"),
18
18
                  m_eeprom(*this, "eeprom"),
19
 
                  m_okimusic(*this, "okimusic") { }
 
19
                  m_okimusic(*this, "okimusic") ,
 
20
                m_mainram(*this, "mainram"),
 
21
                m_systemram(*this, "systemram"){ }
20
22
 
 
23
        /* devices */
 
24
        required_device<cpu_device> m_maincpu;
 
25
        required_device<deco16ic_device> m_deco_tilegen1;
 
26
        required_device<eeprom_device> m_eeprom;
 
27
        required_device<okim6295_device> m_okimusic;
21
28
        /* memory pointers */
22
29
        UINT16 *  m_pf1_rowscroll;
23
30
        UINT16 *  m_pf2_rowscroll;
24
 
        UINT32 *  m_mainram;
25
 
        UINT32 *  m_systemram;
 
31
        required_shared_ptr<UINT32> m_mainram;
 
32
        required_shared_ptr<UINT32> m_systemram;
26
33
        UINT16 *m_spriteram;
27
34
        size_t m_spriteram_size;
28
35
 
29
 
        /* devices */
30
 
        required_device<cpu_device> m_maincpu;
31
 
        required_device<deco16ic_device> m_deco_tilegen1;
32
 
        required_device<eeprom_device> m_eeprom;
33
 
        required_device<okim6295_device> m_okimusic;
 
36
        DECLARE_READ32_MEMBER(simpl156_inputs_read);
 
37
        DECLARE_READ32_MEMBER(simpl156_palette_r);
 
38
        DECLARE_WRITE32_MEMBER(simpl156_palette_w);
 
39
        DECLARE_READ32_MEMBER(simpl156_system_r);
 
40
        DECLARE_WRITE32_MEMBER(simpl156_eeprom_w);
 
41
        DECLARE_READ32_MEMBER(simpl156_spriteram_r);
 
42
        DECLARE_WRITE32_MEMBER(simpl156_spriteram_w);
 
43
        DECLARE_READ32_MEMBER(simpl156_mainram_r);
 
44
        DECLARE_WRITE32_MEMBER(simpl156_mainram_w);
 
45
        DECLARE_READ32_MEMBER(simpl156_pf1_rowscroll_r);
 
46
        DECLARE_WRITE32_MEMBER(simpl156_pf1_rowscroll_w);
 
47
        DECLARE_READ32_MEMBER(simpl156_pf2_rowscroll_r);
 
48
        DECLARE_WRITE32_MEMBER(simpl156_pf2_rowscroll_w);
 
49
        DECLARE_READ32_MEMBER(joemacr_speedup_r);
 
50
        DECLARE_READ32_MEMBER(chainrec_speedup_r);
 
51
        DECLARE_READ32_MEMBER(prtytime_speedup_r);
 
52
        DECLARE_READ32_MEMBER(charlien_speedup_r);
 
53
        DECLARE_READ32_MEMBER(osman_speedup_r);
34
54
};
35
55
 
36
56