Previous 199869 Revisions Next

r23812 Thursday 20th June, 2013 at 09:54:15 UTC by Robbbert
(MESS) poly1: removed a trampoline
[src/mess/drivers]poly.c

trunk/src/mess/drivers/poly.c
r23811r23812
2323    - Find out about graphics mode and how it is selected
2424    - Fix Keyboard so that the Enter key tells BASIC to do something
2525    - Find out how to make 2nd teletext screen to display
26    - Banking
2627
2728****************************************************************************/
2829
r23811r23812
4748         m_maincpu(*this, "maincpu"),
4849         m_pia0(*this, "pia0"),
4950         m_pia1(*this, "pia1"),
50         m_speaker(*this, "speaker"),
5151         m_videoram(*this, "videoram")
5252   { }
5353
5454   required_device<cpu_device> m_maincpu;
5555   required_device<pia6821_device> m_pia0;
5656   required_device<pia6821_device> m_pia1;
57   required_device<speaker_sound_device> m_speaker;
5857   required_shared_ptr<UINT8> m_videoram;
59   DECLARE_WRITE_LINE_MEMBER(speaker_w);
6058   DECLARE_WRITE8_MEMBER(kbd_put);
6159   DECLARE_READ8_MEMBER(pia1_b_in);
6260   DECLARE_READ_LINE_MEMBER(pia1_cb1_in);
r23811r23812
147145   DEVCB_CPU_INPUT_LINE("maincpu", M6809_IRQ_LINE)
148146};
149147
150WRITE_LINE_MEMBER( poly_state::speaker_w )
151{
152   m_speaker->level_w(state);
153}
154
155148static const ptm6840_interface poly_ptm_intf =
156149{
157150   XTAL_12MHz / 3,
158151   { 0, 0, 0 },
159152   { DEVCB_NULL,
160153      DEVCB_DEVICE_LINE_MEMBER("ptm", ptm6840_device, set_c1),
161      DEVCB_DRIVER_LINE_MEMBER(poly_state, speaker_w) },
154      DEVCB_DEVICE_LINE_MEMBER("speaker", speaker_sound_device, level_w) },
162155   DEVCB_CPU_INPUT_LINE("maincpu", M6809_IRQ_LINE)
163156};
164157

Previous 199869 Revisions Next


© 1997-2024 The MAME Team