Skip to content

Commit ba40b01

Browse files
committed
New systems marked not working
------------------------------ Kuru.Kuru-Count [buffi]
1 parent 414c5ce commit ba40b01

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed

src/mame/mame.lst

+3
Original file line numberDiff line numberDiff line change
@@ -30412,6 +30412,9 @@ dealracl //
3041230412
kingpin // (c) 1983 American Communications Laboratories Inc.
3041330413
maxideal // (c) 1983 American Communications Laboratories Inc.
3041430414

30415+
@source:misc/kkcount.cpp
30416+
kkcount
30417+
3041530418
@source:misc/kurukuru.cpp
3041630419
kurukuru // (c) 1990 Success / Taiyo Jidoki.
3041730420
ppj // (c) 199? Success / Taiyo Jidoki.

src/mame/misc/kkcount.cpp

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// license:BSD-3-Clause
2+
// copyright-holders:
3+
4+
/*
5+
KCPU30-BASS KOMAYA PCB
6+
7+
kuru.kuru-count (2005) - さーくるん
8+
mechanical medal game
9+
https://www.youtube.com/watch?v=L8LYEyvYvIY
10+
11+
Very tiny and tidy PCB with the following main components:
12+
TMP95C265P with AM27C040 program ROM
13+
16 MHz resonator
14+
LM358N
15+
Sharp PQ05RR1
16+
4x T062004AP (with 1 more empty space)
17+
2x TC4050BP
18+
8-DIP bank
19+
6x connectors (with 2 more empty spaces)
20+
*/
21+
22+
#include "emu.h"
23+
24+
#include "cpu/tlcs900/tmp95c061.h"
25+
26+
#include "speaker.h"
27+
28+
29+
namespace {
30+
31+
class komaya_state : public driver_device
32+
{
33+
public:
34+
komaya_state(const machine_config &mconfig, device_type type, const char *tag)
35+
: driver_device(mconfig, type, tag),
36+
m_maincpu(*this, "maincpu")
37+
{}
38+
39+
void kkcount(machine_config &config) ATTR_COLD;
40+
41+
private:
42+
required_device<cpu_device> m_maincpu;
43+
44+
void program_map(address_map &map) ATTR_COLD;
45+
};
46+
47+
48+
void komaya_state::program_map(address_map &map)
49+
{
50+
}
51+
52+
53+
static INPUT_PORTS_START( kkcount )
54+
PORT_START("IN0")
55+
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
56+
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
57+
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
58+
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
59+
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
60+
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
61+
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
62+
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
63+
64+
PORT_START("IN1")
65+
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
66+
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
67+
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
68+
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
69+
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
70+
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
71+
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
72+
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
73+
74+
PORT_START("DSW")
75+
PORT_DIPNAME( 0x01, 0x01, "DSW" )
76+
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
77+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
78+
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
79+
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
80+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
81+
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
82+
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
83+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
84+
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
85+
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
86+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
87+
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
88+
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
89+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
90+
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
91+
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
92+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
93+
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
94+
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
95+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
96+
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
97+
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
98+
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
99+
INPUT_PORTS_END
100+
101+
102+
void komaya_state::kkcount(machine_config &config)
103+
{
104+
TMP95C061(config, m_maincpu, 16_MHz_XTAL); // actually TMP95C265P
105+
m_maincpu->set_addrmap(AS_PROGRAM, &komaya_state::program_map);
106+
107+
// sound
108+
SPEAKER(config, "mono").front_center();
109+
// TODO: ROM definitely contains samples, but how are they played?
110+
}
111+
112+
113+
ROM_START( kkcount )
114+
ROM_REGION( 0x80000, "maincpu", 0 )
115+
ROM_LOAD( "saakurun_a.ic7", 0x00000, 0x80000, CRC(9182015b) SHA1(0b4a47215656ef79374d83e99b5d3e048051cb91) ) // “サークルン A
116+
ROM_END
117+
118+
} // anonymous namespace
119+
120+
121+
GAME( 2005, kkcount, 0, kkcount, kkcount, komaya_state, empty_init, ROT0, "Komaya", "Kuru.Kuru-Count", MACHINE_IS_SKELETON_MECHANICAL )

0 commit comments

Comments
 (0)