From fae7c98ad13d69ee8e6282f2ecc584ddde49e039 Mon Sep 17 00:00:00 2001 From: RobertoFresca Date: Wed, 20 May 2015 22:33:49 -0300 Subject: [PATCH] Some spacing, align, and copyrights... --- src/mame/drivers/gambl186.c | 7 +- src/mame/drivers/luckgrln.c | 6 +- src/mame/drivers/poker72.c | 13 ++++ src/mame/drivers/supdrapo.c | 53 +++++++------- src/mame/drivers/vpoker.c | 139 +++++++++++++++--------------------- 5 files changed, 103 insertions(+), 115 deletions(-) diff --git a/src/mame/drivers/gambl186.c b/src/mame/drivers/gambl186.c index 6a9a9eb11e7..7040af2f253 100644 --- a/src/mame/drivers/gambl186.c +++ b/src/mame/drivers/gambl186.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:David Haywood +// copyright-holders:David Haywood, Angelo Salese, Roberto Fresca, Peter Ferrie /*********************************************************************************** Multi Game - EGD, 1997 @@ -511,5 +511,6 @@ ROM_START( gambl186a ) ROM_END -GAME( 1997, gambl186, 0, gambl186, gambl186, driver_device, 0, ROT0, "EGD", "Multi Game (V398)", GAME_NOT_WORKING | GAME_NO_SOUND ) -GAME( 199?, gambl186a, gambl186, gambl186, gambl186, driver_device, 0, ROT0, "EGD", "Multi Game (V399)", GAME_NOT_WORKING | GAME_NO_SOUND ) +/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS... */ +GAME( 1997, gambl186, 0, gambl186, gambl186, driver_device, 0, ROT0, "EGD", "Multi Game (V398)", GAME_NOT_WORKING | GAME_NO_SOUND ) +GAME( 199?, gambl186a, gambl186, gambl186, gambl186, driver_device, 0, ROT0, "EGD", "Multi Game (V399)", GAME_NOT_WORKING | GAME_NO_SOUND ) diff --git a/src/mame/drivers/luckgrln.c b/src/mame/drivers/luckgrln.c index 96b437a8630..d4323fc01c5 100644 --- a/src/mame/drivers/luckgrln.c +++ b/src/mame/drivers/luckgrln.c @@ -1091,6 +1091,6 @@ ROM_END * Game Drivers * ********************************************** - YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ -GAMEL( 1991, luckgrln, 0, luckgrln, luckgrln, luckgrln_state, luckgrln, ROT0, "Wing Co., Ltd.", "Lucky Girl (newer Z180 based hardware)", GAME_NO_SOUND, layout_luckgrln ) -GAMEL( 1993, 7smash, 0, _7smash, _7smash, driver_device, 0, ROT0, "Sovic", "7 Smash", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING | GAME_NO_SOUND, layout_luckgrln ) + YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ +GAMEL( 1991, luckgrln, 0, luckgrln, luckgrln, luckgrln_state, luckgrln, ROT0, "Wing Co., Ltd.", "Lucky Girl (newer Z180 based hardware)", GAME_NO_SOUND, layout_luckgrln ) +GAMEL( 1993, 7smash, 0, _7smash, _7smash, driver_device, 0, ROT0, "Sovic", "7 Smash", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING | GAME_NO_SOUND, layout_luckgrln ) diff --git a/src/mame/drivers/poker72.c b/src/mame/drivers/poker72.c index f957d156b63..3b90523609a 100644 --- a/src/mame/drivers/poker72.c +++ b/src/mame/drivers/poker72.c @@ -125,6 +125,19 @@ static ADDRESS_MAP_START( poker72_map, AS_PROGRAM, 8, poker72_state ) AM_RANGE(0xfe22, 0xfe22) AM_WRITE(tile_bank_w) AM_RANGE(0xfe40, 0xfe40) AM_DEVREADWRITE("ay", ay8910_device, data_r, data_w) AM_RANGE(0xfe60, 0xfe60) AM_DEVWRITE("ay", ay8910_device, address_w) + + AM_RANGE(0xff00, 0xffff) AM_RAM //?? +/* +bp 13a + +fe06 w +fe08 w +fe0b = 9b (ppi?) +fe24 w + +01f9 : call 6399 --> cls + +*/ ADDRESS_MAP_END diff --git a/src/mame/drivers/supdrapo.c b/src/mame/drivers/supdrapo.c index ac6282aa2f0..01fe7220c43 100644 --- a/src/mame/drivers/supdrapo.c +++ b/src/mame/drivers/supdrapo.c @@ -494,21 +494,21 @@ A3-1J */ ROM_START( supdrapo ) ROM_REGION( 0x010000, "maincpu", 0 ) - ROM_LOAD( "a2-1c", 0x0000, 0x1000, CRC(b65af689) SHA1(b45cd15ca8f9c931d83a90f3cdbebf218070b195) ) - ROM_LOAD( "a2-1d", 0x1000, 0x1000, CRC(9ccc4347) SHA1(ea8f4d17aaacc7091ca0a66247b55eb12155c9d7) ) - ROM_LOAD( "a1-1e", 0x2000, 0x1000, CRC(44f2b75d) SHA1(615d0acd3f8a109334f415732b6b4fe7b810d91c) ) //a2-1e - ROM_LOAD( "a1-1h", 0x3000, 0x1000, CRC(9c1a10ff) SHA1(243dd64f0b29f9bed4cfa8ecb801ddd973d9e3c3) ) - ROM_LOAD( "a3-1j", 0x4000, 0x1000, CRC(71c2bf1c) SHA1(cb98bbf88b8a410075a074ec8619c6e703c6c582) ) + ROM_LOAD( "a2-1c", 0x0000, 0x1000, CRC(b65af689) SHA1(b45cd15ca8f9c931d83a90f3cdbebf218070b195) ) + ROM_LOAD( "a2-1d", 0x1000, 0x1000, CRC(9ccc4347) SHA1(ea8f4d17aaacc7091ca0a66247b55eb12155c9d7) ) + ROM_LOAD( "a1-1e", 0x2000, 0x1000, CRC(44f2b75d) SHA1(615d0acd3f8a109334f415732b6b4fe7b810d91c) ) //a2-1e + ROM_LOAD( "a1-1h", 0x3000, 0x1000, CRC(9c1a10ff) SHA1(243dd64f0b29f9bed4cfa8ecb801ddd973d9e3c3) ) + ROM_LOAD( "a3-1j", 0x4000, 0x1000, CRC(71c2bf1c) SHA1(cb98bbf88b8a410075a074ec8619c6e703c6c582) ) ROM_REGION( 0x04000, "gfx1", 0 ) - ROM_LOAD( "a1-4p", 0x0000, 0x1000, CRC(5ac096cc) SHA1(60173a83d0e60fd4d0eb40b7b4e80a74ac5fb23d) ) - ROM_LOAD( "a1-4n", 0x1000, 0x1000, CRC(6985fac9) SHA1(c6357fe0f042b67f8559ec9da03106d1ff08dc66) ) - ROM_LOAD( "a1-4l", 0x2000, 0x1000, CRC(534f7b94) SHA1(44b83053827b27b9e45f6fc50d3878984ef5c5cc) ) - ROM_LOAD( "a1-4k", 0x3000, 0x1000, CRC(3d881f5b) SHA1(53d8800a098e4393224de0b82f8e516f73fd6b62) ) + ROM_LOAD( "a1-4p", 0x0000, 0x1000, CRC(5ac096cc) SHA1(60173a83d0e60fd4d0eb40b7b4e80a74ac5fb23d) ) + ROM_LOAD( "a1-4n", 0x1000, 0x1000, CRC(6985fac9) SHA1(c6357fe0f042b67f8559ec9da03106d1ff08dc66) ) + ROM_LOAD( "a1-4l", 0x2000, 0x1000, CRC(534f7b94) SHA1(44b83053827b27b9e45f6fc50d3878984ef5c5cc) ) + ROM_LOAD( "a1-4k", 0x3000, 0x1000, CRC(3d881f5b) SHA1(53d8800a098e4393224de0b82f8e516f73fd6b62) ) ROM_REGION( 0x00200, "proms", 0 ) - ROM_LOAD( "a1-9n", 0x0000, 0x0100, CRC(e62529e3) SHA1(176f2069b0c06c1d088909e81658652af06c8eec) ) - ROM_LOAD( "a1-9p", 0x0100, 0x0100, CRC(a0547746) SHA1(747c8aef5afa26124fe0763e7f96c4ff6be31863) ) + ROM_LOAD( "a1-9n", 0x0000, 0x0100, CRC(e62529e3) SHA1(176f2069b0c06c1d088909e81658652af06c8eec) ) + ROM_LOAD( "a1-9p", 0x0100, 0x0100, CRC(a0547746) SHA1(747c8aef5afa26124fe0763e7f96c4ff6be31863) ) ROM_END /* @@ -525,21 +525,21 @@ ROM_END */ ROM_START( supdrapoa ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "0.c1", 0x0000, 0x1000, CRC(63e2775a) SHA1(742e8db5378631fd93a22d2131f9523ee74c03a5) ) - ROM_LOAD( "1.d1", 0x1000, 0x1000, CRC(aa1578de) SHA1(8f1a33864b2c8e09a25c7603522ebfc7e0757d56) ) - ROM_LOAD( "2.e1", 0x2000, 0x1000, CRC(ffe0415c) SHA1(0233d192814ced0b32abd4b7d2e93431a339732f) ) - ROM_LOAD( "3.h1", 0x3000, 0x1000, CRC(1bae52fa) SHA1(f89d48d67e52d0fca51eb23fee2d5cb94afcf7f4) ) - ROM_LOAD( "4.j1", 0x4000, 0x1000, CRC(7af26f63) SHA1(aeeca69ef1c21acae4283183e4b073ec0d303f4a) ) + ROM_LOAD( "0.c1", 0x0000, 0x1000, CRC(63e2775a) SHA1(742e8db5378631fd93a22d2131f9523ee74c03a5) ) + ROM_LOAD( "1.d1", 0x1000, 0x1000, CRC(aa1578de) SHA1(8f1a33864b2c8e09a25c7603522ebfc7e0757d56) ) + ROM_LOAD( "2.e1", 0x2000, 0x1000, CRC(ffe0415c) SHA1(0233d192814ced0b32abd4b7d2e93431a339732f) ) + ROM_LOAD( "3.h1", 0x3000, 0x1000, CRC(1bae52fa) SHA1(f89d48d67e52d0fca51eb23fee2d5cb94afcf7f4) ) + ROM_LOAD( "4.j1", 0x4000, 0x1000, CRC(7af26f63) SHA1(aeeca69ef1c21acae4283183e4b073ec0d303f4a) ) ROM_REGION( 0x4000, "gfx1", 0 ) - ROM_LOAD( "8.p4", 0x0000, 0x1000, CRC(ef0700c5) SHA1(53f49d99f310fdf675e3b7339bdca1115e4a1935) ) - ROM_LOAD( "7.n4", 0x1000, 0x1000, CRC(3f77031b) SHA1(2d282d39ea568aa44af8b56228b6e096c2713a15) ) - ROM_LOAD( "6.l4", 0x2000, 0x1000, CRC(d70cd50e) SHA1(c3e3dcf79f8a25df5b878ef8734a6d0dc22004ba) ) - ROM_LOAD( "5.k4", 0x3000, 0x1000, CRC(34564917) SHA1(90b49fe8a5371159388839d42913352cf58c60e6) ) + ROM_LOAD( "8.p4", 0x0000, 0x1000, CRC(ef0700c5) SHA1(53f49d99f310fdf675e3b7339bdca1115e4a1935) ) + ROM_LOAD( "7.n4", 0x1000, 0x1000, CRC(3f77031b) SHA1(2d282d39ea568aa44af8b56228b6e096c2713a15) ) + ROM_LOAD( "6.l4", 0x2000, 0x1000, CRC(d70cd50e) SHA1(c3e3dcf79f8a25df5b878ef8734a6d0dc22004ba) ) + ROM_LOAD( "5.k4", 0x3000, 0x1000, CRC(34564917) SHA1(90b49fe8a5371159388839d42913352cf58c60e6) ) ROM_REGION( 0x00200, "proms", 0 ) /* using the color PROMs from the parent set - no reason to think they differ */ - ROM_LOAD( "a1-9n", 0x0000, 0x0100, CRC(e62529e3) SHA1(176f2069b0c06c1d088909e81658652af06c8eec) ) - ROM_LOAD( "a1-9p", 0x0100, 0x0100, CRC(a0547746) SHA1(747c8aef5afa26124fe0763e7f96c4ff6be31863) ) + ROM_LOAD( "a1-9n", 0x0000, 0x0100, CRC(e62529e3) SHA1(176f2069b0c06c1d088909e81658652af06c8eec) ) + ROM_LOAD( "a1-9p", 0x0100, 0x0100, CRC(a0547746) SHA1(747c8aef5afa26124fe0763e7f96c4ff6be31863) ) ROM_END /* @@ -600,12 +600,11 @@ ROM_START( supdrapob ) ROM_END - /********************************************************************* Games Drivers **********************************************************************/ -/* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS... */ -GAME( 1983, supdrapo, 0, supdrapo, supdrapo, driver_device, 0, ROT90, "Valadon Automation (Stern Electronics license)", "Super Draw Poker (set 1)", GAME_SUPPORTS_SAVE ) -GAME( 1983, supdrapoa, supdrapo, supdrapo, supdrapo, driver_device, 0, ROT90, "Valadon Automation / Jeutel", "Super Draw Poker (set 2)", GAME_SUPPORTS_SAVE ) -GAME( 1983, supdrapob, supdrapo, supdrapo, supdrapo, driver_device, 0, ROT90, "bootleg", "Super Draw Poker (bootleg)", GAME_SUPPORTS_SAVE ) +/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS... */ +GAME( 1983, supdrapo, 0, supdrapo, supdrapo, driver_device, 0, ROT90, "Valadon Automation (Stern Electronics license)", "Super Draw Poker (set 1)", GAME_SUPPORTS_SAVE ) +GAME( 1983, supdrapoa, supdrapo, supdrapo, supdrapo, driver_device, 0, ROT90, "Valadon Automation / Jeutel", "Super Draw Poker (set 2)", GAME_SUPPORTS_SAVE ) +GAME( 1983, supdrapob, supdrapo, supdrapo, supdrapo, driver_device, 0, ROT90, "bootleg", "Super Draw Poker (bootleg)", GAME_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/vpoker.c b/src/mame/drivers/vpoker.c index 8864ad0d333..3dc2a78efd0 100644 --- a/src/mame/drivers/vpoker.c +++ b/src/mame/drivers/vpoker.c @@ -1,110 +1,84 @@ // license:BSD-3-Clause -// copyright-holders:Angelo Salese +// copyright-holders:Angelo Salese, Roberto Fresca /************************************************************************************************************** -Videotronics Poker (c) 198? Videotronics + Videotronics Poker (c) 198? Videotronics + Preliminary driver by Angelo Salese & Roberto Fresca. -preliminary driver by Angelo Salese + Notes: + - Looks like the 2nd generation of Noraut Poker / Draw Poker Hi-Lo HW. -Notes: -- Looks like the 2nd generation of Noraut Poker / Draw Poker Hi-Lo HW. - -TODO: -- Understand how the 6840PTM hooks up, needed to let it work properly; -- I/Os; -- sound; + TODO: + - Understand how the 6840PTM hooks up, needed to let it work properly; + - I/Os; + - sound; =============================================================================================================== -Bought as "old poker game by videotronics early 80's" + Bought as "old poker game by videotronics early 80's" -Scratched on the CPU board SN1069 -Scratched on the CPU board SN1069 + Scratched on the CPU board SN1069 + Scratched on the CPU board SN1069 -CPU board -.0 2716 stickered DRAWPKR2 located top left - 8-F - REV A + CPU board -.1 2716 stickered DRAWPKR2 located next to .0 - 0-7 - REV A + .0 2716 stickered DRAWPKR2 8-F REV A located top left + .1 2716 stickered DRAWPKR2 0-7 REV A located next to .0 -ROM board -Top of board left to right -.R0 2716 stickered RA - 0-7 + ROM board -.R1 2716 stickered RA - 8-F + Top of board left to right -.R2 2716 stickered BA - 0-7 + .R0 2716 stickered RA 0-7 + .R1 2716 stickered RA 8-F + .R2 2716 stickered BA 0-7 + .R3 2716 stickered BA 8-F + .R4 2716 stickered GA 0-7 + .R5 2716 stickered GA 8-F -.R3 2716 stickered BA - 8-F + Below top row left to right -.R4 2716 stickered GA - 0-7 + .R6 2716 stickered RB 0-7 + .R7 2716 stickered RB 8-F + .R8 2716 stickered BB 0-7 + .R9 2716 stickered BB 8-F + .R10 2716 stickered GB 0-7 + .R11 2716 stickered GB 8-F -.R5 2716 stickered GA - 8-F + ROM data showed cards - -Below top row left to right -.R6 2716 stickered RB - 0-7 - -.R7 2716 stickered RB - 8-F - -.R8 2716 stickered BB - 0-7 - -.R9 2716 stickered BB - 8-F - -.R10 2716 stickered GB - 0-7 - -.R11 2716 stickered GB - 8-F - -ROM data showed cards - -6809 cpu -4.000Mhz crystal -MC6840P -mm74c920J/mmc6551j-9 x2 + 6809 CPU + 4.000 Mhz crystal + MC6840P + mm74c920J/mmc6551j-9 x2 ************************************************************************************************************** -- Added 5-Aces Poker (Roberto Fresca) + - Added 5-Aces Poker (Roberto Fresca) -.1 is closest to the connector -.7 is closest to the cpu + .1 is closest to the connector + .7 is closest to the cpu -Etched in copper on top by .1 eprom 6000 + Etched in copper on top by .1 eprom 6000 -.1 2732 handwritten sticker GJOK1 -.2 2732 handwritten sticker GJOK2 -.3 2732 handwritten sticker BJOK1 -.4 2732 handwritten sticker BJOK2 -.5 2732 handwritten sticker RJOK1 -.6 2732 handwritten sticker RJOK2 -.7 2764 handwritten sticker 688C + .1 2732 handwritten sticker GJOK1 + .2 2732 handwritten sticker GJOK2 + .3 2732 handwritten sticker BJOK1 + .4 2732 handwritten sticker BJOK2 + .5 2732 handwritten sticker RJOK1 + .6 2732 handwritten sticker RJOK2 + .7 2764 handwritten sticker 688C + 4 MHz crystal + 6809 + MC6840P + nmc6514-9 x2 + nm23114 x2 -4 Mhz crystal -6809 -MC6840P -nmc6514-9 x2 -nm23114 x2 - -16 pin chip marked 74166F 7745 - SA2889-0697 - stamped ETC + 16 pin chip marked 74166F 7745 + SA2889-0697 + stamped ETC **************************************************************************************************************/ @@ -727,5 +701,6 @@ ROM_START( 5acespkr ) ROM_END -GAME( 198?, vpoker, 0, vpoker, vpoker, driver_device, 0, ROT0, "Videotronics", "Videotronics Poker", GAME_NOT_WORKING | GAME_NO_SOUND ) -GAME( 198?, 5acespkr, 0, vpoker, 5acespkr, driver_device, 0, ROT0, "", "5-Aces Poker", GAME_NOT_WORKING | GAME_NO_SOUND ) +/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS... */ +GAME( 198?, vpoker, 0, vpoker, vpoker, driver_device, 0, ROT0, "Videotronics", "Videotronics Poker", GAME_NOT_WORKING | GAME_NO_SOUND ) +GAME( 198?, 5acespkr, 0, vpoker, 5acespkr, driver_device, 0, ROT0, "", "5-Aces Poker", GAME_NOT_WORKING | GAME_NO_SOUND )