More improvements to Noraut Poker systems [Roberto Fresca]

* Fixed the coin counters.
 * Documented all the output ports.
 * Added a scheme with descriptions for every existent port.
 * Added full lamps support to naroutp, naroutjp, naroutrh and naroutpn.
 * Created lamps layouts for 11 and 12-lamps scheme.
 * Rerouted some inputs to mantain the inputs layout.
 * Renamed some inputs to match the text with the real cab buttons.
 * Removed the imperfect colors flag from the existent sets.
 * Added 2 different control panel layouts to the source.
 * Updated technical notes.
This commit is contained in:
Roberto Fresca 2009-08-29 22:42:31 +00:00
parent 304cd58528
commit 4d657d4bde
5 changed files with 972 additions and 342 deletions

2
.gitattributes vendored
View File

@ -2653,6 +2653,8 @@ src/mame/layout/mpoker.lay svneol=native#text/plain
src/mame/layout/mpu4.lay svneol=native#text/plain
src/mame/layout/nbmj8688.lay svneol=native#text/plain
src/mame/layout/neogeo.lay svneol=native#text/plain
src/mame/layout/noraut11.lay svneol=native#text/plain
src/mame/layout/noraut12.lay svneol=native#text/plain
src/mame/layout/outrun.lay svneol=native#text/plain
src/mame/layout/overdriv.lay svneol=native#text/plain
src/mame/layout/paradice.lay svneol=native#text/plain

View File

@ -23,7 +23,6 @@
HARDWARE NOTES:
---------------
Hardware Layout (norautp):
1x Z80
@ -161,6 +160,52 @@
Video Blue 35 10p in Meter
Video Red 36 Spark Detect (Not on all boards)
*******************************************************************************
Control Panel
-------------
There are 2 control panel schemes:
* The default one (11 button-lamps) for systems without CANCEL button.
.--------------------------------------------------------------------------.
| .-------. .------. .------. |
| .------. .------. .------. .------. .------. | BET | | HALF | | HI | |
| | | | | | | | | | | |COLLECT| |GAMBLE| | | |
| | HOLD | | HOLD | | HOLD | | HOLD | | HOLD | '-------' '------' '------' |
| |CANCEL| |CANCEL| |CANCEL| |CANCEL| |CANCEL| .-------. .------. .------. |
| | | | | | | | | | | | DEAL | |CHANGE| | LO | |
| '------' '------' '------' '------' '------' | DRAW | | CARD | | | |
| '-------' '------' '------' |
'--------------------------------------------------------------------------'
HOLD buttons = red.
BET, DEAL, HI & LO = yellow.
HALF GAMBLE & CHANGE CARD = orange.
* The alternate one (12 button-lamps) for systems with CANCEL button.
.-------------------------------------------------------------.
| .------. .------. .------. .------. .------. .----------. |
| | HOLD | | HOLD | | HOLD | | HOLD | | HOLD | | HIGH | |
| '------' '------' '------' '------' '------' '----------' |
| .------. .------. .------. .------. .------. .----------. |
| |CANCEL| |STAND | | SAVE | | DEAL | | BET | | LOW | |
| '------' '------' '------' '------' '------' '----------' |
'-------------------------------------------------------------'
HOLD & CANCEL buttons = yellow (1).
STAND & DEAL buttons = orange (1).
SAVE (HALF GAMBLE) button = blued-green (1).
BET button = red (1).
HIGH & LOW buttons = yellow.
(1) Circular-shaped buttons.
Some lamps are wired in different way in this scheme.
*******************************************************************************
@ -177,7 +222,7 @@
| | | D5555C | |KN2222A|
| | 4| |3 R3 | | -->
| PC7|------------------------------|RST OUT|-----ZZZZ------|B E|>----ZZZZZ-----> Audio Out.
| PC6|---------. 6| |8 | C | VR1
| PC6|----------. 6| |8 | C | VR1
| PC5|-----. |2-in .-----|THR VCC|-----------. '---+---' .----> Audio Out.
| PC4|--. | .-+------. | 5| |7 | | |
| | | | |ULN2003A| | .--|CVOLT DISC|--. | | |
@ -212,9 +257,124 @@
C5 = 103 = 10000 pF = 10 nF = 0.01 uF
C6 = 104 = 100000 pF = 100 nF = 0.1 uF
C1, C2, C3 & C4 are polyester film / mylar capacitors.
C5 & C6 are ceramic capacitors.
All Capacitors are non-polarised.
- C1, C2, C3 & C4 are polyester film / mylar capacitors.
- C5 & C6 are ceramic capacitors.
- All Capacitors are non-polarised.
*******************************************************************************
Narout System Ports Map
-----------------------
(*) Confirmed lines.
PPI-0 (60h-63h); PortA IN.
DIP Switches bank:
7654 3210
---- ---x * DIP switch 8
---- --x- * DIP switch 7
---- -x-- * DIP switch 6
---- x--- * DIP switch 5
---x ---- * DIP switch 4
--x- ---- * DIP switch 3
-x-- ---- * DIP switch 2
x--- ---- * DIP switch 1
PPI-0 (60h-63h); PortB OUT.
Lamps:
7654 3210
---- ---x * CHANGE CARD lamp.
---- --x- * SAVE / HALF GAMBLE lamp.
---- -x-- * HOLD 1 lamp.
---- x--- * HOLD 2 lamp.
---x ---- * HOLD 3 lamp.
--x- ---- * HOLD 4 lamp.
-x-- ---- * HOLD 5 lamp.
x--- ---- * CANCEL lamp.
PPI-0 (60h-63h); PortC OUT.
Lamps & Coin Counters:
7654 3210
---- ---x * HI lamp.
---- --x- * LO lamp.
---- -x-- unknown.
---- x--- * Payout pulse.
---x ---- * Coin 2 counter.
--x- ---- * Coin 1 counter.
-x-- ---- unknown.
x--- ---- unknown (always activated).
-----------------------------------------------------------
PPI-1 (a0h-a3h); PortA IN.
Regular Inputs:
7654 3210
---- ---x * DEAL / DRAW button.
---- --x- * BET / CHANGE CARD button.
---- -x-- * COIN 1 mech.
---- x--- * COIN 2 mech.
---x ---- * READOUT button.
--x- ---- * HI button.
-x-- ---- * LO button.
x--- ---- * PAYOUT button.
PPI-1 (a0h-a3h); PortB IN.
Regular Inputs:
7654 3210
---- ---x * STAND / TAKE button.
---- --x- * SAVE / HALF GAMBLE button.
---- -x-- * HOLD 1 button.
---- x--- * HOLD 2 button.
---x ---- * HOLD 3 button.
--x- ---- * HOLD 4 button.
-x-- ---- * HOLD 5 button.
x--- ---- * CANCEL button.
PPI-1 (a0h-a3h); PortC OUT.
Sound & Lamps:
7654 3210
---- ---x * DEAL / DRAW Lamp.
---- --x- * BET / COLLECT Lamp.
---- -x-- unknown (always activated after initalize).
---- x--- unknown.
xxxx ---- * Discrete Sound Lines.
-----------------------------------------------------------
PPI-2 (a0h-a3h); PortA IN/OUT
VRAM Handlers:
7654 3210
xxxx xxxx VRAM DATA.
PPI-2 (a0h-a3h); PortB IN? (should be OUT)
VRAM Handlers:
7654 3210
xxxx xxxx VRAM ADDRESSING.
PPI-2 (a0h-a3h); PortC (PortA handshake lines)
VRAM Handlers:
7654 3210
xxxx xxxx HANDSHAKE LINES.
*******************************************************************************
@ -222,7 +382,19 @@
*** Game Notes ***
Nothing, yet...
- norautjp:
At the first start-up, the game will give you a very clever
"FU" screen. Press the following buttons *together* on different times
to get rid of it (and actually initialize the machine):
* start + bet buttons (1+2);
* Hold 3 + Hold 2 + Save (Half Gamble) + Change Card (C+X+F+D)
Also notice that you actually need to map the last four buttons on the
same button / on a joypad since MAME's steady key doesn't seem to work on
my end...
*******************************************************************************
@ -260,6 +432,7 @@
- Added pinout scheme.
- Added technical notes.
[2009-01-28]
- Merged GTI Poker (gtipoker.c) with this driver.
@ -270,6 +443,7 @@
to Noraut Poker (bootleg), since the game has payout system.
- Some clean-ups.
[2009-08-21]
- Switched to pre-defined Xtal clock.
@ -283,6 +457,7 @@
- Added partial DIP switches to norautrh.
- Added more technical notes.
[2009-08-23/26]
- Added a default NVRAM to Noraut Joker Poker to bypass the 'F U' screen.
@ -296,24 +471,27 @@
- Documented the discrete audio circuitery. Added a full diagram.
Notes:
- norautjp: at the first start-up, the game will give you a very clever
"FU" screen. Press the following buttons *together* on different times
to get rid of it (and actually initialize the machine):
* start + bet buttons (1+2);
* Hold 3 + Hold 2 + Save (Half Gamble) + Change Card (C+X+F+D)
Also notice that you actually need to map the last four buttons on the
same button / on a joypad since MAME's steady key doesn't seem to work on
my end...
[2009-08-29]
- Fixed the coin counters.
- Documented all the output ports.
- Added a scheme with descriptions for every existent port.
- Added full lamps support to naroutp, naroutjp, naroutrh and naroutpn.
- Created lamps layouts for 11 and 12-lamps scheme.
- Rerouted some inputs to mantain the inputs layout.
- Renamed some inputs to match the text with the real cab buttons.
- Removed the imperfect colors flag from the existent sets.
- Added 2 different control panel layouts to the source.
- Updated technical notes.
TODO:
- Analize the extra 8255 at 0xc0-0xc3 (full bidirectional port w/hshk lines)
- Analize the third 8255 at 0xc0-0xc3 (full bidirectional port w/hshk lines)
- Video RAM (through 3rd PPI?).
- Find if wide chars are hardcoded or tied to a bit.
- Lamps layout.
- Discrete sound.
- Save support.
*******************************************************************************/
@ -326,6 +504,9 @@
#include "machine/8255ppi.h"
#include "sound/dac.h"
#include "noraut11.lh"
#include "noraut12.lh"
static UINT16 *np_vram;
static UINT16 np_addr;
@ -399,66 +580,74 @@ static PALETTE_INIT( norautp )
* R/W Handlers *
*************************/
static WRITE8_DEVICE_HANDLER( lamps_w )
static WRITE8_DEVICE_HANDLER( mainlamps_w )
{
/* PPI0 (60h-63h); PortB out
/* PPI-0 (60h-63h); PortB OUT.
Lamps:
7654 3210
---- ---x Change Card / (Save?)
---- --x- Hi/Lo
---- -x-- Hold 1
---- x--- Hold 2
---x ---- Hold 3
--x- ---- Hold 4
-x-- ---- Hold 5
x--- ---- Start (poker)
---- ---x * CHANGE CARD lamp.
---- --x- * SAVE / HALF GAMBLE lamp.
---- -x-- * HOLD 1 lamp.
---- x--- * HOLD 2 lamp.
---x ---- * HOLD 3 lamp.
--x- ---- * HOLD 4 lamp.
-x-- ---- * HOLD 5 lamp.
x--- ---- * CANCEL lamp.
*/
output_set_lamp_value(0, (data >> 0) & 1); /* Change */
output_set_lamp_value(1, (data >> 1) & 1); /* Hi/Lo */
output_set_lamp_value(2, (data >> 2) & 1); /* Hold 1 */
output_set_lamp_value(3, (data >> 3) & 1); /* Hold 2 */
output_set_lamp_value(4, (data >> 4) & 1); /* Hold 3 */
output_set_lamp_value(5, (data >> 5) & 1); /* Hold 4 */
output_set_lamp_value(6, (data >> 6) & 1); /* Hold 5 */
output_set_lamp_value(7, (data >> 7) & 1); /* Start */
output_set_lamp_value(0, (data >> 0) & 1); /* CHANGE CARD lamp */
output_set_lamp_value(1, (data >> 1) & 1); /* SAVE / HALF GAMBLE lamp */
output_set_lamp_value(2, (data >> 2) & 1); /* HOLD 1 lamp */
output_set_lamp_value(3, (data >> 3) & 1); /* HOLD 2 lamp */
output_set_lamp_value(4, (data >> 4) & 1); /* HOLD 3 lamp */
output_set_lamp_value(5, (data >> 5) & 1); /* HOLD 4 lamp */
output_set_lamp_value(6, (data >> 6) & 1); /* HOLD 5 lamp */
output_set_lamp_value(7, (data >> 7) & 1); /* CANCEL lamp */
}
static WRITE8_DEVICE_HANDLER( ccounter_w )
static WRITE8_DEVICE_HANDLER( soundlamps_w )
{
/* PPI0 (60h-63h); PortC out
Coin Counters:
7654 3210
---- -xxx unknown
---- x--- Payout
---x ---- Coin 2
--x- ---- Coin 3
xx-- ---- unknown
*/
coin_counter_w(0, data & 0x20); /* Coin1 */
coin_counter_w(1, data & 0x10); /* Coin2 */
coin_counter_w(2, data & 0x08); /* Payout */
}
static WRITE8_DEVICE_HANDLER( sndlamp_w )
{
/* PPI1 (a0h-a3h); PortC out
/* PPI-1 (a0h-a3h); PortC OUT.
Sound & Lamps:
7654 3210
---- ---x Start Lamp?
---- --x- Bet Lamp
---- xx-- unknown
xxxx ---- Discrete Sound Lines
---- ---x * DEAL / DRAW Lamp.
---- --x- * BET / COLLECT Lamp.
---- -x-- unknown (always activated after initalize).
---- x--- unknown.
xxxx ---- * Discrete Sound Lines.
*/
output_set_lamp_value(8, (data >> 0) & 1); /* Start? */
output_set_lamp_value(9, (data >> 1) & 1); /* Bet */
output_set_lamp_value(8, (data >> 0) & 1); /* DEAL / DRAW lamp */
output_set_lamp_value(9, (data >> 1) & 1); /* BET / COLLECT lamp */
/* the 4 MSB are for discrete sound */
dac_data_w(devtag_get_device(device->machine, "dac"), (data & 0xf0)); /* Discrete Sound */
}
static WRITE8_DEVICE_HANDLER( counterlamps_w )
{
/* PPI-0 (60h-63h); PortC OUT.
Lamps & Coin Counters:
7654 3210
---- ---x * HI lamp.
---- --x- * LO lamp.
---- -x-- unknown.
---- x--- * Payout pulse.
---x ---- * Coin 2 counter.
--x- ---- * Coin 1 counter.
-x-- ---- unknown.
x--- ---- unknown (always activated).
*/
output_set_lamp_value(10, (data >> 0) & 1); /* HI lamp */
output_set_lamp_value(11, (data >> 1) & 1); /* LO lamp */
coin_counter_w(0, data & 0x10); /* Coin1/3 counter */
coin_counter_w(1, data & 0x20); /* Coin2 counter */
coin_counter_w(2, data & 0x08); /* Payout pulse */
}
/* game waits for bit 7 (0x80) to be set.*/
static READ8_HANDLER( test_r )
{
@ -537,8 +726,8 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( norautp )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_BET ) PORT_NAME("Bet / Take")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_BET ) PORT_NAME("Bet / Collect")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Readout") PORT_CODE(KEYCODE_9)
@ -548,7 +737,7 @@ static INPUT_PORTS_START( norautp )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_F) PORT_NAME("Change Card")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save (Half Gamble)")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Half Gamble / Save")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
@ -583,7 +772,54 @@ static INPUT_PORTS_START( norautp )
PORT_DIPSETTING( 0x00, "10 Pence" )
INPUT_PORTS_END
static INPUT_PORTS_START( poker )
static INPUT_PORTS_START( norautrh )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_BET ) PORT_NAME("Bet / Change Card")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Readout") PORT_CODE(KEYCODE_9)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Stand / Take")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save / Half Gamble")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) /* Coin C for other games */
PORT_START("DSW1")
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW1:8")
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW1:7")
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "Bet Max" ) PORT_DIPLOCATION("DSW1:6")
PORT_DIPSETTING( 0x04, "5" )
PORT_DIPSETTING( 0x00, "25" )
PORT_DIPNAME( 0x08, 0x08, "Raise Ante" ) PORT_DIPLOCATION("DSW1:5")
PORT_DIPSETTING( 0x08, "Random" )
PORT_DIPSETTING( 0x00, "Always" )
PORT_DIPNAME( 0x10, 0x10, "Type of Game" ) PORT_DIPLOCATION("DSW1:4")
PORT_DIPSETTING( 0x10, "Jacks Plus" )
PORT_DIPSETTING( 0x00, "Joker Poker" )
PORT_DIPNAME( 0xa0, 0x20, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:3,1")
PORT_DIPSETTING( 0x00, "A=1; B=5" )
PORT_DIPSETTING( 0xa0, "A=5; B=25" )
PORT_DIPSETTING( 0x20, "A=10; B=5" )
PORT_DIPSETTING( 0x80, "A=50; B=25" )
PORT_DIPNAME( 0x40, 0x00, "Show Bet") PORT_DIPLOCATION("DSW1:2")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
static INPUT_PORTS_START( naroutpn )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_BET ) PORT_NAME("Bet / Change Card")
@ -595,8 +831,8 @@ static INPUT_PORTS_START( poker )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Stand (Take)")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save (Half Gamble)")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Stand / Take")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save / Half Gamble")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
@ -631,53 +867,6 @@ static INPUT_PORTS_START( poker )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
static INPUT_PORTS_START( norautrh )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_BET ) PORT_NAME("Bet")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Readout") PORT_CODE(KEYCODE_9)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_F) PORT_NAME("Change Card")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save (Half Gamble)")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) /* Coin C for other games */
PORT_START("DSW1")
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW1:8")
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW1:7")
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "Bet Max" ) PORT_DIPLOCATION("DSW1:6")
PORT_DIPSETTING( 0x04, "5" )
PORT_DIPSETTING( 0x00, "25" )
PORT_DIPNAME( 0x08, 0x08, "Raise Ante" ) PORT_DIPLOCATION("DSW1:5")
PORT_DIPSETTING( 0x08, "Random" )
PORT_DIPSETTING( 0x00, "Always" )
PORT_DIPNAME( 0x10, 0x10, "Type of Game" ) PORT_DIPLOCATION("DSW1:4")
PORT_DIPSETTING( 0x10, "Jacks Plus" )
PORT_DIPSETTING( 0x00, "Joker Poker" )
PORT_DIPNAME( 0xa0, 0x20, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:3,1")
PORT_DIPSETTING( 0x00, "A=1; B=5" )
PORT_DIPSETTING( 0xa0, "A=5; B=25" )
PORT_DIPSETTING( 0x20, "A=10; B=5" )
PORT_DIPSETTING( 0x80, "A=50; B=25" )
PORT_DIPNAME( 0x40, 0x00, "Show Bet") PORT_DIPLOCATION("DSW1:2")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
/*************************
* Graphics Layouts *
@ -734,8 +923,8 @@ static const ppi8255_interface ppi8255_intf[3] =
DEVCB_NULL, /* Port B read */
DEVCB_NULL, /* Port C read */
DEVCB_NULL, /* Port A write */
DEVCB_HANDLER(lamps_w), /* Port B write */
DEVCB_HANDLER(ccounter_w) /* Port C write */
DEVCB_HANDLER(mainlamps_w), /* Port B write */
DEVCB_HANDLER(counterlamps_w) /* Port C write */
},
{ /* (a0-a3) Mode 0 - Ports A & B set as input */
DEVCB_INPUT_PORT("IN0"), /* Port A read */
@ -743,7 +932,7 @@ static const ppi8255_interface ppi8255_intf[3] =
DEVCB_NULL, /* Port C read */
DEVCB_NULL, /* Port A write */
DEVCB_NULL, /* Port B write */
DEVCB_HANDLER(sndlamp_w) /* Port C write */
DEVCB_HANDLER(soundlamps_w) /* Port C write */
},
{ /* (c0-c3) Group A Mode 2 (5-handshacked bidirectional port) */
DEVCB_NULL, /* Port A read */
@ -1004,13 +1193,13 @@ ROM_END
* Game Drivers *
*************************/
/* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS */
GAME( 1988, norautp, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Poker", GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
GAME( 1988, norautjp, norautp, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Joker Poker", GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
GAME( 1988, norautrh, 0, norautp, norautrh, 0, ROT0, "Noraut Ltd.", "Noraut Red Hot Joker Poker", GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
GAME( 1988, norautu, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Poker (NTX10A)", GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
GAME( 1988, norautv3, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Joker Poker (V3.010a)", GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
GAME( 1983, gtipoker, 0, gtipoker, norautp, 0, ROT0, "GTI Inc", "GTI Poker", GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
/* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */
GAMEL( 1988, norautp, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Poker", GAME_NO_SOUND, layout_noraut11 )
GAMEL( 1988, norautjp, norautp, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Joker Poker", GAME_NO_SOUND, layout_noraut11 )
GAMEL( 1988, norautrh, 0, norautp, norautrh, 0, ROT0, "Noraut Ltd.", "Noraut Red Hot Joker Poker", GAME_NO_SOUND, layout_noraut12 )
GAME( 1988, norautu, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Poker (NTX10A)", GAME_NO_SOUND | GAME_NOT_WORKING )
GAME( 1988, norautv3, 0, norautp, norautp, 0, ROT0, "Noraut Ltd.", "Noraut Joker Poker (V3.010a)", GAME_NO_SOUND | GAME_NOT_WORKING )
GAME( 1983, gtipoker, 0, gtipoker, norautp, 0, ROT0, "GTI Inc", "GTI Poker", GAME_NO_SOUND | GAME_NOT_WORKING )
/*The following has everything uncertain, seems a bootleg/hack and doesn't have any identification strings in program rom. */
GAME( 198?, norautpn, norautp, norautp, poker, 0, ROT0, "bootleg?", "Noraut Poker (bootleg)", GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
GAMEL( 198?, norautpn, norautp, norautp, naroutpn, 0, ROT0, "bootleg?", "Noraut Poker (bootleg)", GAME_NO_SOUND, layout_noraut12 )

View File

@ -0,0 +1,229 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="L0" defstate="1">
<rect state="1">
<color red="1.0" green="0.5" blue="0.0" />
</rect>
<rect state="0">
<color red="0.35" green="0.2" blue="0.0" />
</rect>
<text string="CHANGE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="CARD">
<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="L1" defstate="1">
<rect state="1">
<color red="1.0" green="0.5" blue="0.0" />
</rect>
<rect state="0">
<color red="0.35" green="0.2" blue="0.0" />
</rect>
<text string="HALF">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="GAMBLE">
<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="L2" defstate="1">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" 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.3" width="1" height="0.2" />
</text>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.2" />
</text>
</element>
<element name="L3" defstate="1">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" 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.3" width="1" height="0.2" />
</text>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.2" />
</text>
</element>
<element name="L4" defstate="1">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" 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.3" width="1" height="0.2" />
</text>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.2" />
</text>
</element>
<element name="L5" defstate="1">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" 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.3" width="1" height="0.2" />
</text>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.2" />
</text>
</element>
<element name="L6" defstate="1">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" 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.3" width="1" height="0.2" />
</text>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.2" />
</text>
</element>
<element name="L8" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="DEAL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="DRAW">
<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="L9" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="COLLECT">
<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="L10" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="HI">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L11" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="LO">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<view name="Button Lamps">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<bezel name="lamp0" element="L0">
<bounds x="3.05" y="3.28" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp1" element="L1">
<bounds x="3.05" y="3.03" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp2" element="L2">
<bounds x="0.05" y="3.05" width="0.40" height="0.40" />
</bezel>
<bezel name="lamp3" element="L3">
<bounds x="0.55" y="3.05" width="0.40" height="0.40" />
</bezel>
<bezel name="lamp4" element="L4">
<bounds x="1.05" y="3.05" width="0.40" height="0.40" />
</bezel>
<bezel name="lamp5" element="L5">
<bounds x="1.55" y="3.05" width="0.40" height="0.40" />
</bezel>
<bezel name="lamp6" element="L6">
<bounds x="2.05" y="3.05" width="0.40" height="0.40" />
</bezel>
<bezel name="lamp8" element="L8">
<bounds x="2.55" y="3.28" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp9" element="L9">
<bounds x="2.55" y="3.03" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp10" element="L10">
<bounds x="3.55" y="3.03" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp11" element="L11">
<bounds x="3.55" y="3.28" width="0.40" height="0.20" />
</bezel>
</view>
</mamelayout>

View File

@ -0,0 +1,207 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="L0" defstate="1">
<disk state="1">
<color red="1.0" green="0.5" blue="0.0" />
</disk>
<disk state="0">
<color red="0.35" green="0.2" blue="0.0" />
</disk>
<text string="STAND">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L1" defstate="1">
<disk state="1">
<color red="0.0" green="1.0" blue="0.5" />
</disk>
<disk state="0">
<color red="0.0" green="0.3" blue="0.15" />
</disk>
<text string="SAVE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L2" defstate="1">
<disk state = "1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="HOLD1">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L3" defstate="1">
<disk state = "1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="HOLD2">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L4" defstate="1">
<disk state = "1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="HOLD3">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L5" defstate="1">
<disk state = "1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="HOLD4">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L6" defstate="1">
<disk state = "1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="HOLD5">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L7" defstate="1">
<disk state="1">
<color red="1.0" green="1.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.3" green="0.3" blue="0.0" />
</disk>
<text string="CANCEL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L8" defstate="1">
<disk state="1">
<color red="1.0" green="0.5" blue="0.0" />
</disk>
<disk state="0">
<color red="0.35" green="0.2" blue="0.0" />
</disk>
<text string="DEAL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L9" defstate="1">
<disk state="1">
<color red="1.0" green="0.0" blue="0.0" />
</disk>
<disk state="0">
<color red="0.4" green="0.0" blue="0.0" />
</disk>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="L10" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="HIGH">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<element name="L11" defstate="1">
<rect state="1">
<color red="1.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.3" green="0.3" blue="0.0" />
</rect>
<text string="LOW">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.25" width="1" height="0.5" />
</text>
</element>
<view name="Button Lamps">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<bezel name="lamp2" element="L2">
<bounds x="0.55" y="3.03" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp3" element="L3">
<bounds x="1.05" y="3.03" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp4" element="L4">
<bounds x="1.55" y="3.03" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp5" element="L5">
<bounds x="2.05" y="3.03" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp6" element="L6">
<bounds x="2.55" y="3.03" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp7" element="L7">
<bounds x="0.55" y="3.28" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp0" element="L0">
<bounds x="1.05" y="3.28" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp1" element="L1">
<bounds x="1.55" y="3.28" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp8" element="L8">
<bounds x="2.05" y="3.28" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp9" element="L9">
<bounds x="2.55" y="3.28" width="0.20" height="0.20" />
</bezel>
<bezel name="lamp10" element="L10">
<bounds x="3.05" y="3.03" width="0.40" height="0.20" />
</bezel>
<bezel name="lamp11" element="L11">
<bounds x="3.05" y="3.28" width="0.40" height="0.20" />
</bezel>
</view>
</mamelayout>

View File

@ -1750,6 +1750,9 @@ $(DRIVERS)/namcos2.o: $(LAYOUT)/finallap.lh
$(DRIVERS)/neogeo.o: $(LAYOUT)/neogeo.lh
$(DRIVERS)/norautp.o: $(LAYOUT)/noraut11.lh \
$(LAYOUT)/noraut12.lh
$(DRIVERS)/overdriv.o: $(LAYOUT)/overdriv.lh
$(DRIVERS)/peplus.o: $(LAYOUT)/peplus.lh \