Skip to content

Commit b7010da

Browse files
committed
las128e2: Fix configuration (keyboard MCU was not actually hooked up)
1 parent 40b4007 commit b7010da

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/mame/apple/apple2e.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5623,6 +5623,18 @@ void apple2e_state::laser128ex2(machine_config &config)
56235623
m_accel_laser = true;
56245624
m_has_laser_mouse = true;
56255625

5626+
config.device_remove("ay3600");
5627+
config.device_remove("repttmr");
5628+
5629+
I8048(config, m_kbdmcu, A2BUS_7M_CLOCK / 2);
5630+
m_kbdmcu->set_addrmap(AS_IO, &apple2e_state::laser128_keybio_map);
5631+
m_kbdmcu->p1_in_cb().set(FUNC(apple2e_state::laser128_x1_x8_r));
5632+
m_kbdmcu->p2_in_cb().set(FUNC(apple2e_state::laser128_x0_shift_r));
5633+
m_kbdmcu->p2_out_cb().set(FUNC(apple2e_state::ay3600_ako_w)).bit(5);
5634+
m_kbdmcu->p2_out_cb().append_output("caps_led").bit(7).invert();
5635+
m_kbdmcu->t0_in_cb().set_ioport("kbd_lang_select").bit(4).invert();
5636+
m_kbdmcu->t1_in_cb().set_ioport("keyb_special").bit(0);
5637+
56265638
m_screen->set_screen_update(m_video, NAME((&a2_video_device::screen_update<a2_video_device::model::IIE, true, false>)));
56275639

56285640
CENTRONICS(config, m_printer_conn, centronics_devices, "printer");

0 commit comments

Comments
 (0)