trunk/src/mame/drivers/kurukuru.c
| r19534 | r19535 | |
| 51 | 51 | The game name could be translated as "Croak Croak Hop Hop" |
| 52 | 52 | Kuru is the frog sound, and Pyon is the sound of jumps. |
| 53 | 53 | |
| 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. |
| 55 | 55 | |
| 56 | 56 | 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". |
| 57 | 58 | For now, use Coin 2 (key 6) and Service (key 8) for credits... |
| 58 | 59 | |
| 59 | 60 | If you pressed Coin 1 and the game is not responding anymore, press RESET |
| 60 | 61 | (key 0) and the game will reset to default values. |
| 61 | 62 | |
| 62 | 63 | |
| 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 | |
| 63 | 84 | *************************************************************************** |
| 64 | 85 | |
| 65 | 86 | TODO: |
| r19534 | r19535 | |
| 67 | 88 | - Audio CPU interrupts and connections/latches. |
| 68 | 89 | - M5205 ADPCM system. |
| 69 | 90 | - 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? |
| 71 | 92 | |
| 72 | 93 | |
| 73 | 94 | ***************************************************************************/ |
| r19534 | r19535 | |
| 147 | 168 | AM_RANGE(0x0000, 0x3fff) AM_ROM |
| 148 | 169 | AM_RANGE(0x6000, 0xdfff) AM_ROMBANK("bank1") |
| 149 | 170 | AM_RANGE(0xe000, 0xe3ff) AM_RAM AM_SHARE("nvram") |
| 150 | | // AM_RANGE(0xe400, 0xefff) AM_RAM |
| 171 | AM_RANGE(0xe400, 0xefff) AM_RAM |
| 151 | 172 | AM_RANGE(0xf000, 0xffff) AM_RAM AM_SHARE("share") |
| 152 | 173 | ADDRESS_MAP_END |
| 153 | 174 | |
| 154 | 175 | static ADDRESS_MAP_START( kurukuru_io, AS_IO, 8, kurukuru_state ) |
| 155 | 176 | 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? |
| 157 | 178 | AM_RANGE(0x10, 0x10) AM_READ_PORT("DSW1") |
| 179 | // AM_RANGE(0x20, 0x20) AM_WRITE // trigger the m5205 sample number. |
| 158 | 180 | AM_RANGE(0x80, 0x83) AM_DEVREADWRITE( "v9938", v9938_device, read, write ) |
| 159 | 181 | AM_RANGE(0x90, 0x90) AM_WRITE(kurukuru_bankswitch_w) |
| 160 | 182 | AM_RANGE(0xa0, 0xa0) AM_READ_PORT("IN0") |
| r19534 | r19535 | |
| 164 | 186 | AM_RANGE(0xd0, 0xd0) AM_DEVWRITE_LEGACY("aysnd", ay8910_data_w) |
| 165 | 187 | ADDRESS_MAP_END |
| 166 | 188 | |
| 189 | /* |
| 190 | 0x00 Writes... 2nd cpu related. |
| 191 | 01 when coin 1 (jams) |
| 192 | 20 when coin 2 |
| 193 | 40 when payout (jams) ...check |
| 167 | 194 | |
| 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 | |
| 168 | 201 | static ADDRESS_MAP_START( audio_map, AS_PROGRAM, 8, kurukuru_state ) |
| 169 | 202 | AM_RANGE(0x0000, 0xbfff) AM_ROM |
| 170 | 203 | AM_RANGE(0xf000, 0xffff) AM_RAM AM_SHARE("share") |
| r19534 | r19535 | |
| 189 | 222 | |
| 190 | 223 | static INPUT_PORTS_START( kurukuru ) |
| 191 | 224 | 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)") |
| 197 | 230 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("unknown N") |
| 198 | 231 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_M) PORT_NAME("unknown M") |
| 199 | 232 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| r19534 | r19535 | |
| 204 | 237 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Reset Button") |
| 205 | 238 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 206 | 239 | 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 |
| 208 | 241 | 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. |
| 210 | 243 | |
| 211 | 244 | PORT_START("DSW1") |
| 212 | 245 | PORT_DIPNAME( 0x07, 0x03, "Coinage A (100 Y)" ) PORT_DIPLOCATION("DSW1:1,2,3") |