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
|
// license:BSD-3-Clause
// copyright-holders:AJR
/****************************************************************************
Skeleton driver for Korg microKORG compact synthesizer/vocoder.
The MS2000 Analog Modeling Synthesizer runs on similar hardware.
****************************************************************************/
#include "emu.h"
#include "cpu/h8/h8s2320.h"
#include "machine/intelfsh.h"
class microkorg_state : public driver_device
{
public:
microkorg_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{
}
void microkorg(machine_config &config);
private:
void mem_map(address_map &map);
required_device<h8s2320_device> m_maincpu;
};
void microkorg_state::mem_map(address_map &map)
{
map(0x000000, 0x0fffff).rw("flash", FUNC(intelfsh16_device::read), FUNC(intelfsh16_device::write));
map(0x400000, 0x47ffff).ram();
}
static INPUT_PORTS_START(microkorg)
INPUT_PORTS_END
void microkorg_state::microkorg(machine_config &config)
{
H8S2320(config, m_maincpu, 10_MHz_XTAL); // HD6412320VF25 (or HD6412324SVF25)
m_maincpu->set_addrmap(AS_PROGRAM, µkorg_state::mem_map);
// TODO: serial channel 0 is SPI link to DSP; serial channel 1 is MIDI
FUJITSU_29LV800B(config, "flash"); // MBM29LV800BA-90PFTN
//DSP56362(config, "dsp", 12.288_MHz_XTAL / 4); // DSPB56362PV100
//AK4522(config, "codec", 12.288_MHz_XTAL); // AK4522VF
}
ROM_START(microkorg)
ROM_REGION16_LE(0x100000, "flash", 0)
ROM_LOAD("korg_microkorg_v1.03_29lv800b.ic20", 0x000000, 0x100000, CRC(607ada7e) SHA1(4a6e2f4068cac7493484af2a8c1d1db7d8bd7a17))
ROM_END
SYST(2002, microkorg, 0, 0, microkorg, microkorg, microkorg_state, empty_init, "Korg", "microKORG Synthesizer/Vocoder", MACHINE_IS_SKELETON)
|