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

« back to all changes in this revision

Viewing changes to src/mame/includes/psikyosh.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:
 
1
#include "video/bufsprite.h"
1
2
 
2
3
#define MASTER_CLOCK 57272700   // main oscillator frequency
3
4
 
20
21
{
21
22
public:
22
23
        psikyosh_state(const machine_config &mconfig, device_type type, const char *tag)
23
 
                : driver_device(mconfig, type, tag) { }
 
24
                : driver_device(mconfig, type, tag),
 
25
                  m_spriteram(*this, "spriteram") ,
 
26
                m_bgram(*this, "bgram"),
 
27
                m_paletteram(*this, "paletteram"),
 
28
                m_zoomram(*this, "zoomram"),
 
29
                m_vidregs(*this, "vidregs"),
 
30
                m_ram(*this, "ram"){ }
24
31
 
25
32
        /* memory pointers */
26
 
        UINT32 *       m_bgram;
27
 
        UINT32 *       m_zoomram;
28
 
        UINT32 *       m_vidregs;
29
 
        UINT32 *       m_ram;
30
 
        UINT32 *       m_paletteram;
31
 
//  UINT32 *       m_spriteram;   // currently this uses generic buffered spriteram
32
 
//  size_t         m_spriteram_size;
 
33
        required_device<buffered_spriteram32_device> m_spriteram;
 
34
        required_shared_ptr<UINT32> m_bgram;
 
35
        required_shared_ptr<UINT32> m_paletteram;
 
36
        required_shared_ptr<UINT32> m_zoomram;
 
37
        required_shared_ptr<UINT32> m_vidregs;
 
38
        required_shared_ptr<UINT32> m_ram;
33
39
 
34
40
        /* video-related */
35
41
        bitmap_ind8 m_zoom_bitmap;
40
46
 
41
47
        /* devices */
42
48
        device_t *m_maincpu;
 
49
 
 
50
        DECLARE_WRITE32_MEMBER(psikyosh_irqctrl_w);
 
51
        DECLARE_WRITE32_MEMBER(paletteram32_RRRRRRRRGGGGGGGGBBBBBBBBxxxxxxxx_dword_w);
 
52
        DECLARE_WRITE32_MEMBER(psikyosh_vidregs_w);
 
53
        DECLARE_READ32_MEMBER(mjgtaste_input_r);
43
54
};
44
55
 
45
56
/*----------- defined in video/psikyosh.c -----------*/