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

« back to all changes in this revision

Viewing changes to src/mame/includes/jedi.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:
19
19
public:
20
20
        jedi_state(const machine_config &mconfig, device_type type, const char *tag)
21
21
                : driver_device(mconfig, type, tag),
22
 
                  m_nvram(*this, "nvram") { }
 
22
                  m_nvram(*this, "nvram") ,
 
23
                m_foreground_bank(*this, "foreground_bank"),
 
24
                m_video_off(*this, "video_off"),
 
25
                m_backgroundram(*this, "backgroundram"),
 
26
                m_paletteram(*this, "paletteram"),
 
27
                m_foregroundram(*this, "foregroundram"),
 
28
                m_spriteram(*this, "spriteram"),
 
29
                m_smoothing_table(*this, "smoothing_table"),
 
30
                m_audio_comm_stat(*this, "audio_comm_stat"),
 
31
                m_speech_data(*this, "speech_data") { }
23
32
 
24
33
        required_shared_ptr<UINT8> m_nvram;
25
34
 
29
38
        emu_timer *m_interrupt_timer;
30
39
 
31
40
        /* video state */
32
 
        UINT8 *m_foregroundram;
33
 
        UINT8 *m_backgroundram;
34
 
        UINT8 *m_spriteram;
35
 
        UINT8 *m_paletteram;
36
 
        UINT8 *m_foreground_bank;
37
 
        UINT8 *m_video_off;
38
 
        UINT8 *m_smoothing_table;
 
41
        required_shared_ptr<UINT8> m_foreground_bank;
 
42
        required_shared_ptr<UINT8> m_video_off;
 
43
        required_shared_ptr<UINT8> m_backgroundram;
 
44
        required_shared_ptr<UINT8> m_paletteram;
 
45
        required_shared_ptr<UINT8> m_foregroundram;
 
46
        required_shared_ptr<UINT8> m_spriteram;
 
47
        required_shared_ptr<UINT8> m_smoothing_table;
39
48
        UINT32 m_vscroll;
40
49
        UINT32 m_hscroll;
41
50
 
42
51
        /* audio state */
43
52
        UINT8  m_audio_latch;
44
53
        UINT8  m_audio_ack_latch;
45
 
        UINT8 *m_audio_comm_stat;
46
 
        UINT8 *m_speech_data;
 
54
        required_shared_ptr<UINT8> m_audio_comm_stat;
 
55
        required_shared_ptr<UINT8> m_speech_data;
47
56
        UINT8  m_speech_strobe_state;
 
57
        DECLARE_WRITE8_MEMBER(main_irq_ack_w);
 
58
        DECLARE_WRITE8_MEMBER(rom_banksel_w);
 
59
        DECLARE_READ8_MEMBER(a2d_data_r);
 
60
        DECLARE_WRITE8_MEMBER(a2d_select_w);
 
61
        DECLARE_WRITE8_MEMBER(jedi_coin_counter_w);
 
62
        DECLARE_WRITE8_MEMBER(nvram_data_w);
 
63
        DECLARE_WRITE8_MEMBER(nvram_enable_w);
 
64
        DECLARE_WRITE8_MEMBER(jedi_vscroll_w);
 
65
        DECLARE_WRITE8_MEMBER(jedi_hscroll_w);
 
66
        DECLARE_CUSTOM_INPUT_MEMBER(jedi_audio_comm_stat_r);
 
67
        DECLARE_WRITE8_MEMBER(irq_ack_w);
 
68
        DECLARE_WRITE8_MEMBER(jedi_audio_reset_w);
 
69
        DECLARE_WRITE8_MEMBER(jedi_audio_latch_w);
 
70
        DECLARE_READ8_MEMBER(audio_latch_r);
 
71
        DECLARE_READ8_MEMBER(jedi_audio_ack_latch_r);
 
72
        DECLARE_WRITE8_MEMBER(audio_ack_latch_w);
 
73
        DECLARE_WRITE8_MEMBER(speech_strobe_w);
 
74
        DECLARE_READ8_MEMBER(speech_ready_r);
 
75
        DECLARE_WRITE8_MEMBER(speech_reset_w);
48
76
};
49
77
 
50
78
 
52
80
 
53
81
MACHINE_CONFIG_EXTERN( jedi_audio );
54
82
 
55
 
WRITE8_HANDLER( jedi_audio_reset_w );
56
 
WRITE8_HANDLER( jedi_audio_latch_w );
57
 
READ8_HANDLER( jedi_audio_ack_latch_r );
58
 
CUSTOM_INPUT( jedi_audio_comm_stat_r );
59
83
 
60
84
 
61
85
/*----------- defined in video/jedi.c -----------*/
62
86
 
63
87
MACHINE_CONFIG_EXTERN( jedi_video );
64
88
 
65
 
WRITE8_HANDLER( jedi_vscroll_w );
66
 
WRITE8_HANDLER( jedi_hscroll_w );