From 2da21511e793442976c4619088454e93839ef295 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Tue, 23 Jul 2019 18:07:22 +0200 Subject: new working machine -------------------------------- Double Joker Poker (CGI) [Stu, Hammy, The Dumping Union] --- src/mame/drivers/norautp.cpp | 35 +++++++++++++++++++++++++++++++++++ src/mame/includes/norautp.h | 3 +++ src/mame/mame.lst | 3 ++- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/norautp.cpp b/src/mame/drivers/norautp.cpp index 55998287bb3..a6ac3806bd6 100644 --- a/src/mame/drivers/norautp.cpp +++ b/src/mame/drivers/norautp.cpp @@ -911,6 +911,19 @@ void norautp_state::newhilop_map(address_map &map) map(0xd000, 0xd7ff).ram().share("nvram"); /* 6116 */ } +void norautp_state::cgidjp_map(address_map &map) +{ + map.global_mask(0x3fff); + map(0x0000, 0x1fff).rom().region("maincpu", 0x2000); + map(0x2000, 0x27ff).ram().share("nvram"); /* 6116 */ +} + +void norautp_state::cgidjp_opcodes_map(address_map &map) +{ + map.global_mask(0x3fff); + map(0x0000, 0x1fff).rom().region("maincpu", 0); +} + /*********** 8080 based **********/ void norautp_state::dphl_map(address_map &map) @@ -1367,6 +1380,16 @@ void norautp_state::newhilop(machine_config &config) m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold)); } +void norautp_state::cgidjp(machine_config &config) +{ + noraut_base(config); + + /* basic machine hardware */ + m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::cgidjp_map); + m_maincpu->set_addrmap(AS_OPCODES, &norautp_state::cgidjp_opcodes_map); + m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold)); +} + /********** 8080 based **********/ void norautp_state::dphl(machine_config &config) @@ -2201,6 +2224,17 @@ ROM_START( cgip30cs ) ROM_LOAD( "graphics2716.bin", 0x0800, 0x0800, CRC(174a5eec) SHA1(44d84a0cf29a0bf99674d95084c905d3bb0445ad) ) ROM_END +// PCB has a sticker: Casino Games Innovation Incorporating GS Research POKER PCB +ROM_START( cgidjp ) + ROM_REGION( 0x08000, "maincpu", 0 ) /* Program ROM is 0000-3fff, duplicated to fit the ROM size, opcodes are 0000-1fff, data 2000-3fff */ + ROM_LOAD( "27c256.bin", 0x0000, 0x8000, CRC(6e0b8999) SHA1(5219b38292e531589d90ae3df08990f8d8664cc3) ) + + ROM_REGION( 0x1000, "gfx", 0 ) + ROM_FILL( 0x0000, 0x0800, 0xff ) + ROM_LOAD( "27c32.bin", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) /* first half 0xff filled */ + ROM_CONTINUE( 0x0800, 0x0800 ) +ROM_END + /* Kimble Double HI-LO (Z80) @@ -3633,6 +3667,7 @@ GAMEL( 198?, mainline, 0, norautp, mainline, norautp_state, empty_init, R GAMEL( 199?, df_djpkr, 0, norautp, mainline, norautp_state, empty_init, ROT0, "DellFern Ltd.", "Double Joker Poker (45%-75% payout)", 0, layout_noraut12 ) GAMEL( 2005, ndxron10, 0, norautp, ndxron10, norautp_state, empty_init, ROT0, "", "Royal on Ten (Noraut Deluxe hack)", 0, layout_noraut12 ) GAMEL( 1999, cgip30cs, 0, norautx4, norautkl, norautp_state, init_deb, ROT0, "CGI", "Credit Poker (ver.30c, standard)", 0, layout_noraut12 ) +GAMEL( 19??, cgidjp, 0, cgidjp, mainline, norautp_state, empty_init, ROT0, "CGI", "Double Joker Poker (CGI)", 0, layout_noraut12 ) // very similar to df_djpkr GAME( 198?, kimblz80, 0, kimble, norautp, norautp_state, empty_init, ROT0, "Kimble Ireland", "Kimble Double HI-LO (z80 version)", MACHINE_NOT_WORKING ) GAME( 1983, pma, 0, nortest1, norautp, norautp_state, empty_init, ROT0, "PMA", "PMA Poker", MACHINE_NOT_WORKING ) GAMEL( 198?, bjpoker, 0, norautxp, norautrh, norautp_state, empty_init, ROT0, "M.Kramer Manufacturing.", "Poker / Black Jack (Model 7521)", MACHINE_NOT_WORKING, layout_noraut12 ) diff --git a/src/mame/includes/norautp.h b/src/mame/includes/norautp.h index c912b0ccd13..8c1d1987bb7 100644 --- a/src/mame/includes/norautp.h +++ b/src/mame/includes/norautp.h @@ -44,6 +44,7 @@ public: void dphla(machine_config &config); void drhl(machine_config &config); void norautxp(machine_config &config); + void cgidjp(machine_config &config); void init_ssa(); void init_enc(); @@ -62,6 +63,8 @@ private: DECLARE_WRITE8_MEMBER(counterlamps_w); void norautp_palette(palette_device &palette) const; uint32_t screen_update_norautp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + void cgidjp_map(address_map &map); + void cgidjp_opcodes_map(address_map &map); void dphl_map(address_map &map); void dphla_map(address_map &map); void dphltest_map(address_map &map); diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 3f2dab5fea5..1181a6d822a 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -2493,7 +2493,7 @@ xb42639a // 1990 Apricot XEN-S (Venus II Motherboard 286) xb42663 // 1988 Apricot Qi 300 (Rev D,E & F Motherboard) xb42664 // 1989 Apricot XEN-S (Venus I Motherboard 386) (Bios:3.10.17i) xb42664a // 1990 Apricot XEN-S (Venus II Motherboard 386) (Bios:1.02.17) -lion3500 // 1993 Lion 3500C/T notebook +lion3500 // 1993 Lion 3500C/T notebook @source:atari_s1.cpp aavenger // @@ -30956,6 +30956,7 @@ noki8890 // @source:norautp.cpp bjpoker // (c) M. Kramer Inc. cgip30cs // (c) 1999, CGI +cgidjp // (c) 1999, CGI df_djpkr // (c) DellFern Ltd. dphl // (c) 1983 M. Kramer Inc. dphla // unknown -- cgit v1.2.3