Previous 199869 Revisions Next

r19535 Thursday 13th December, 2012 at 20:00:48 UTC by Roberto Fresca
Kuru Kuru Pyon Pyon: Documented the bookkeeping, character names
(bets 1-2-3-4-5), and found the port that trigger the M5205 samples
[Roberto Fresca]
[src/mame/drivers]kurukuru.c

trunk/src/mame/drivers/kurukuru.c
r19534r19535
5151  The game name could be translated as "Croak Croak Hop Hop"
5252  Kuru is the frog sound, and Pyon is the sound of jumps.
5353
54  The game is playable, even when you can't see some graphics.
54  The game is playable, even when you can't hear all sounds.
5555
5656  Coin 1 (key 5) is not working properly and could hang the system.
57  Once pressed, the game spits a message that means "Jammed Medal".
5758  For now, use Coin 2 (key 6) and Service (key 8) for credits...
5859
5960  If you pressed Coin 1 and the game is not responding anymore, press RESET
6061  (key 0) and the game will reset to default values.
6162
6263
64  In the Book Keeping, you can find the statistics...
65
66  1st screen...
67
68  - OMAKE:  Extra/Bonus.
69
70  2nd screen...
71
72  - TATE:   Vertical.
73  - YOKO:   Horizontal.
74  - NANAME: Diagonal.
75
76  ...for each character (BOTE, OUME, PYOKO, KUNIO & PP).
77
78  Also...
79
80  - AKA:    Red.
81  - KURO:   Black.
82
83
6384***************************************************************************
6485
6586  TODO:
r19534r19535
6788  - Audio CPU interrupts and connections/latches.
6889  - M5205 ADPCM system.
6990  - Hook up AY8910 output ports.
70  - Find why the use of coin 1 hangs the game.
91  - Find why the use of coin 1 always jams. Hopper?
7192
7293
7394***************************************************************************/
r19534r19535
147168   AM_RANGE(0x0000, 0x3fff) AM_ROM
148169   AM_RANGE(0x6000, 0xdfff) AM_ROMBANK("bank1")
149170   AM_RANGE(0xe000, 0xe3ff) AM_RAM AM_SHARE("nvram")
150//   AM_RANGE(0xe400, 0xefff) AM_RAM
171   AM_RANGE(0xe400, 0xefff) AM_RAM
151172   AM_RANGE(0xf000, 0xffff) AM_RAM AM_SHARE("share")
152173ADDRESS_MAP_END
153174
154175static ADDRESS_MAP_START( kurukuru_io, AS_IO, 8, kurukuru_state )
155176   ADDRESS_MAP_GLOBAL_MASK(0xff)
156   AM_RANGE(0x00, 0x00) AM_WRITENOP //seems for switch cpu... or irq?
177//   AM_RANGE(0x00, 0x00) AM_WRITENOP // seems for switch cpu... or irq?
157178   AM_RANGE(0x10, 0x10) AM_READ_PORT("DSW1")
179//   AM_RANGE(0x20, 0x20) AM_WRITE    // trigger the m5205 sample number.
158180   AM_RANGE(0x80, 0x83) AM_DEVREADWRITE( "v9938", v9938_device, read, write )
159181   AM_RANGE(0x90, 0x90) AM_WRITE(kurukuru_bankswitch_w)
160182   AM_RANGE(0xa0, 0xa0) AM_READ_PORT("IN0")
r19534r19535
164186   AM_RANGE(0xd0, 0xd0) AM_DEVWRITE_LEGACY("aysnd", ay8910_data_w)
165187ADDRESS_MAP_END
166188
189/*
190  0x00 Writes... 2nd cpu related.
191                 01 when coin 1 (jams)
192             20 when coin 2
193             40 when payout (jams) ...check
167194
195  0x20 Writes... # sample to trigger
196                 00, 08, 03, 04, 05 for bets 1-2-3-4-5 respectively.
197                 0d while reels are running.
198*/
199
200
168201static ADDRESS_MAP_START( audio_map, AS_PROGRAM, 8, kurukuru_state )
169202   AM_RANGE(0x0000, 0xbfff) AM_ROM
170203   AM_RANGE(0xf000, 0xffff) AM_RAM AM_SHARE("share")
r19534r19535
189222
190223static INPUT_PORTS_START( kurukuru )
191224   PORT_START("IN0")
192   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("1st")
193   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("2nd")
194   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("3rd")
195   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("4th")
196   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("5th")
225   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("1st (BOTE)")
226   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("2nd (OUME)")
227   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("3rd (PYOKO)")
228   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("4th (KUNIO)")
229   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("5th (PP)")
197230   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("unknown N")
198231   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_M) PORT_NAME("unknown M")
199232   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
r19534r19535
204237   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Reset Button")
205238   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
206239   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_A) PORT_NAME("Unknown 1")
207   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )   // coin 1 not incrementing and hang the game
240   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE (2)                        // coin 1 is not incrementing the credits and jams
208241   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_S) PORT_NAME("Unknown 2")
209   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
242   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )                                 // payout write the pulses, but jams.
210243
211244   PORT_START("DSW1")
212245   PORT_DIPNAME( 0x07, 0x03, "Coinage A (100 Y)" )   PORT_DIPLOCATION("DSW1:1,2,3")

Previous 199869 Revisions Next


© 1997-2024 The MAME Team