mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
minichess, tschess: change mcu freq to default 400khz,
ticket: re-add destructor
This commit is contained in:
parent
403bb21221
commit
126e2e3f13
4 changed files with 20 additions and 5 deletions
|
@ -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
|
||||
//**************************************************************************
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue