summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/goldnpkr.cpp151
-rw-r--r--src/mame/mame.lst6
2 files changed, 104 insertions, 53 deletions
diff --git a/src/mame/drivers/goldnpkr.cpp b/src/mame/drivers/goldnpkr.cpp
index 25b6ffe7bdc..edcd783a1b7 100644
--- a/src/mame/drivers/goldnpkr.cpp
+++ b/src/mame/drivers/goldnpkr.cpp
@@ -1275,6 +1275,7 @@
#include "emu.h"
#include "cpu/m6502/m6502.h"
+#include "cpu/m6502/r65c02.h"
#include "cpu/m6805/m68705.h"
#include "cpu/z80/z80.h"
#include "machine/6821pia.h"
@@ -1326,6 +1327,7 @@ public:
void goldnpkr(machine_config &config);
void wcrdxtnd(machine_config &config);
void super21p(machine_config &config);
+ void caspoker(machine_config &config);
void init_vkdlswwh();
void init_icp1db();
@@ -1543,7 +1545,7 @@ TILE_GET_INFO_MEMBER(goldnpkr_state::super21p_get_bg_tile_info)
In test mode, the DIP switches status are assigned with code 00,
so you can't see them since they are black on black background.
-*/
+*/
}
void goldnpkr_state::video_start()
@@ -4427,6 +4429,11 @@ static GFXDECODE_START( gfx_super21p )
GFXDECODE_ENTRY( "gfx4", 0, fixedtilelayout, 0x300, 16 )
GFXDECODE_END
+static GFXDECODE_START( gfx_caspoker )
+ GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 128, 16 )
+ GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 128, 16 )
+GFXDECODE_END
+
/**********************************************************
* Discrete Sound Routines *
@@ -4850,6 +4857,21 @@ void goldnpkr_state::bchancep(machine_config &config)
}
+void goldnpkr_state::caspoker(machine_config &config)
+{
+ goldnpkr_base(config);
+
+ R65C02(config.replace(), m_maincpu, CPU_CLOCK);
+ m_maincpu->set_addrmap(AS_PROGRAM, &goldnpkr_state::goldnpkr_map);
+
+ m_gfxdecode->set_info(gfx_caspoker);
+
+ /* sound hardware */
+ SPEAKER(config, "mono").front_center();
+ DISCRETE(config, m_discrete, goldnpkr_discrete).add_route(ALL_OUTPUTS, "mono", 1.0);
+}
+
+
/*********************************************
* Blitz System *
@@ -10582,8 +10604,61 @@ ROM_END
/***************************************************************
+ Casino Poker.
+ 1988, PM / Beck Elektronik.
+ Ver PM88-01-21.
+
+ 1x Xtal 10.000 MHz.
+ 1x Unknown DIL40 CPU with sticker "23-3-88" and "BECK".
+ 2x HD46821P.
+ 1x UM6845.
+
+ 4x 2716 for graphics.
+ 4x 2732 for program.
+
+ 1x TBP24SA10 bipolar PROM for colors palette.
+
+ CPU has no marks to avoid recognizement.
+ Was identified as Rockwell R65C02, after exhaustive code analysis.
+
+ The program has some protection things, as routines using extra
+ opcodes to hang the program if it's running in a hardware based
+ on a stock 6502 CPU.
+
+ Graphics are different from the other Casino Poker sets.
+
+ Bipolar PROM is different from the common in this kind of games.
+ The game uses a banked palette to get green or blue background
+ using each half of the palette.
+
+***************************************************************/
+ROM_START( caspoker )
+ ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_LOAD( "514.bin", 0x4000, 0x1000, CRC(4fadd660) SHA1(a06ef3e89ae09536a2f159c16726091a42430140) )
+ ROM_LOAD( "515.bin", 0x5000, 0x1000, CRC(07d8b4e0) SHA1(105a1595a1a4e2d8c976ffc852636938acdd5922) )
+ ROM_LOAD( "516.bin", 0x6000, 0x1000, CRC(da067462) SHA1(308368057c3126d053c89c36701be446001d34cf) )
+ ROM_LOAD( "517.bin", 0x7000, 0x1000, CRC(df4c2976) SHA1(425e9f05df2e7c30422d1828c3c6471635249c7a) )
+
+ ROM_REGION( 0x1800, "gfx1", 0 )
+ ROM_FILL( 0x0000, 0x1000, 0x0000 ) // filling the R-G bitplanes
+ ROM_LOAD( "433.bin", 0x1000, 0x0800, CRC(434a7cbb) SHA1(447bf44e04d023aab8a58c3973f83a12af5b1b2b) ) // text chars
+
+ ROM_REGION( 0x1800, "gfx2", 0 )
+ ROM_LOAD( "430.bin", 0x0000, 0x0800, CRC(46927b19) SHA1(d24c8f81bc1d34d52c759268b582a61f1455299b) ) // cards deck gfx, bitplane 1
+ ROM_LOAD( "431.bin", 0x0800, 0x0800, CRC(082a5585) SHA1(580ee2a824bed4b483d88dc99793c3a06dad12e0) ) // cards deck gfx, bitplane 2
+ ROM_LOAD( "432.bin", 0x1000, 0x0800, CRC(04adfcb8) SHA1(3aabbd997dec65cb5e4f044f16c742902a775e98) ) // cards deck gfx, bitplane 3
+
+ ROM_REGION( 0x0100, "proms", 0 )
+ ROM_LOAD( "tbp24sa10.bin", 0x0000, 0x0100, CRC(079d26c4) SHA1(b8adf9bdc36107f3e4f6f41f2337a8b67b70e0da) )
+ROM_END
+
+/***************************************************************
+
Casino Poker
1987, PM / Beck Elektronik
+ Ver PM86LO-35-5
+
+ Based in Golden Poker hardware.
1x Xtal 10.000 MHz.
1x UM6502A
@@ -10592,16 +10667,17 @@ ROM_END
GFX ROMS 051, 052, 053 and 054 have duplicated halves.
- Bipolar PROM was faulty, but a clone appeared with the
+ Bipolar PROM was faulty, but another clone appeared with the
same GFX set, so assume the BP is the same.
- Discrete sound circuitry was traced, being identical to the Golden Poker one.
- Only difference is the PC617 replaced by one PC817.
+ Discrete sound circuitry was traced, being identical to the
+ Golden Poker one. Only difference is the PC617 replaced by one
+ PC817.
The sound is ugly and seems that was programmed that way.
***************************************************************/
-ROM_START( caspoker )
+ROM_START( caspokera )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "234.bin", 0x4000, 0x1000, CRC(174bc526) SHA1(faef01484f0e0ea769d7bd2c5ad03369a6fdf037) )
ROM_LOAD( "235.bin", 0x5000, 0x1000, CRC(2e43552f) SHA1(5fbe0e62dec960850ef5f937254858fcd4da9e64) )
@@ -10609,22 +10685,22 @@ ROM_START( caspoker )
ROM_LOAD( "237.bin", 0x7000, 0x1000, CRC(b411d0c4) SHA1(0617cd312026da78a171fc23f4788393d70371cf) )
ROM_REGION( 0x1800, "gfx1", 0 )
- ROM_FILL( 0x0000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
- ROM_LOAD( "054.bin", 0x1000, 0x0800, CRC(7b401a09) SHA1(affb90a52761c36be7c67f7606f3f982f6dc724e) ) /* text chars */
- ROM_IGNORE( 0x0800) /* identical halves, discarding the 2nd half */
+ ROM_FILL( 0x0000, 0x1000, 0x0000 ) // filling the R-G bitplanes...
+ ROM_LOAD( "054.bin", 0x1000, 0x0800, CRC(7b401a09) SHA1(affb90a52761c36be7c67f7606f3f982f6dc724e) ) // text chars
+ ROM_IGNORE( 0x0800) // identical halves, discarding the 2nd half
ROM_REGION( 0x1800, "gfx2", 0 )
- ROM_LOAD( "051.bin", 0x0000, 0x0800, CRC(82d823e5) SHA1(75bdf427a6204ef87444be0d8b06a07c5a2fc38f) ) /* cards deck gfx, bitplane1 */
- ROM_IGNORE( 0x0800) /* identical halves, discarding the 2nd half */
- ROM_LOAD( "052.bin", 0x0800, 0x0800, CRC(eda12738) SHA1(ec7806c2bf1a238f489459c3c3653f43febaa464) ) /* cards deck gfx, bitplane2 */
- ROM_IGNORE( 0x0800) /* identical halves, discarding the 2nd half */
- ROM_LOAD( "053.bin", 0x1000, 0x0800, CRC(d147ae0a) SHA1(dfdf0a42eb0a6f2afc9f301b0cf01411085247bd) ) /* cards deck gfx, bitplane3 */
- ROM_IGNORE( 0x0800) /* identical halves, discarding the 2nd half */
+ ROM_LOAD( "051.bin", 0x0000, 0x0800, CRC(82d823e5) SHA1(75bdf427a6204ef87444be0d8b06a07c5a2fc38f) ) // cards deck gfx, bitplane1
+ ROM_IGNORE( 0x0800) // identical halves, discarding the 2nd half
+ ROM_LOAD( "052.bin", 0x0800, 0x0800, CRC(eda12738) SHA1(ec7806c2bf1a238f489459c3c3653f43febaa464) ) // cards deck gfx, bitplane2
+ ROM_IGNORE( 0x0800) // identical halves, discarding the 2nd half
+ ROM_LOAD( "053.bin", 0x1000, 0x0800, CRC(d147ae0a) SHA1(dfdf0a42eb0a6f2afc9f301b0cf01411085247bd) ) // cards deck gfx, bitplane3
+ ROM_IGNORE( 0x0800) // identical halves, discarding the 2nd half
- ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM, otherwise settings parameters are incorrect */
- ROM_LOAD( "caspoker_nvram.bin", 0x0000, 0x0800, CRC(be6e2671) SHA1(aef1b09d09e07eb39480a7901ed8535f74e461fa) )
+ ROM_REGION( 0x0800, "nvram", 0 ) // default NVRAM, otherwise settings parameters are incorrect
+ ROM_LOAD( "caspokera_nvram.bin", 0x0000, 0x0800, CRC(be6e2671) SHA1(aef1b09d09e07eb39480a7901ed8535f74e461fa) )
- ROM_REGION( 0x0100, "proms", 0 ) /* from other games */
+ ROM_REGION( 0x0100, "proms", 0 ) // from other games
ROM_LOAD( "24sa10.bin", 0x0000, 0x0100, CRC(7f31066b) SHA1(15420780ec6b2870fc4539ec3afe4f0c58eedf12) )
ROM_END
@@ -10633,10 +10709,12 @@ ROM_END
Ver. PM86-35-1.
COPYRIGHT PM 1985,1986
+ Based in Golden Poker hardware.
+
COPYRIGHT 1985,1986 BECK COMPUTER,
D-6330 WETZLAR / *DG* / PM86-35-1 / 08.12.86
*/
-ROM_START( caspokera )
+ROM_START( caspokerb )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "215b_neu.bin", 0x5000, 0x1000, CRC(54b789e3) SHA1(96f1fa8ee3cdde338f5748bfe39b8d8fd6bafd0a) )
ROM_LOAD( "216b_neu.bin", 0x6000, 0x1000, CRC(be7793f2) SHA1(e29dd20591d39f404e5a3bec44701aab71102846) )
@@ -10655,36 +10733,12 @@ ROM_START( caspokera )
ROM_CONTINUE( 0x1000, 0x0800) // Discarding 1nd half (empty)
ROM_REGION( 0x0800, "nvram", 0 ) // default NVRAM, otherwise settings parameters are incorrect
- ROM_LOAD( "caspokera_nvram.bin", 0x0000, 0x0800, CRC(b0c63467) SHA1(0a031686821ce7da43816076ea498389310b98c6) )
+ ROM_LOAD( "caspokerb_nvram.bin", 0x0000, 0x0800, CRC(b0c63467) SHA1(0a031686821ce7da43816076ea498389310b98c6) )
ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "tbp24sa10.bin", 0x0000, 0x0100, CRC(7f31066b) SHA1(15420780ec6b2870fc4539ec3afe4f0c58eedf12) ) // PROM dump confirmed OK
ROM_END
-ROM_START( caspokerb )
- ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD( "514.bin", 0x4000, 0x1000, CRC(4fadd660) SHA1(a06ef3e89ae09536a2f159c16726091a42430140) )
- ROM_LOAD( "515.bin", 0x5000, 0x1000, CRC(07d8b4e0) SHA1(105a1595a1a4e2d8c976ffc852636938acdd5922) )
- ROM_LOAD( "516.bin", 0x6000, 0x1000, CRC(da067462) SHA1(308368057c3126d053c89c36701be446001d34cf) )
- ROM_LOAD( "517.bin", 0x7000, 0x1000, CRC(df4c2976) SHA1(425e9f05df2e7c30422d1828c3c6471635249c7a) )
-
- ROM_REGION( 0x1800, "gfx1", 0 )
- ROM_FILL( 0x0000, 0x1000, 0x0000 ) // filling the R-G bitplanes
- ROM_LOAD( "433.bin", 0x1000, 0x0800, CRC(434a7cbb) SHA1(447bf44e04d023aab8a58c3973f83a12af5b1b2b) ) // text chars
-
- ROM_REGION( 0x1800, "gfx2", 0 )
- ROM_LOAD( "430.bin", 0x0000, 0x0800, CRC(46927b19) SHA1(d24c8f81bc1d34d52c759268b582a61f1455299b) ) // cards deck gfx, bitplane 1
- ROM_LOAD( "431.bin", 0x0800, 0x0800, CRC(082a5585) SHA1(580ee2a824bed4b483d88dc99793c3a06dad12e0) ) // cards deck gfx, bitplane 2
- ROM_LOAD( "432.bin", 0x1000, 0x0800, CRC(04adfcb8) SHA1(3aabbd997dec65cb5e4f044f16c742902a775e98) ) // cards deck gfx, bitplane 3
-
- // TODO, once the game boots
- //ROM_REGION( 0x0800, "nvram", 0 ) // default NVRAM, otherwise settings parameters are incorrect
- //ROM_LOAD( "caspokerb_nvram.bin", 0x0000, 0x0800, CRC() SHA1() )
-
- ROM_REGION( 0x0100, "proms", 0 )
- ROM_LOAD( "tbp24sa10.bin", 0x0000, 0x0100, CRC(079d26c4) SHA1(b8adf9bdc36107f3e4f6f41f2337a8b67b70e0da) )
-ROM_END
-
/*
Bonus Poker.
Copyright 1984 Galanthis Inc.
@@ -11498,9 +11552,6 @@ ROM_START( super21p )
ROM_COPY( "gfxpool", 0x3800, 0x0800, 0x0800 ) // src-dest-size
ROM_COPY( "gfxpool", 0x5800, 0x0000, 0x0800 ) // src-dest-size
-// ROM_FILL( 0x0000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
-// ROM_FILL( 0x2000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
-
ROM_REGION( 0x0300, "proms", 0 )
ROM_LOAD( "82s129_1.ic31", 0x0000, 0x0100, CRC(c3d777b4) SHA1(5a3c0325dcbddde3f8ae2ffbc1cb56cfccda308d) )
ROM_LOAD( "82s129_2.ic30", 0x0100, 0x0100, CRC(c9c12b13) SHA1(e0b26febb265af01f2caa891e14f4999400820b8) )
@@ -12009,7 +12060,7 @@ GAMEL( 1990, falcnwlda, falcnwld, wildcard, wildcard, goldnpkr_state, empty_init
GAMEL( 1990, falcnwldb, falcnwld, wildcard, wildcard, goldnpkr_state, empty_init, ROT0, "Video Klein", "Falcons Wild - World Wide Poker (Video Klein, set 2)", 0, layout_goldnpkr )
GAME( 1983, falcnwldc, falcnwld, wildcrdb, wildcard, goldnpkr_state, init_flcnw, ROT0, "Falcon", "Falcons Wild - World Wide Poker (Falcon original)", MACHINE_NOT_WORKING )
-GAME( 1987, super21p, 0, super21p, super21p, goldnpkr_state, empty_init, ROT0, "Public MNG", "Super 21", MACHINE_IMPERFECT_COLORS )
+GAME( 1987, super21p, 0, super21p, super21p, goldnpkr_state, empty_init, ROT0, "Public MNG", "Super 21", MACHINE_IMPERFECT_COLORS )
GAMEL( 1991, witchcrd, 0, witchcrd, witchcrd, goldnpkr_state, init_vkdlsc, ROT0, "Video Klein?", "Witch Card (Video Klein CPU box, set 1)", 0, layout_goldnpkr )
GAME( 1991, witchcda, witchcrd, witchcrd, witchcda, goldnpkr_state, empty_init, ROT0, "<unknown>", "Witch Card (Spanish, witch game, set 1)", 0 )
@@ -12076,9 +12127,9 @@ GAMEL( 1994, wtchjackj, wtchjack, wcrdxtnd, wtchjack, goldnpkr_state, empty_init
/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT */
GAMEL( 1981, pmpoker, 0, goldnpkr, pmpoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "PlayMan Poker (German)", 0, layout_pmpoker )
-GAMEL( 1987, caspoker, 0, goldnpkr, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM86LO-35-5, German)", 0, layout_pmpoker )
-GAMEL( 1986, caspokera, caspoker, goldnpkr, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM86-35-1, German)", 0, layout_pmpoker )
-GAMEL( 1988, caspokerb, caspoker, goldnpkr, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM88-01-21, German)", MACHINE_NOT_WORKING, layout_pmpoker ) // flashes ROM FEHLER (ROM error) on start up
+GAMEL( 1988, caspoker, 0, caspoker, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM88-01-21, German)", 0, layout_pmpoker )
+GAMEL( 1987, caspokera, caspoker, goldnpkr, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM86LO-35-5, German)", 0, layout_pmpoker )
+GAMEL( 1986, caspokerb, caspoker, goldnpkr, caspoker, goldnpkr_state, empty_init, ROT0, "PM / Beck Elektronik", "Casino Poker (Ver PM86-35-1, German)", 0, layout_pmpoker )
GAMEL( 198?, royale, 0, goldnpkr, goldnpkr, goldnpkr_state, empty_init, ROT0, "<unknown>", "Royale (set 1)", 0, layout_goldnpkr )
GAMEL( 198?, royalea, royale, goldnpkr, goldnpkr, goldnpkr_state, empty_init, ROT0, "<unknown>", "Royale (set 2)", 0, layout_goldnpkr )
GAME( 1993, sloco93, 0, witchcrd, sloco93, goldnpkr_state, empty_init, ROT0, "<unknown>", "Super Loco 93 (Spanish, set 1)", 0 )
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index eee610bb97d..7a9bf65503a 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -14420,9 +14420,9 @@ bsuertes // 1991, Unknown
bsuertet // 1991, Unknown
bsuerteu // 1991, Unknown
bsuertev // 1991, Unknown
-caspoker // 1987, PM / Beck Elektronik.
-caspokera // 1986, PM / Beck Elektronik.
-caspokerb // 1988, PM / Beck Elektronik.
+caspoker // 1988, PM / Beck Elektronik.
+caspokera // 1987, PM / Beck Elektronik.
+caspokerb // 1986, PM / Beck Elektronik.
falcnwld // 1991, TVG
falcnwlda // (c) 1990, Video Klein
falcnwldb // (c) 1990, Video Klein