Improvements to Shark Party (English, Alpha license): [Roberto Fresca]

* Created complete inputs from the scratch.
 * Added coin/keyin/keyout counters.
 * Added main game and double-up rates DIP switches.
 * Added minimum bet DIP switches.
 * Added maximum bet DIP switches.
 * Added complete coinage and remote credits DIP switches.
 * Added jokers and demo sounds DIP switches.
 * Figured out and documented all the game outputs.
 * Created proper button-lamps layout.

Now the game is in full-working state.
This commit is contained in:
Roberto Fresca 2010-04-20 06:56:01 +00:00
parent d0c0f04a43
commit 392179b0ab
4 changed files with 299 additions and 2 deletions

1
.gitattributes vendored
View File

@ -2988,6 +2988,7 @@ src/mame/layout/sbrkout.lay svneol=native#text/plain
src/mame/layout/sderby.lay svneol=native#text/plain
src/mame/layout/sgsafari.lay svneol=native#text/plain
src/mame/layout/sharkpy.lay svneol=native#text/plain
src/mame/layout/sharkpye.lay svneol=native#text/plain
src/mame/layout/shuttlei.lay svneol=native#text/plain
src/mame/layout/sidewndr.lay svneol=native#text/plain
src/mame/layout/sigmapkr.lay svneol=native#text/plain

View File

