Skip to content

Commit 4030d23

Browse files
committed
Omit MIDI Thru port and temporarily comment out "Param In" port
(MACHINE_NOT_WORKING due to incomplete MIDI implementation)
1 parent fec7132 commit 4030d23

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/mame/roland/roland_pg1000.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -251,16 +251,13 @@ void pg1000_state::pg1000(machine_config &config)
251251
auto &mdin(MIDI_PORT(config, "mdin"));
252252
midiin_slot(mdin);
253253
mdin.rxd_handler().set([this] (bool state) { m_mdin_bit = state; });
254-
mdin.rxd_handler().append("mdthru", FUNC(midi_port_device::write_txd));
255254

256255
midiout_slot(MIDI_PORT(config, "mdout"));
257256

258-
auto &mdthru(MIDI_PORT(config, "mdthru"));
259-
midiout_slot(mdthru);
260-
261-
auto &paramreq(MIDI_PORT(config, "param_req"));
262-
midiin_slot(paramreq);
263-
paramreq.rxd_handler().set([this] (bool state) { m_paramreq_bit = state; });
257+
/* TODO: What is the correct way of declaring this "Parameter In" port? */
258+
// auto &paramin(MIDI_PORT(config, "param_in"));
259+
// midiin_slot(paramin);
260+
// paramreq.rxd_handler().set([this] (bool state) { m_paramreq_bit = state; });
264261

265262
UPD78C10(config, m_maincpu, 12_MHz_XTAL);
266263
m_maincpu->set_addrmap(AS_PROGRAM, &pg1000_state::mem_map);
@@ -406,4 +403,4 @@ ROM_START(pg1000)
406403
ROMX_LOAD("roland_pg-1000_v1.00.ic4", 0x000, 0x2000, CRC(c09ef84e) SHA1(d780d4d53e57918e6ea8098f54f5c9b43aeec287), ROM_BIOS(2))
407404
ROM_END
408405

409-
SYST(1987, pg1000, 0, 0, pg1000, pg1000, pg1000_state, empty_init, "Roland", "PG-1000 Programmer", MACHINE_NO_SOUND_HW)
406+
SYST(1987, pg1000, 0, 0, pg1000, pg1000, pg1000_state, empty_init, "Roland", "PG-1000 Programmer", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW)

0 commit comments

Comments
 (0)