trunk/src/mame/layout/bigdeal.lay
| r18742 | r18743 | |
| 1 | | <?xml version="1.0"?> |
| 2 | | <mamelayout version="2"> |
| 3 | | <element name="hold1" defstate="0"> |
| 4 | | <rect state="1"> |
| 5 | | <color red="1.0" green="0.0" blue="0.0" /> |
| 6 | | </rect> |
| 7 | | <rect state="0"> |
| 8 | | <color red="0.3" green="0.0" blue="0.0" /> |
| 9 | | </rect> |
| 10 | | <text string="HOLD 1"> |
| 11 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 12 | | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 13 | | </text> |
| 14 | | <text string="RED"> |
| 15 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 16 | | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 17 | | </text> |
| 18 | | </element> |
| 19 | | |
| 20 | | <element name="hold2" defstate="0"> |
| 21 | | <rect state="1"> |
| 22 | | <color red="1.0" green="0.0" blue="0.0" /> |
| 23 | | </rect> |
| 24 | | <rect state="0"> |
| 25 | | <color red="0.3" green="0.0" blue="0.0" /> |
| 26 | | </rect> |
| 27 | | <text string="HOLD 2"> |
| 28 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 29 | | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 30 | | </text> |
| 31 | | <text string="LOW"> |
| 32 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 33 | | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 34 | | </text> |
| 35 | | </element> |
| 36 | | |
| 37 | | <element name="hold3" defstate="0"> |
| 38 | | <rect state="1"> |
| 39 | | <color red="1.0" green="0.0" blue="0.0" /> |
| 40 | | </rect> |
| 41 | | <rect state="0"> |
| 42 | | <color red="0.3" green="0.0" blue="0.0" /> |
| 43 | | </rect> |
| 44 | | <text string="HOLD 3"> |
| 45 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 46 | | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 47 | | </text> |
| 48 | | <text string="HALF"> |
| 49 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 50 | | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 51 | | </text> |
| 52 | | </element> |
| 53 | | |
| 54 | | <element name="hold4" defstate="0"> |
| 55 | | <rect state="1"> |
| 56 | | <color red="1.0" green="0.0" blue="0.0" /> |
| 57 | | </rect> |
| 58 | | <rect state="0"> |
| 59 | | <color red="0.3" green="0.0" blue="0.0" /> |
| 60 | | </rect> |
| 61 | | <text string="HOLD 4"> |
| 62 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 63 | | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 64 | | </text> |
| 65 | | <text string="HIGH"> |
| 66 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 67 | | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 68 | | </text> |
| 69 | | </element> |
| 70 | | |
| 71 | | <element name="hold5" defstate="0"> |
| 72 | | <rect state="1"> |
| 73 | | <color red="1.0" green="0.0" blue="0.0" /> |
| 74 | | </rect> |
| 75 | | <rect state="0"> |
| 76 | | <color red="0.3" green="0.0" blue="0.0" /> |
| 77 | | </rect> |
| 78 | | <text string="HOLD 5"> |
| 79 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 80 | | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 81 | | </text> |
| 82 | | <text string="BLACK"> |
| 83 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 84 | | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 85 | | </text> |
| 86 | | </element> |
| 87 | | |
| 88 | | <element name="cancel" defstate="0"> |
| 89 | | <rect state="1"> |
| 90 | | <color red="0.0" green="1.0" blue="0.0" /> |
| 91 | | </rect> |
| 92 | | <rect state="0"> |
| 93 | | <color red="0.0" green="0.3" blue="0.0" /> |
| 94 | | </rect> |
| 95 | | <text string="CANCEL"> |
| 96 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 97 | | <bounds x="0" y="0.2" width="1" height="0.6" /> |
| 98 | | </text> |
| 99 | | </element> |
| 100 | | |
| 101 | | <element name="start" defstate="0"> |
| 102 | | <rect state="1"> |
| 103 | | <color red="0.0" green="1.0" blue="0.0" /> |
| 104 | | </rect> |
| 105 | | <rect state="0"> |
| 106 | | <color red="0.0" green="0.3" blue="0.0" /> |
| 107 | | </rect> |
| 108 | | <text string="START"> |
| 109 | | <color red="0.0" green="0.0" blue="0.0" /> |
| 110 | | <bounds x="0" y="0.2" width="1" height="0.6" /> |
| 111 | | </text> |
| 112 | | </element> |
| 113 | | |
| 114 | | <view name="Button Lamps"> |
| 115 | | <screen index="0"> |
| 116 | | <bounds left="0" top="0" right="4" bottom="3" /> |
| 117 | | </screen> |
| 118 | | <bezel name="lamp0" element="hold1"> |
| 119 | | <bounds x="0" y="3.13" width="0.55" height="0.24" /> |
| 120 | | </bezel> |
| 121 | | <bezel name="lamp1" element="hold2"> |
| 122 | | <bounds x="0.65" y="3.13" width="0.55" height="0.24" /> |
| 123 | | </bezel> |
| 124 | | <bezel name="lamp2" element="hold3"> |
| 125 | | <bounds x="1.3" y="3.13" width="0.55" height="0.24" /> |
| 126 | | </bezel> |
| 127 | | <bezel name="lamp3" element="hold4"> |
| 128 | | <bounds x="1.95" y="3.13" width="0.55" height="0.24" /> |
| 129 | | </bezel> |
| 130 | | <bezel name="lamp4" element="hold5"> |
| 131 | | <bounds x="2.6" y="3.13" width="0.55" height="0.24" /> |
| 132 | | </bezel> |
| 133 | | <bezel name="lamp5" element="cancel"> |
| 134 | | <bounds x="3.45" y="3.02" width="0.55" height="0.24" /> |
| 135 | | </bezel> |
| 136 | | <bezel name="lamp6" element="start"> |
| 137 | | <bounds x="3.45" y="3.28" width="0.55" height="0.24" /> |
| 138 | | </bezel> |
| 139 | | </view> |
| 140 | | </mamelayout> |
trunk/src/mame/layout/bonuscrd.lay
| r0 | r18743 | |
| 1 | <?xml version="1.0"?> |
| 2 | <mamelayout version="2"> |
| 3 | <element name="hold1" defstate="0"> |
| 4 | <rect state="1"> |
| 5 | <color red="1.0" green="0.0" blue="0.0" /> |
| 6 | </rect> |
| 7 | <rect state="0"> |
| 8 | <color red="0.3" green="0.0" blue="0.0" /> |
| 9 | </rect> |
| 10 | <text string="HOLD 1"> |
| 11 | <color red="0.0" green="0.0" blue="0.0" /> |
| 12 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 13 | </text> |
| 14 | <text string="RED"> |
| 15 | <color red="0.0" green="0.0" blue="0.0" /> |
| 16 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 17 | </text> |
| 18 | </element> |
| 19 | |
| 20 | <element name="hold2" defstate="0"> |
| 21 | <rect state="1"> |
| 22 | <color red="1.0" green="0.0" blue="0.0" /> |
| 23 | </rect> |
| 24 | <rect state="0"> |
| 25 | <color red="0.3" green="0.0" blue="0.0" /> |
| 26 | </rect> |
| 27 | <text string="HOLD 2"> |
| 28 | <color red="0.0" green="0.0" blue="0.0" /> |
| 29 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 30 | </text> |
| 31 | <text string="LOW"> |
| 32 | <color red="0.0" green="0.0" blue="0.0" /> |
| 33 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 34 | </text> |
| 35 | </element> |
| 36 | |
| 37 | <element name="hold3" defstate="0"> |
| 38 | <rect state="1"> |
| 39 | <color red="1.0" green="0.0" blue="0.0" /> |
| 40 | </rect> |
| 41 | <rect state="0"> |
| 42 | <color red="0.3" green="0.0" blue="0.0" /> |
| 43 | </rect> |
| 44 | <text string="HOLD 3"> |
| 45 | <color red="0.0" green="0.0" blue="0.0" /> |
| 46 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 47 | </text> |
| 48 | <text string="HALF"> |
| 49 | <color red="0.0" green="0.0" blue="0.0" /> |
| 50 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 51 | </text> |
| 52 | </element> |
| 53 | |
| 54 | <element name="hold4" defstate="0"> |
| 55 | <rect state="1"> |
| 56 | <color red="1.0" green="0.0" blue="0.0" /> |
| 57 | </rect> |
| 58 | <rect state="0"> |
| 59 | <color red="0.3" green="0.0" blue="0.0" /> |
| 60 | </rect> |
| 61 | <text string="HOLD 4"> |
| 62 | <color red="0.0" green="0.0" blue="0.0" /> |
| 63 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 64 | </text> |
| 65 | <text string="HIGH"> |
| 66 | <color red="0.0" green="0.0" blue="0.0" /> |
| 67 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 68 | </text> |
| 69 | </element> |
| 70 | |
| 71 | <element name="hold5" defstate="0"> |
| 72 | <rect state="1"> |
| 73 | <color red="1.0" green="0.0" blue="0.0" /> |
| 74 | </rect> |
| 75 | <rect state="0"> |
| 76 | <color red="0.3" green="0.0" blue="0.0" /> |
| 77 | </rect> |
| 78 | <text string="HOLD 5"> |
| 79 | <color red="0.0" green="0.0" blue="0.0" /> |
| 80 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 81 | </text> |
| 82 | <text string="BLACK"> |
| 83 | <color red="0.0" green="0.0" blue="0.0" /> |
| 84 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 85 | </text> |
| 86 | </element> |
| 87 | |
| 88 | <element name="cancel" defstate="0"> |
| 89 | <rect state="1"> |
| 90 | <color red="0.0" green="1.0" blue="0.0" /> |
| 91 | </rect> |
| 92 | <rect state="0"> |
| 93 | <color red="0.0" green="0.3" blue="0.0" /> |
| 94 | </rect> |
| 95 | <text string="CANCEL"> |
| 96 | <color red="0.0" green="0.0" blue="0.0" /> |
| 97 | <bounds x="0" y="0.2" width="1" height="0.6" /> |
| 98 | </text> |
| 99 | </element> |
| 100 | |
| 101 | <element name="start" defstate="0"> |
| 102 | <rect state="1"> |
| 103 | <color red="0.0" green="1.0" blue="0.0" /> |
| 104 | </rect> |
| 105 | <rect state="0"> |
| 106 | <color red="0.0" green="0.3" blue="0.0" /> |
| 107 | </rect> |
| 108 | <text string="START"> |
| 109 | <color red="0.0" green="0.0" blue="0.0" /> |
| 110 | <bounds x="0" y="0.2" width="1" height="0.6" /> |
| 111 | </text> |
| 112 | </element> |
| 113 | |
| 114 | <view name="Button Lamps"> |
| 115 | <screen index="0"> |
| 116 | <bounds left="0" top="0" right="4" bottom="3" /> |
| 117 | </screen> |
| 118 | <bezel name="lamp0" element="hold1"> |
| 119 | <bounds x="0" y="3.13" width="0.55" height="0.24" /> |
| 120 | </bezel> |
| 121 | <bezel name="lamp1" element="hold2"> |
| 122 | <bounds x="0.65" y="3.13" width="0.55" height="0.24" /> |
| 123 | </bezel> |
| 124 | <bezel name="lamp2" element="hold3"> |
| 125 | <bounds x="1.3" y="3.13" width="0.55" height="0.24" /> |
| 126 | </bezel> |
| 127 | <bezel name="lamp3" element="hold4"> |
| 128 | <bounds x="1.95" y="3.13" width="0.55" height="0.24" /> |
| 129 | </bezel> |
| 130 | <bezel name="lamp4" element="hold5"> |
| 131 | <bounds x="2.6" y="3.13" width="0.55" height="0.24" /> |
| 132 | </bezel> |
| 133 | <bezel name="lamp5" element="cancel"> |
| 134 | <bounds x="3.45" y="3.02" width="0.55" height="0.24" /> |
| 135 | </bezel> |
| 136 | <bezel name="lamp6" element="start"> |
| 137 | <bounds x="3.45" y="3.28" width="0.55" height="0.24" /> |
| 138 | </bezel> |
| 139 | </view> |
| 140 | </mamelayout> |
trunk/src/mame/drivers/funworld.c
| r18742 | r18743 | |
| 768 | 768 | - Added PCB layout. |
| 769 | 769 | - GFX are properly decoded. |
| 770 | 770 | |
| 771 | | [2012/10/27] |
| 771 | [2012/10/27-28] |
| 772 | 772 | - Added 'Bonus Card (Austrian)' from Fun World. |
| 773 | 773 | - Added PCB layouts. |
| 774 | 774 | - Set Big Deal sets and Jolly Card hybrid as clones |
| r18742 | r18743 | |
| 781 | 781 | This program is a real original Bonus Card program, and the PCB |
| 782 | 782 | was populated with Jolly Card graphics wrongly. The other Bonus Card set |
| 783 | 783 | was turned as clone, since has a fake copyright string (hack). |
| 784 | - Renamed the internal layout artwork: bigdeal --> bonuscrd. |
| 785 | - Default Bonus Card & Big Deal DIP switches positions, that |
| 786 | allow boot the system without errors. |
| 784 | 787 | - Added technical notes. |
| 785 | 788 | |
| 786 | 789 | |
| r18742 | r18743 | |
| 809 | 812 | #include "sound/ay8910.h" |
| 810 | 813 | #include "machine/nvram.h" |
| 811 | 814 | #include "jollycrd.lh" |
| 812 | | #include "bigdeal.lh" |
| 815 | #include "bonuscrd.lh" |
| 813 | 816 | #include "novoplay.lh" |
| 814 | 817 | #include "royalcrd.lh" |
| 815 | 818 | #include "includes/funworld.h" |
| r18742 | r18743 | |
| 1338 | 1341 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1339 | 1342 | |
| 1340 | 1343 | PORT_START("DSW") |
| 1341 | | /* the following one should be left ON by default to allow initialization */ |
| 1344 | /* DIP switch 8 should be left ON by default (all remaining ones in OFF) |
| 1345 | to allow initialization. You can change settings later, after the boot. |
| 1346 | */ |
| 1342 | 1347 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") |
| 1343 | 1348 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1344 | 1349 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 1345 | | PORT_DIPNAME( 0x02, 0x02, "Bonus Type" ) PORT_DIPLOCATION("SW1:7") |
| 1350 | PORT_DIPNAME( 0x02, 0x00, "Bonus Type" ) PORT_DIPLOCATION("SW1:7") |
| 1346 | 1351 | PORT_DIPSETTING( 0x00, "Good Luck!" ) |
| 1347 | 1352 | PORT_DIPSETTING( 0x02, "55/77/99 Bonus" ) |
| 1348 | 1353 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:6") |
| r18742 | r18743 | |
| 1400 | 1405 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1401 | 1406 | |
| 1402 | 1407 | PORT_START("DSW") |
| 1403 | | /* the following one should be left ON by default to allow initialization */ |
| 1408 | /* DIP switch 8 should be left ON by default (all remaining ones in OFF) |
| 1409 | to allow initialization. You can change settings later, after the boot. |
| 1410 | */ |
| 1404 | 1411 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") |
| 1405 | 1412 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1406 | 1413 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 1407 | | PORT_DIPNAME( 0x02, 0x02, "Bonus Type" ) PORT_DIPLOCATION("SW1:7") |
| 1414 | PORT_DIPNAME( 0x02, 0x00, "Bonus Type" ) PORT_DIPLOCATION("SW1:7") |
| 1408 | 1415 | PORT_DIPSETTING( 0x00, "Good Luck!" ) |
| 1409 | 1416 | PORT_DIPSETTING( 0x02, "55/77/99 Bonus" ) |
| 1410 | 1417 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:6") |
| r18742 | r18743 | |
| 4904 | 4911 | GAME( 1986, jolycdab, jollycrd, fw1stpal, funworld, driver_device, 0, ROT0, "Inter Games", "Jolly Card (Austrian, Fun World, bootleg)", GAME_NOT_WORKING ) |
| 4905 | 4912 | |
| 4906 | 4913 | // Bonus Card based... |
| 4907 | | GAMEL( 1986, bonuscrd, 0, fw2ndpal, bonuscrd, driver_device, 0, ROT0, "Fun World", "Bonus Card (Austrian)", GAME_IMPERFECT_COLORS, layout_bigdeal ) // use fw1stpal machine for green background |
| 4908 | | GAMEL( 1986, bonuscrda, 0, fw2ndpal, bonuscrd, driver_device, 0, ROT0, "Fun World", "Bonus Card (Austrian, ATG Electronic hack)", GAME_IMPERFECT_COLORS, layout_bigdeal ) // use fw1stpal machine for green background |
| 4909 | | GAMEL( 1986, bigdeal, bonuscrd, fw2ndpal, bigdeal, driver_device, 0, ROT0, "Fun World", "Big Deal (Hungarian, set 1)", GAME_IMPERFECT_COLORS, layout_bigdeal ) |
| 4910 | | GAMEL( 1986, bigdealb, bonuscrd, fw2ndpal, bigdeal, driver_device, 0, ROT0, "Fun World", "Big Deal (Hungarian, set 2)", GAME_IMPERFECT_COLORS, layout_bigdeal ) |
| 4914 | GAMEL( 1986, bonuscrd, 0, fw2ndpal, bonuscrd, driver_device, 0, ROT0, "Fun World", "Bonus Card (Austrian)", GAME_IMPERFECT_COLORS, layout_bonuscrd ) // use fw1stpal machine for green background |
| 4915 | GAMEL( 1986, bonuscrda, bonuscrd, fw2ndpal, bonuscrd, driver_device, 0, ROT0, "Fun World", "Bonus Card (Austrian, ATG Electronic hack)", GAME_IMPERFECT_COLORS, layout_bonuscrd ) // use fw1stpal machine for green background |
| 4916 | GAMEL( 1986, bigdeal, bonuscrd, fw2ndpal, bigdeal, driver_device, 0, ROT0, "Fun World", "Big Deal (Hungarian, set 1)", GAME_IMPERFECT_COLORS, layout_bonuscrd ) |
| 4917 | GAMEL( 1986, bigdealb, bonuscrd, fw2ndpal, bigdeal, driver_device, 0, ROT0, "Fun World", "Big Deal (Hungarian, set 2)", GAME_IMPERFECT_COLORS, layout_bonuscrd ) |
| 4911 | 4918 | GAME( 1993, powercrd, 0, fw2ndpal, funworld, driver_device, 0, ROT0, "Fun World", "Power Card (Ver 0263, encrypted)", GAME_NOT_WORKING ) // clone of Bonus Card. |
| 4912 | 4919 | |
| 4913 | 4920 | // CMC Italian jamma PCB's... |