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

« back to all changes in this revision

Viewing changes to src/mame/includes/ms32.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:
2
2
{
3
3
public:
4
4
        ms32_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_mainram(*this, "mainram"),
 
7
                m_roz_ctrl(*this, "roz_ctrl"),
 
8
                m_tx_scroll(*this, "tx_scroll"),
 
9
                m_bg_scroll(*this, "bg_scroll"),
 
10
                m_mahjong_input_select(*this, "mahjong_select"){ }
6
11
 
 
12
        required_shared_ptr<UINT32> m_mainram;
 
13
        required_shared_ptr<UINT32> m_roz_ctrl;
 
14
        required_shared_ptr<UINT32> m_tx_scroll;
 
15
        required_shared_ptr<UINT32> m_bg_scroll;
 
16
        required_shared_ptr<UINT32> m_mahjong_input_select;
7
17
        UINT8 *m_nvram_8;
8
 
        UINT32 *m_mahjong_input_select;
9
18
        UINT32 m_to_main;
10
19
        UINT16 m_irqreq;
11
20
        tilemap_t *m_tx_tilemap;
22
31
        UINT32 m_tilemaplayoutcontrol;
23
32
        UINT16* m_f1superb_extraram_16;
24
33
        tilemap_t* m_extra_tilemap;
25
 
        UINT32 *m_roz_ctrl;
26
 
        UINT32 *m_tx_scroll;
27
 
        UINT32 *m_bg_scroll;
28
 
        UINT32 *m_mainram;
29
34
        bitmap_ind16 m_temp_bitmap_tilemaps;
30
35
        bitmap_ind16 m_temp_bitmap_sprites;
31
36
        bitmap_ind8 m_temp_bitmap_sprites_pri;
35
40
        int m_brt_r;
36
41
        int m_brt_g;
37
42
        int m_brt_b;
 
43
        DECLARE_READ32_MEMBER(ms32_read_inputs3);
 
44
        DECLARE_WRITE32_MEMBER(ms32_sound_w);
 
45
        DECLARE_READ32_MEMBER(ms32_sound_r);
 
46
        DECLARE_WRITE32_MEMBER(reset_sub_w);
 
47
        DECLARE_READ8_MEMBER(ms32_nvram_r8);
 
48
        DECLARE_WRITE8_MEMBER(ms32_nvram_w8);
 
49
        DECLARE_READ8_MEMBER(ms32_priram_r8);
 
50
        DECLARE_WRITE8_MEMBER(ms32_priram_w8);
 
51
        DECLARE_READ16_MEMBER(ms32_palram_r16);
 
52
        DECLARE_WRITE16_MEMBER(ms32_palram_w16);
 
53
        DECLARE_READ16_MEMBER(ms32_rozram_r16);
 
54
        DECLARE_WRITE16_MEMBER(ms32_rozram_w16);
 
55
        DECLARE_READ16_MEMBER(ms32_lineram_r16);
 
56
        DECLARE_WRITE16_MEMBER(ms32_lineram_w16);
 
57
        DECLARE_READ16_MEMBER(ms32_sprram_r16);
 
58
        DECLARE_WRITE16_MEMBER(ms32_sprram_w16);
 
59
        DECLARE_READ16_MEMBER(ms32_txram_r16);
 
60
        DECLARE_WRITE16_MEMBER(ms32_txram_w16);
 
61
        DECLARE_READ16_MEMBER(ms32_bgram_r16);
 
62
        DECLARE_WRITE16_MEMBER(ms32_bgram_w16);
 
63
        DECLARE_WRITE32_MEMBER(pip_w);
 
64
        DECLARE_WRITE16_MEMBER(ms32_extra_w16);
 
65
        DECLARE_READ16_MEMBER(ms32_extra_r16);
 
66
        DECLARE_WRITE32_MEMBER(ms32_irq2_guess_w);
 
67
        DECLARE_WRITE32_MEMBER(ms32_irq5_guess_w);
 
68
        DECLARE_READ8_MEMBER(latch_r);
 
69
        DECLARE_WRITE8_MEMBER(ms32_snd_bank_w);
 
70
        DECLARE_WRITE8_MEMBER(to_main_w);
 
71
        DECLARE_WRITE32_MEMBER(ms32_brightness_w);
 
72
        DECLARE_WRITE32_MEMBER(ms32_gfxctrl_w);
 
73
        DECLARE_CUSTOM_INPUT_MEMBER(mahjong_ctrl_r);
38
74
};
39
75
 
40
76
 
43
79
//extern UINT32 *ms32_fce00000;
44
80
 
45
81
 
46
 
WRITE32_HANDLER( ms32_brightness_w );
47
82
 
48
 
WRITE32_HANDLER( ms32_gfxctrl_w );
49
83
VIDEO_START( ms32 );
50
84
VIDEO_START( f1superb );
51
85
SCREEN_UPDATE_RGB32( ms32 );