diff --git a/src/devices/machine/ticket.cpp b/src/devices/machine/ticket.cpp index 8e285efff5d..e8cd2d419b6 100644 --- a/src/devices/machine/ticket.cpp +++ b/src/devices/machine/ticket.cpp @@ -30,7 +30,7 @@ DEFINE_DEVICE_TYPE(HOPPER, hopper_device, "coin_hopper", "Coin Hopper") //************************************************************************** //------------------------------------------------- -// ticket_dispenser_device - constructor +// constructor //------------------------------------------------- ticket_dispenser_device::ticket_dispenser_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) @@ -58,6 +58,16 @@ hopper_device::hopper_device(const machine_config &mconfig, const char *tag, dev } +//------------------------------------------------- +// destructor +//------------------------------------------------- + +ticket_dispenser_device::~ticket_dispenser_device() +{ +} + + + //************************************************************************** // READ/WRITE HANDLERS //************************************************************************** diff --git a/src/devices/machine/ticket.h b/src/devices/machine/ticket.h index d9afe4e4d39..350baf7c4be 100644 --- a/src/devices/machine/ticket.h +++ b/src/devices/machine/ticket.h @@ -37,6 +37,7 @@ public: set_period(period); } ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + virtual ~ticket_dispenser_device(); // inline configuration helpers void set_period(const attotime &period) { m_period = period; } diff --git a/src/mame/saitek/minichess.cpp b/src/mame/saitek/minichess.cpp index ab4ebf609db..248b9cf80d6 100644 --- a/src/mame/saitek/minichess.cpp +++ b/src/mame/saitek/minichess.cpp @@ -9,7 +9,7 @@ It's the first chess program on HMCS40. The engine was written by Mark Taylor with assistance from David Levy. Hardware notes: -- Hitachi 44801A34 MCU @ ~500kHz +- Hitachi 44801A34 MCU @ ~400kHz - 4-digit LCD screen Excluding resellers with same title, this MCU was used in: @@ -19,6 +19,10 @@ Excluding resellers with same title, this MCU was used in: - SciSys Chess Partner 3000 - SciSys Chess Partner 4000 +MCU clock is via a resistor, this less accurate than with an XTAL, so the speed +may vary. Graduate Chess appears to have a 62K resistor between the OSC pins, +which would make it around 500kHz? + On CP3000/4000 they added a level slider. This will oscillate the level switch input pin, so the highest level setting is the same as level 2 on Mini Chess. It works on the old A34 MCU because the game keeps reading D0 while computing. @@ -182,7 +186,7 @@ INPUT_PORTS_END void mini_state::smchess(machine_config &config) { // basic machine hardware - HD44801(config, m_maincpu, 500'000); // approximation, R=62K + HD44801(config, m_maincpu, 400'000); // approximation m_maincpu->write_r<2>().set(FUNC(mini_state::seg_w<0>)); m_maincpu->write_r<3>().set(FUNC(mini_state::seg_w<1>)); m_maincpu->write_d().set(FUNC(mini_state::mux_w)); diff --git a/src/mame/saitek/tschess.cpp b/src/mame/saitek/tschess.cpp index 71565e7945f..f8bbec484af 100644 --- a/src/mame/saitek/tschess.cpp +++ b/src/mame/saitek/tschess.cpp @@ -11,7 +11,7 @@ Computachess (see cxg/computachess.cpp). Hardware notes: - PCB label: SCISYS TC-A, 201148 -- Hitachi 44801A85 MCU @ ~350kHz +- Hitachi 44801A85 MCU @ ~400kHz (R=91K) or ~350Hz (R=150K) - piezo, 21 leds, button sensors chessboard 44801A85 MCU is used in: @@ -157,7 +157,7 @@ INPUT_PORTS_END void tschess_state::tschess(machine_config &config) { // basic machine hardware - HD44801(config, m_maincpu, 350'000); // approximation, R=150K + HD44801(config, m_maincpu, 400'000); // approximation m_maincpu->write_r<2>().set(FUNC(tschess_state::mux_w<0>)); m_maincpu->write_r<3>().set(FUNC(tschess_state::mux_w<1>)); m_maincpu->write_d().set(FUNC(tschess_state::control_w));