diff options
author | 2020-04-11 13:06:11 -0400 | |
---|---|---|
committer | 2020-04-11 13:06:11 -0400 | |
commit | 7dd3c2b5d67bd8fb9845b1d4957fad34e1e9a9c2 (patch) | |
tree | 8af37a6051933fb0726985ee318e583cdb5f8007 | |
parent | b634a54e16e7f42e30ce5cc36c63be0f1b650478 (diff) |
pntnpuzl: Connect MCU to EEPROM (yes, it has its own one) (nw)
This doesn't work currently. The HSO events misfire too often. I suspect the problem here is the MCS-96 core not actually implementing partial execution.
-rw-r--r-- | src/mame/drivers/pntnpuzl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/drivers/pntnpuzl.cpp b/src/mame/drivers/pntnpuzl.cpp index c456ab24e9e..37f1b1a833d 100644 --- a/src/mame/drivers/pntnpuzl.cpp +++ b/src/mame/drivers/pntnpuzl.cpp @@ -372,6 +372,11 @@ void pntnpuzl_state::pntnpuzl(machine_config &config) mcu.set_addrmap(AS_PROGRAM, &pntnpuzl_state::mcu_map); // FIXME: this is all internal mcu.ach6_cb().set_constant(0x180); // ? mcu.ach7_cb().set_constant(0x180); // ? + mcu.hso_cb().set("mcu_eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)).bit(0); + mcu.hso_cb().append("mcu_eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)).bit(1); + mcu.hso_cb().append("mcu_eeprom", FUNC(eeprom_serial_93cxx_device::di_write)).bit(5); + + EEPROM_93C46_16BIT(config, "mcu_eeprom").do_callback().set_inputline("mcu", i8x9x_device::HSI3_LINE); /* video hardware */ screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); |