Previous 199869 Revisions Next

r20280 Tuesday 15th January, 2013 at 17:42:55 UTC by Roberto Fresca
Lucky'74 (set 2): Proper inputs to reflect the real payrate table.
[Roberto Fresca]
[src/mame/drivers]lucky74.c

trunk/src/mame/drivers/lucky74.c
r20279r20280
658658    DRIVER UPDATES:
659659
660660
661    [2013-01-15]
662
663    - Added another set of Lucky'74 (reclassified as bootleg set 2). This one has
664     a different payrate table that match 100% the one from the manual...
665
666
661667    [2012-06-05]
662668
663669    - Added Exciting Black Jack. The first SEGA satellite system supported.
r20279r20280
11691175INPUT_PORTS_END
11701176
11711177
1178static INPUT_PORTS_START( lucky74a )
1179
1180/*  Player buttons are the same for players 1 & 2.
1181    Test mode shows them as dupes. Maybe are multiplexed?
1182*/
1183   PORT_START("IN0")
1184   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )    /* 'A' in test mode */
1185   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )    /* 'B' in test mode */
1186   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )    /* 'C' in test mode */
1187   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )    /* 'D' in test mode */
1188   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )    /* 'E' in test mode */
1189   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")  /* 'F' in test mode */
1190   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Flip SC Off") PORT_CODE(KEYCODE_O)  /* 'G' in test mode (normal screen) */
1191   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER )      PORT_NAME("Input H") PORT_CODE(KEYCODE_K)  /* 'H' in test mode */
1192
1193   PORT_START("IN1")
1194   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )     /* 'I' in test mode */
1195   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )     PORT_NAME("Start")  /* 'J' in test mode */
1196   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   /* 'K' in test mode */
1197   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )        /* 'L' in test mode */
1198   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )        /* 'M' & 'Q' in test mode */
1199   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")   /* 'N' & 'P' in test mode */
1200   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Flip SC On")  PORT_CODE(KEYCODE_I)  /* 'O' in test mode (inverted screen) */
1201   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* not in test mode */
1202
1203   PORT_START("IN2")
1204   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1205   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1206   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK )
1207   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE
1208   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
1209   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1210   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1211   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1212
1213   PORT_START("IN3")   /* YM2149, port A */
1214   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )    PORT_IMPULSE(2)   /* Coin A */
1215   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1216   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )    PORT_IMPULSE(2)   /* Coin B */
1217   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 )    PORT_IMPULSE(2)   /* Coin C */
1218   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )  PORT_NAME("Service")
1219   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1220   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1221   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1222
1223   PORT_START("IN4")
1224   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Memory Reset Switch") PORT_CODE(KEYCODE_R)
1225   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1226   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1227   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1228   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1229   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1230   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1231   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1232
1233   PORT_START("DSW1")
1234   PORT_DIPNAME( 0x01, 0x01, "Auto Hold" )             PORT_DIPLOCATION("DSW1:1")  /* see note 1 */
1235   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1236   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
1237   PORT_DIPNAME( 0x02, 0x02, "Jackpot" )               PORT_DIPLOCATION("DSW1:2")  /* see note 2 */
1238   PORT_DIPSETTING(    0x02, "Bet x 100" )
1239   PORT_DIPSETTING(    0x00, "Bet x 150" )
1240   PORT_DIPNAME( 0x04, 0x04, "Ceiling Bonus Point" )   PORT_DIPLOCATION("DSW1:3")  /* see note 3 */
1241   PORT_DIPSETTING(    0x04, "Bet x 40"  )
1242   PORT_DIPSETTING(    0x00, "Bet x 50"  )
1243   PORT_DIPNAME( 0x78, 0x40, "Percentage" )            PORT_DIPLOCATION("DSW1:4,5,6,7")    /* see note 4 */
1244   PORT_DIPSETTING(    0x00, "110%" )   /* 110% in the instruction sheet */
1245   PORT_DIPSETTING(    0x08, "106%" )   /* 106% in the instruction sheet */
1246   PORT_DIPSETTING(    0x10, "102%" )   /* 102% in the instruction sheet */
1247   PORT_DIPSETTING(    0x18, "98%" )   /* 98% in the instruction sheet */
1248   PORT_DIPSETTING(    0x20, "94%" )   /* 94% in the instruction sheet */
1249   PORT_DIPSETTING(    0x28, "90%" )   /* 90% in the instruction sheet */
1250   PORT_DIPSETTING(    0x30, "86%" )   /* 86% in the instruction sheet */
1251   PORT_DIPSETTING(    0x38, "82%" )   /* 82% in the instruction sheet */
1252   PORT_DIPSETTING(    0x40, "78%" )   /* 78% in the instruction sheet */
1253   PORT_DIPSETTING(    0x48, "74%" )   /* 74% in the instruction sheet */
1254   PORT_DIPSETTING(    0x50, "70%" )   /* 70% in the instruction sheet */
1255   PORT_DIPSETTING(    0x58, "66%" )   /* 66% in the instruction sheet */
1256   PORT_DIPSETTING(    0x60, "62%" )   /* 62% in the instruction sheet */
1257   PORT_DIPSETTING(    0x68, "58%" )   /* 58% in the instruction sheet */
1258   PORT_DIPSETTING(    0x70, "54%" )   /* 54% in the instruction sheet */
1259   PORT_DIPSETTING(    0x78, "50%" )   /* 50% in the instruction sheet */
1260   PORT_DIPNAME( 0x80, 0x80, "Panties" )               PORT_DIPLOCATION("DSW1:8")
1261   PORT_DIPSETTING(    0x00, "Without" )
1262   PORT_DIPSETTING(    0x80, "With" )
1263
1264   PORT_START("DSW2")
1265   /* DIPs 1-4 handle the harcoded coinage for Coin A, B and Remote credits (B = A x 5; R = A x 10) */
1266   PORT_DIPNAME( 0x0f, 0x0f, "Coinage A, B & Remote" ) PORT_DIPLOCATION("DSW2:1,2,3,4")
1267   PORT_DIPSETTING(    0x00, "A: 20 Coins/1 Credit; B: 4 Coins/1 Credit;   R: 2 Pulses/1 Credit   " )
1268   PORT_DIPSETTING(    0x01, "A: 15 Coins/1 Credit; B: 3 Coins/1 Credit;   R: 15 Pulses/10 Credits" )
1269   PORT_DIPSETTING(    0x02, "A: 10 Coins/1 Credit; B: 2 Coins/1 Credit;   R: 1 Pulse/1 Credit    " )
1270   PORT_DIPSETTING(    0x03, "A: 4 Coins/1 Credit;  B: 5 Coins/5 Credits;  R: 4 Pulses/10 Credits " )
1271   PORT_DIPSETTING(    0x04, "A: 3 Coins/2 Credits; B: 3 Coins/10 Credits; R: 3 Pulses/20 Credits " )
1272   PORT_DIPSETTING(    0x05, "A: 3 Coins/1 Credit;  B: 3 Coins/5 Credits;  R: 3 Pulses/10 Credits " )
1273   PORT_DIPSETTING(    0x06, "A: 2 Coins/1 Credit;  B: 2 Coins/5 Credits;  R: 1 Pulse/5 Credits   " )
1274   PORT_DIPSETTING(    0x07, "A: 5 Coins/1 Credit;  B: 1 Coin/1 Credit;    R: 1 Pulse/2 Credits   " )
1275   PORT_DIPSETTING(    0x08, "A: 5 Coins/2 Credits; B: 1 Coin/2 Credits;   R: 1 Pulse/4 Credits   " )
1276   PORT_DIPSETTING(    0x09, "A: 5 Coins/3 Credits; B: 1 Coin/3 Credits;   R: 1 Pulse/6 Credits   " )
1277   PORT_DIPSETTING(    0x0a, "A: 5 Coins/4 Credits; B: 1 Coin/4 Credits;   R: 1 Pulse/8 Credits   " )
1278   PORT_DIPSETTING(    0x0b, "A: 1 Coin/1 Credit;   B: 1 Coin/5 Credits;   R: 1 Pulse/10 Credits  " )
1279   PORT_DIPSETTING(    0x0c, "A: 5 Coins/6 Credits; B: 1 Coin/6 Credits;   R: 1 Pulse/12 Credits  " )
1280   PORT_DIPSETTING(    0x0d, "A: 1 Coin/2 Credits;  B: 1 Coin/10 Credits;  R: 1 Pulse/20 Credits  " )
1281   PORT_DIPSETTING(    0x0e, "A: 1 Coin/5 Credits;  B: 1 Coin/25 Credits;  R: 1 Pulse/50 Credits  " )
1282   PORT_DIPSETTING(    0x0f, "A: 1 Coin/10 Credits; B: 1 Coin/50 Credits;  R: 1 Pulse/100 Credits " )
1283   /* DIPs 5-8 handle the Coin C coinage */
1284   PORT_DIPNAME( 0xf0, 0xf0, "Coinage C" )             PORT_DIPLOCATION("DSW2:5,6,7,8")
1285   PORT_DIPSETTING(    0x00, "10 Coins/1 Credit" )
1286   PORT_DIPSETTING(    0x10, DEF_STR( 5C_1C ) )
1287   PORT_DIPSETTING(    0x30, DEF_STR( 4C_1C ) )
1288   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
1289   PORT_DIPSETTING(    0x20, "5 Coins/2 Credits" )     /* 2.5 coins per credit */
1290   PORT_DIPSETTING(    0x50, DEF_STR( 2C_1C ) )
1291   PORT_DIPSETTING(    0x70, DEF_STR( 1C_1C ) )
1292   PORT_DIPSETTING(    0x60, DEF_STR( 2C_3C ) )
1293   PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
1294   PORT_DIPSETTING(    0x90, DEF_STR( 1C_3C ) )
1295   PORT_DIPSETTING(    0xa0, DEF_STR( 1C_5C ) )
1296   PORT_DIPSETTING(    0xb0, "1 Coin/10 Credits" )
1297   PORT_DIPSETTING(    0xc0, "1 Coin/20 Credits" )
1298   PORT_DIPSETTING(    0xd0, "1 Coin/25 Credits" )
1299   PORT_DIPSETTING(    0xe0, "1 Coin/40 Credits" )
1300   PORT_DIPSETTING(    0xf0, "1 Coin/50 Credits" )
1301
1302   PORT_START("DSW3")
1303   PORT_DIPNAME( 0x01, 0x00, "Bet Max" )                       PORT_DIPLOCATION("DSW3:1")
1304   PORT_DIPSETTING(    0x01, "20" )
1305   PORT_DIPSETTING(    0x00, "40" )
1306   PORT_DIPNAME( 0x06, 0x06, "Minimum Bet" )                   PORT_DIPLOCATION("DSW3:2,3")    /* Bet Min */
1307   PORT_DIPSETTING(    0x06, "1" )
1308   PORT_DIPSETTING(    0x04, "5" )
1309   PORT_DIPSETTING(    0x02, "8" )
1310   PORT_DIPSETTING(    0x00, "10" )
1311   PORT_DIPNAME( 0x18, 0x18, "Limit" )                         PORT_DIPLOCATION("DSW3:4,5")
1312   PORT_DIPSETTING(    0x18, "No Limit" )
1313   PORT_DIPSETTING(    0x10, "10000" )
1314   PORT_DIPSETTING(    0x08, "15000" )
1315   PORT_DIPSETTING(    0x00, "20000" )
1316   PORT_DIPNAME( 0x20, 0x20, "Woman's figure in Main Game" )   PORT_DIPLOCATION("DSW3:6")  /* see note 6 */
1317   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1318   PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
1319   PORT_DIPNAME( 0x40, 0x40, "Type of Poker" )                 PORT_DIPLOCATION("DSW3:7")
1320   PORT_DIPSETTING(    0x40, "A - Without Wild Card" ) /* see the game notes */
1321   PORT_DIPSETTING(    0x00, "B - Joker Wild Poker" )  /* see the game notes */
1322   PORT_DIPNAME( 0x80, 0x80, "Kinds of Poker" )                PORT_DIPLOCATION("DSW3:8")
1323   PORT_DIPSETTING(    0x80, "A - Hold" )
1324   PORT_DIPSETTING(    0x00, "B - Discard" )
1325
1326   PORT_START("DSW4")
1327   PORT_DIPNAME( 0x01, 0x01, "Hopper Coin SW" )                PORT_DIPLOCATION("DSW4:1")
1328   PORT_DIPSETTING(    0x01, "Active Low" )
1329   PORT_DIPSETTING(    0x00, "Active High" )
1330   PORT_DIPNAME( 0x02, 0x02, "Coin Payment" )                  PORT_DIPLOCATION("DSW4:2")
1331   PORT_DIPSETTING(    0x00, "Auto" )
1332   PORT_DIPSETTING(    0x02, "Auto by PAYOUT SW" )
1333   PORT_DIPNAME( 0x04, 0x00, "Hopper Capacity" )               PORT_DIPLOCATION("DSW4:3")
1334   PORT_DIPSETTING(    0x04, "700" )
1335   PORT_DIPSETTING(    0x00, "Unlimited" )
1336   PORT_DIPNAME( 0x08, 0x08, "Woman's figure in D-UP game" )   PORT_DIPLOCATION("DSW4:4")  /* doesn't seems to work */
1337   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1338   PORT_DIPSETTING(    0x08, DEF_STR( Yes ) )
1339   PORT_DIPNAME( 0x10, 0x10, "Double-Up game" )                PORT_DIPLOCATION("DSW4:5")
1340   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1341   PORT_DIPSETTING(    0x10, DEF_STR( Yes ) )
1342   PORT_DIPNAME( 0x20, 0x20, "Stop by 6th Double-Up" )         PORT_DIPLOCATION("DSW4:6")  /* see note 7 */
1343   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1344   PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
1345   PORT_DIPNAME( 0xC0, 0xC0, "Double-Up difficulty" )          PORT_DIPLOCATION("DSW4:7,8")
1346   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )  /* easy      (from instruction sheet) */
1347   PORT_DIPSETTING(    0x40, DEF_STR( Hard ) )     /* ....      (from instruction sheet) */
1348   PORT_DIPSETTING(    0x80, DEF_STR( Normal ) )   /* ....      (from instruction sheet) */
1349   PORT_DIPSETTING(    0xC0, DEF_STR( Easy ) )     /* difficult (from instruction sheet) */
1350INPUT_PORTS_END
1351
1352
11721353static INPUT_PORTS_START( excitbj )
11731354   PORT_START("IN0")
11741355   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("1BET")   // Bet 1
r20279r20280
17711952*                Game Drivers                *
17721953**********************************************
17731954
1774       YEAR  NAME      PARENT   MACHINE  INPUT    STATS           INIT  ROT    COMPANY           FULLNAME                    FLAGS             LAYOUT  */
1775GAMEL( 1988, lucky74,  0,       lucky74, lucky74, driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 1)", 0,                layout_lucky74 )
1776GAMEL( 1988, lucky74a, lucky74, lucky74, lucky74, driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 3)", 0,                layout_lucky74 )
1777GAMEL( 1988, lucky74b, lucky74, lucky74, lucky74, driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 2)", GAME_NOT_WORKING, layout_lucky74 )
1778GAME(  1989, excitbj,  0,       lucky74, excitbj, driver_device,  0,    ROT0, "Sega",           "Exciting Black Jack",       GAME_NOT_WORKING )
1955       YEAR  NAME      PARENT   MACHINE  INPUT     STATS           INIT  ROT    COMPANY           FULLNAME                    FLAGS             LAYOUT  */
1956GAMEL( 1988, lucky74,  0,       lucky74, lucky74,  driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 1)", 0,                layout_lucky74 )
1957GAMEL( 1988, lucky74a, lucky74, lucky74, lucky74a, driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 3)", 0,                layout_lucky74 )
1958GAMEL( 1988, lucky74b, lucky74, lucky74, lucky74,  driver_device,  0,    ROT0, "Wing Co., Ltd.", "Lucky 74 (bootleg, set 2)", GAME_NOT_WORKING, layout_lucky74 )
1959GAME(  1989, excitbj,  0,       lucky74, excitbj,  driver_device,  0,    ROT0, "Sega",           "Exciting Black Jack",       GAME_NOT_WORKING )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team