@ -151,6 +151,22 @@
- Some clean-ups...
2010-04-20
----------
Shark Party (English, Alpha license):
- Created complete inputs from the scratch.
- Added coin/keyin/keyout counters.
- Added main game and double-up rates DIP switches.
- Added minimum bet DIP switches.
- Added maximum bet DIP switches.
- Added complete coinage and remote credits DIP switches.
- Added jokers and demo sounds DIP switches.
- Figured out and documented all the game outputs.
- Created proper button-lamps layout.
***************************************************************************/
#include "emu.h"
@ -163,9 +179,11 @@
#include "victor21.lh"
#include "crsbingo.lh"
#include "sharkpy.lh"
#include "sharkpye.lh"
#include "smoto.lh"
#include "tisub.lh"
/***************************************************************************
* Video Hardware *
***************************************************************************/
@ -391,7 +409,7 @@ static WRITE8_HANDLER( subsino_out_a_w )
/***** COIN PULSE: *****
* Victor 5, Victor 21, Poker Carnival (crsbingo).
* Victor 5, Victor 21, Poker Carnival (crsbingo), Shark Party (English, Alpha license).
7654 3210
---- ---x Coin pulse.
@ -515,6 +533,19 @@ static WRITE8_HANDLER( subsino_out_b_w )
-x-- ---- HOLD2.
x--- ---- HOLD5 / SMALL.
* Shark Party (English, Alpha license).
7654 3210
---- ---x ???.
---- --x- HOLD3 / D-UP.
---- -x-- START.
---- x--- HOLD1 / BET.
---x ---- ???.
--x- ---- HOLD2 / TAKE.
-x-- ---- ???.
x--- ---- HOLD4 & HOLD5.
*/
output_set_lamp_value(0, (data) & 1); /* Lamp 0 */
@ -1371,6 +1402,114 @@ static INPUT_PORTS_START( sharkpy )
INPUT_PORTS_END
static INPUT_PORTS_START( sharkpye )
PORT_START( "SW1" )
PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_5C ) )
PORT_DIPSETTING( 0x07, "1 Coin / 10 Credits" )
PORT_DIPSETTING( 0x03, "1 Coin / 20 Credits" )
PORT_DIPSETTING( 0x02, "1 Coin / 25 Credits" )
PORT_DIPSETTING( 0x01, "1 Coin / 50 Credits" )
PORT_DIPSETTING( 0x00, "1 Coin / 100 Credits" )
PORT_DIPNAME( 0x38, 0x38, "Remote Credits" )
PORT_DIPSETTING( 0x30, "1 Pulse / 1 Credits" )
PORT_DIPSETTING( 0x28, "1 Pulse / 2 Credits" )
PORT_DIPSETTING( 0x20, "1 Pulse / 5 Credits" )
PORT_DIPSETTING( 0x18, "1 Pulse / 10 Credits" )
PORT_DIPSETTING( 0x10, "1 Pulse / 50 Credits" )
PORT_DIPSETTING( 0x38, "1 Pulse / 100 Credits" )
PORT_DIPSETTING( 0x08, "1 Pulse / 200 Credits" )
PORT_DIPSETTING( 0x00, "1 Pulse / 500 Credits" )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START( "SW2" )
PORT_DIPNAME( 0x03, 0x03, "Minimum Bet" )
PORT_DIPSETTING( 0x03, "1" )
PORT_DIPSETTING( 0x02, "5" )
PORT_DIPSETTING( 0x01, "10" )
PORT_DIPSETTING( 0x00, "20" )
PORT_DIPNAME( 0x0c, 0x0c, "Max Bet" )
PORT_DIPSETTING( 0x08, "10" )
PORT_DIPSETTING( 0x04, "40" )
PORT_DIPSETTING( 0x0c, "50" )
PORT_DIPSETTING( 0x00, "80" )
PORT_DIPNAME( 0x10, 0x10, "Jokers" )
PORT_DIPSETTING( 0x10, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
PORT_DIPUNKNOWN( 0x20, 0x20 )
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START( "SW3" )
PORT_DIPNAME( 0x07, 0x07, "Main Game Rate" )
PORT_DIPSETTING( 0x00, "92%" )
PORT_DIPSETTING( 0x01, "93%" )
PORT_DIPSETTING( 0x02, "94%" )
PORT_DIPSETTING( 0x03, "95%" )
PORT_DIPSETTING( 0x04, "96%" )
PORT_DIPSETTING( 0x07, "97%" )
PORT_DIPSETTING( 0x05, "98%" )
PORT_DIPSETTING( 0x06, "99%" )
PORT_DIPNAME( 0x38, 0x38, "Double-Up Rate" )
PORT_DIPSETTING( 0x00, "82" )
PORT_DIPSETTING( 0x08, "84" )
PORT_DIPSETTING( 0x10, "86" )
PORT_DIPSETTING( 0x18, "88" )
PORT_DIPSETTING( 0x20, "90" )
PORT_DIPSETTING( 0x38, "92" )
PORT_DIPSETTING( 0x28, "94" )
PORT_DIPSETTING( 0x30, "96" )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START( "SW4" )
PORT_DIPUNKNOWN( 0x01, 0x01 )
PORT_DIPUNKNOWN( 0x02, 0x02 )
PORT_DIPUNKNOWN( 0x04, 0x04 )
PORT_DIPUNKNOWN( 0x08, 0x08 )
PORT_DIPUNKNOWN( 0x10, 0x10 )
PORT_DIPUNKNOWN( 0x20, 0x20 )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START( "INA" )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Start")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Bet")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Double-Up")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START( "INB" )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3) // coin
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Stats / Test") // Bookkeeping.
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Settings") // Game Rate & others.
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
PORT_START( "INC" )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Small")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_R) PORT_NAME("Reset Switch") // hard reset
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Big")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Take")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
static INPUT_PORTS_START( smoto16 )
PORT_START( "SW1" )
@ -2128,6 +2267,16 @@ ROM_START( sharkpya )
ROM_END
/***************************************************************************
Shark Party (English, Alpha license)
- Different inputs system.
- Different DIP Switches.
- Different Button-Lamps outputs.
***************************************************************************/
ROM_START( sharkpye )
ROM_REGION( 0x14000, "maincpu", 0 )
ROM_LOAD( "sharkpye.u18", 0x0a000, 0x6000, CRC(12473814) SHA1(9c24ed41781aefee0161add912e730ba0d4f4d3e) )
@ -2458,6 +2607,6 @@ GAMEL( 1992, tisuba, tisub, tisub, tisub, tisuba, ROT0, "Subsino",
GAMEL( 1991, crsbingo, 0, crsbingo, crsbingo, crsbingo, ROT0, "Subsino", "Poker Carnival", 0, layout_crsbingo )
GAMEL( 1996, sharkpy, 0, sharkpy, sharkpy, sharkpy, ROT0, "Subsino", "Shark Party (Italy, v1.3)", 0, layout_sharkpy ) // missing POST messages?
GAMEL( 1996, sharkpya, sharkpy, sharkpy, sharkpy, sharkpy, ROT0, "Subsino", "Shark Party (Italy, v1.6)", 0, layout_sharkpy ) // missing POST messages?
GAMEL( 1995, sharkpye, sharkpy, sharkpy, sharkpy, sharkpye, ROT0, "Alpha", "Shark Party (English, Alpha license)", 0, layout_sharkpy ) // PCB black-box was marked 'victor 6'
GAMEL( 1995, sharkpye, sharkpy, sharkpy, sharkpye, sharkpye, ROT0, "Alpha", "Shark Party (English, Alpha license)", 0, layout_sharkpye ) // PCB black-box was marked 'victor 6'
GAMEL( 1996, smoto20, 0, srider, smoto20, smoto20, ROT0, "Subsino", "Super Rider (Italy, v2.0)", 0, layout_smoto )
GAMEL( 1996, smoto16, smoto20, srider, smoto16, smoto16, ROT0, "Subsino", "Super Moto (Italy, v1.6)", 0, layout_smoto )

View File

@ -0,0 +1,146 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="hold1" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.0" blue="0.0" />
</rect>
<text string="HOLD 1">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="hold2" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.0" blue="0.0" />
</rect>
<text string="HOLD 2">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="TAKE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="hold3" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.0" blue="0.0" />
</rect>
<text string="HOLD 3">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="D-UP">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="hold4" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.0" blue="0.0" />
</rect>
<text string="HOLD 4">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="SMALL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="hold5" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.0" blue="0.0" />
</rect>
<text string="HOLD 5">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="BIG">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="start" defstate="0">
<rect state="1">
<color red="0.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.0" green="0.3" blue="0.0" />
</rect>
<text string="START">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<element name="unknown" defstate="0">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.2" green="0.2" blue="0.0" />
</rect>
<text string="?">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
<view name="Button Lamps">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<bezel name="lamp0" element="unknown">
<bounds x="3.25" y="3.13" width="0.10" height="0.24" />
</bezel>
<bezel name="lamp1" element="hold3">
<bounds x="1.3" y="3.13" width="0.55" height="0.24" />
</bezel>
<bezel name="lamp2" element="start">
<bounds x="3.45" y="3.13" width="0.55" height="0.24" />
</bezel>
<bezel name="lamp3" element="hold1">
<bounds x="0" y="3.13" width="0.55" height="0.24" />
</bezel>
<bezel name="lamp4" element="unknown">
<bounds x="3.25" y="3.13" width="0.10" height="0.24" />
</bezel>
<bezel name="lamp5" element="hold2">
<bounds x="0.65" y="3.13" width="0.55" height="0.24" />
</bezel>
<bezel name="lamp6" element="unknown">
<bounds x="3.25" y="3.13" width="0.10" height="0.24" />
</bezel>
<bezel name="lamp7" element="hold4">
<bounds x="1.95" y="3.13" width="0.55" height="0.24" />
</bezel>
<bezel name="lamp7" element="hold5">
<bounds x="2.6" y="3.13" width="0.55" height="0.24" />
</bezel>
</view>
</mamelayout>

View File

@ -1823,6 +1823,7 @@ $(DRIVERS)/subsino.o: $(LAYOUT)/victor5.lh \
$(LAYOUT)/tisub.lh \
$(LAYOUT)/crsbingo.lh \
$(LAYOUT)/sharkpy.lh \
$(LAYOUT)/sharkpye.lh \
$(LAYOUT)/smoto.lh
$(DRIVERS)/superchs.o: $(LAYOUT)/superchs.lh