trunk/src/mame/drivers/4enraya.c
| r31425 | r31426 | |
| 53 | 53 | |
| 54 | 54 | bits 3-7 - not connected |
| 55 | 55 | |
| 56 | *************************************************************************** |
| 57 | |
| 58 | Unknown Pac-Man gambling game. |
| 59 | |
| 60 | How to play... |
| 61 | |
| 62 | Just coin up using Gambling Coin In (key 7). All ghosts will be placed |
| 63 | around the center. (each ghost represent a number/card). |
| 64 | |
| 65 | Bet using START, and once done, press UP, to allow the pacman eat all ghosts, |
| 66 | revealing the five numbers (like italian poker games without cards). |
| 67 | |
| 68 | Now you have an arrow as cursor. Place it under the each number you want to |
| 69 | discard and press START to eliminate the number and place the representative |
| 70 | ghost again around. |
| 71 | |
| 72 | Once done, just press UP again, and pacman will re-eat the new placed |
| 73 | ghosts, revealing the new numbers (as a new deal). |
| 74 | |
| 75 | If you have a winning hand, you can press DOWN to get a Double-Up. |
| 76 | Choose left or right for Big and Small. If you win, you'll double the bet |
| 77 | amount. If you lose, your pacman will die. |
| 78 | |
| 79 | Coin with A or B to exit the gambling game and play the ultra-adictive |
| 80 | pacman front game again!... |
| 81 | |
| 82 | |
| 56 | 83 | ***************************************************************************/ |
| 57 | 84 | |
| 58 | 85 | #include "emu.h" |
| r31425 | r31426 | |
| 262 | 289 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 263 | 290 | |
| 264 | 291 | PORT_START("IN1") |
| 265 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) // 1 credits / initiate minigame |
| 266 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) // 5 credits / initiate gambling |
| 267 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) // 10 credits |
| 292 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Front Game Coin A") // 1 credits / initiate minigame |
| 293 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Gambling Game Coin In") // 5 credits / initiate gambling |
| 294 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Front Game Coin B") // 10 credits |
| 268 | 295 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 269 | 296 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 270 | 297 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r31425 | r31426 | |
| 275 | 302 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 276 | 303 | |
| 277 | 304 | PORT_START("IN2") |
| 278 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) |
| 279 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) |
| 280 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) |
| 281 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) |
| 305 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start / Discard") |
| 306 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("UP / Deal") |
| 307 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_NAME("Left / Small") |
| 308 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_NAME("Right / Big") |
| 282 | 309 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 283 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) |
| 310 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Down / Double-Up") |
| 284 | 311 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 285 | 312 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 286 | 313 | INPUT_PORTS_END |