1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
// license:BSD-3-Clause
// copyright-holders:hap
/***************************************************************************
Roland TR-606 Drumatix, early 1982
Hardware notes:
- NEC uCOM-43 MCU, labeled D650C 128
- 2*uPD444C 1024x4 Static CMOS SRAM
- board is packed with discrete components
TODO:
- everything
***************************************************************************/
#include "emu.h"
#include "cpu/ucom4/ucom4.h"
#include "machine/clock.h"
namespace {
class tr606_state : public driver_device
{
public:
tr606_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
void tr606(machine_config &config);
protected:
virtual void machine_start() override;
private:
required_device<ucom4_cpu_device> m_maincpu;
};
void tr606_state::machine_start()
{
}
/***************************************************************************
Inputs
***************************************************************************/
static INPUT_PORTS_START( tr606 )
INPUT_PORTS_END
/***************************************************************************
Machine Configs
***************************************************************************/
void tr606_state::tr606(machine_config &config)
{
// basic machine hardware
NEC_D650(config, m_maincpu, 454545); // LC circuit(TI S74230), 2.2us
auto &irq_clock(CLOCK(config, "irq_clock"));
irq_clock.set_period(attotime::from_usec(1800)); // clock rate 1.8ms (same as tb303)
irq_clock.set_duty_cycle(0.1); // short duty cycle
irq_clock.signal_handler().set_inputline(m_maincpu, 0);
// sound hardware
// discrete...
}
/***************************************************************************
ROM Definitions
***************************************************************************/
ROM_START( tr606 )
ROM_REGION( 0x0800, "maincpu", 0 )
ROM_LOAD( "d650c-128.ic4", 0x0000, 0x0800, CRC(eee88f80) SHA1(ae605ce2b95adc2e0bacde3cd7ed0f39ac88b981) )
ROM_END
} // anonymous namespace
/***************************************************************************
Drivers
***************************************************************************/
SYST( 1982, tr606, 0, 0, tr606, tr606, tr606_state, empty_init, "Roland", "TR-606 Drumatix", MACHINE_IS_SKELETON )
|