~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/cabaret.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN  )
219
219
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Memory Clear") // stats, memory
220
220
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN  )
221
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
 
221
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
222
222
        PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
223
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
 
223
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
224
224
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
225
225
 
226
226
        PORT_START("COINS")
227
227
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1   )
228
228
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
229
229
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2   )
230
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
231
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
 
230
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
 
231
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
232
232
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
233
233
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
234
234
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
235
235
 
236
236
        PORT_START("BUTTONS1")
237
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold1")
238
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold2")
239
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold3")
240
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold4")
241
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold5")
 
237
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
 
238
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
 
239
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
 
240
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
 
241
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
242
242
        PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
243
243
 
244
244
        PORT_START("BUTTONS2")
245
245
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
246
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Decrement")
247
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Bet")
248
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Collect")
249
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("W-Up")
 
246
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Decrement")
 
247
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
 
248
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Collect")
 
249
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("W-Up")
250
250
        PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
251
251
INPUT_PORTS_END
252
252
 
360
360
        ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for code */
361
361
        ROM_LOAD( "cg-8v204.u97",  0x0000, 0x10000, CRC(44cebf77) SHA1(e3f4e4abf41388f0eed50cf9a0fd0b14aa2f8b93) )
362
362
 
363
 
        ROM_REGION( 0x60000, "gfx1", ROMREGION_DISPOSE )
 
363
        ROM_REGION( 0x60000, "gfx1", 0 )
364
364
        ROM_LOAD( "cg-4.u43",  0x40000, 0x20000, CRC(e509f50a) SHA1(7e68ca54642c92cdb348d5cf9466065938d0e027) )
365
365
        ROM_LOAD( "cg-5.u44",  0x20000, 0x20000, CRC(e2cbf489) SHA1(3a15ed7efd5696656e6d55b54ec0ff779bdb0d98) )
366
366
        ROM_LOAD( "cg-6.u45",  0x00000, 0x20000, CRC(4f2fced7) SHA1(b954856ffdc97fbc99fd3ec087376fbf466d2d5a) )
367
367
 
368
 
        ROM_REGION( 0xc000, "gfx2", ROMREGION_DISPOSE )
 
368
        ROM_REGION( 0xc000, "gfx2", 0 )
369
369
        ROM_LOAD( "cg-1.u40",  0x8000, 0x4000, CRC(7dee8b1f) SHA1(80dbdf6aab9b02cc000956b7894023552428e6a1) )
370
370
        ROM_LOAD( "cg-2.u41",  0x0000, 0x4000, CRC(ce8dea39) SHA1(b30d1678a7b98cd821d2ce7383a83cb7c9f31b5f) )
371
371
        ROM_LOAD( "cg-3.u42",  0x4000, 0x4000, CRC(7e1f821f) SHA1(b709d49f9d1890fe3b8ca7f90affc0017a0ad95e) )
375
375
ROM_END
376
376
 
377
377
GAME( 1992, cabaret,  0, cabaret,  cabaret, cabaret,  ROT0, "AMT Co. Ltd.", "Cabaret", GAME_NOT_WORKING )
378