summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-04-27 19:32:25 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2018-04-27 19:32:25 +0200
commitbbbd4d03de5e00d9f96acfb7d2794a8b356634ce (patch)
treed9e1296e5d78f61d665585eecf1be143a237d7d8
parent6cac80efa498904aa5fc87f042ea790621f9ebf8 (diff)
new working clone
--------------------------- Naughty Boy (bootleg, set 2) [f205v, Matteo]
-rw-r--r--src/mame/drivers/naughtyb.cpp55
-rw-r--r--src/mame/includes/naughtyb.h20
-rw-r--r--src/mame/mame.lst1
-rw-r--r--src/mame/video/naughtyb.cpp6
4 files changed, 59 insertions, 23 deletions
diff --git a/src/mame/drivers/naughtyb.cpp b/src/mame/drivers/naughtyb.cpp
index e258b227f67..ddb5f65ceeb 100644
--- a/src/mame/drivers/naughtyb.cpp
+++ b/src/mame/drivers/naughtyb.cpp
@@ -544,6 +544,34 @@ ROM_START( naughtyba )
ROM_LOAD( "6301-1.64", 0x0100, 0x0100, CRC(909107d4) SHA1(138ace7845424bc3ca86b0889be634943c8c2d19) ) /* palette high bits */
ROM_END
+ROM_START( naughtybb )
+ ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_LOAD( "1.bin", 0x0000, 0x0800, CRC(31d27637) SHA1(c9940dae8f715109faab56067e5dfc03b91271e2) )
+ ROM_LOAD( "2.bin", 0x0800, 0x0800, CRC(a24674b4) SHA1(2d93981c2f0dea190745cbc3926b012cfd561ec3) )
+ ROM_LOAD( "3.bin", 0x1000, 0x0800, CRC(004d0ba7) SHA1(5c182fa6f65f7caa3459fcc5cdc3b7faa8b34769) )
+ ROM_LOAD( "4.bin", 0x1800, 0x0800, CRC(3c7bcac6) SHA1(ef291cd5b2f8a64999dc015e16d3ea479fefaf8f) )
+ ROM_LOAD( "5.bin", 0x2000, 0x0800, CRC(e282f1b8) SHA1(9eb7b2fed75cd23f3c90e445021f23648503c96f) )
+ ROM_LOAD( "6.bin", 0x2800, 0x0800, CRC(61178ff2) SHA1(2a7fb894e7fc5ec170d00d24300f1e23307f9687) )
+ ROM_LOAD( "7.bin", 0x3000, 0x0800, CRC(ba4079f0) SHA1(4e7afa8becc1ef3125933eaf558c331b73076b17) )
+ ROM_LOAD( "8.bin", 0x3800, 0x0800, CRC(17c3b6fb) SHA1(c01c8ae27f5b9be90778f7c459c5ba0dddf443ba) )
+
+ ROM_REGION( 0x2000, "gfx1", 0 )
+ ROM_LOAD( "105.bin", 0x0000, 0x0800, CRC(d692f9c7) SHA1(3573c518868690b140340d19f88c670026a6696d) )
+ ROM_LOAD( "106.bin", 0x0800, 0x0800, CRC(d3ba8b27) SHA1(0ff14b8b983ab75870fb19b64327070ccd0888d6) )
+ ROM_LOAD( "103.bin", 0x1000, 0x0800, CRC(c1669cd5) SHA1(9b4370ed54424e3615fa2e4d07cadae37ab8cd10) )
+ ROM_LOAD( "104.bin", 0x1800, 0x0800, CRC(eef2c8e5) SHA1(5077c4052342958ee26c25047704c62eed44eb89) )
+
+ ROM_REGION( 0x2000, "gfx2", 0 )
+ ROM_LOAD( "101.bin", 0x0000, 0x0800, CRC(75ec9710) SHA1(b41606930eff79ccf5bfcad01362251d7bab114a) )
+ ROM_LOAD( "102.bin", 0x0800, 0x0800, CRC(0802d460) SHA1(d44c31e162a3a19572fec886e6ebc3b8fb4614ea) )
+ ROM_LOAD( "99.bin", 0x1000, 0x0800, CRC(8c8db764) SHA1(2641a1b8bc30896293ebd9396e304ce5eb7eb705) )
+ ROM_LOAD( "100.bin", 0x1800, 0x0800, CRC(c97c97b9) SHA1(5da7fb378e85b6c9d5ab6e75544f1e64fae9997a) )
+
+ ROM_REGION( 0x0200, "proms", 0 )
+ ROM_LOAD( "am27s1.2", 0x0000, 0x0100, CRC(98ad89a1) SHA1(ddee7dcb003b66fbc7d6d6e90d499ed090c59227) ) /* palette low bits */
+ ROM_LOAD( "am27s1.1", 0x0100, 0x0100, CRC(909107d4) SHA1(138ace7845424bc3ca86b0889be634943c8c2d19) ) /* palette high bits */
+ROM_END
+
ROM_START( naughtybc )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "nb1ic30", 0x0000, 0x0800, CRC(3f482fa3) SHA1(5c670ad37be5bed12a65b8b02330525cfe5ae303) )
@@ -647,7 +675,7 @@ All eproms are 2716
Note
-This romset comes from a bootleg pcb.It's a Naughty Boy conversion.
+This romset comes from a bootleg pcb. It's a Naughty Boy conversion.
*/
ROM_START( popflamen )
@@ -873,15 +901,16 @@ DRIVER_INIT_MEMBER(naughtyb_state,trvmstr)
}
-GAME( 1982, naughtyb, 0, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Naughty Boy", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, naughtyba,naughtyb, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "bootleg", "Naughty Boy (bootleg)", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, naughtybc,naughtyb, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco (Cinematronics license)", "Naughty Boy (Cinematronics)", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, popflame, 0, popflame, naughtyb, naughtyb_state, popflame, ROT90, "Jaleco", "Pop Flamer (protected)", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, popflamea,popflame, popflame, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (not protected)", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, popflameb,popflame, popflame, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (hack?)", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, popflamen,popflame, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (bootleg on Naughty Boy PCB)", MACHINE_SUPPORTS_SAVE )
-GAME( 1985, trvmstr, 0, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 1)", MACHINE_SUPPORTS_SAVE )
-GAME( 1985, trvmstra, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 2)", MACHINE_SUPPORTS_SAVE )
-GAME( 1985, trvmstrb, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 3)", MACHINE_SUPPORTS_SAVE )
-GAME( 1985, trvmstrc, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 4)", MACHINE_SUPPORTS_SAVE )
-GAME( 1985, trvgns, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "bootleg", "Trivia Genius", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, naughtyb, 0, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Naughty Boy", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, naughtyba, naughtyb, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "bootleg", "Naughty Boy (bootleg, set 1)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, naughtybb, naughtyb, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "bootleg", "Naughty Boy (bootleg, set 2)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, naughtybc, naughtyb, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco (Cinematronics license)", "Naughty Boy (Cinematronics)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, popflame, 0, popflame, naughtyb, naughtyb_state, popflame, ROT90, "Jaleco", "Pop Flamer (protected)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, popflamea, popflame, popflame, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (not protected)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, popflameb, popflame, popflame, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (hack?)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, popflamen, popflame, naughtyb, naughtyb, naughtyb_state, 0, ROT90, "Jaleco", "Pop Flamer (bootleg on Naughty Boy PCB)", MACHINE_SUPPORTS_SAVE )
+GAME( 1985, trvmstr, 0, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 1)", MACHINE_SUPPORTS_SAVE )
+GAME( 1985, trvmstra, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 2)", MACHINE_SUPPORTS_SAVE )
+GAME( 1985, trvmstrb, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 3)", MACHINE_SUPPORTS_SAVE )
+GAME( 1985, trvmstrc, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 4)", MACHINE_SUPPORTS_SAVE )
+GAME( 1985, trvgns, trvmstr, naughtyb, trvmstr, naughtyb_state, trvmstr, ROT90, "bootleg", "Trivia Genius", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/includes/naughtyb.h b/src/mame/includes/naughtyb.h
index 69fc8f52976..3631ae67bf7 100644
--- a/src/mame/includes/naughtyb.h
+++ b/src/mame/includes/naughtyb.h
@@ -18,6 +18,18 @@ public:
m_videoram2(*this, "videoram2"),
m_scrollreg(*this, "scrollreg") { }
+ void popflame(machine_config &config);
+ void naughtyb(machine_config &config);
+
+ DECLARE_DRIVER_INIT(trvmstr);
+ DECLARE_DRIVER_INIT(popflame);
+
+ DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
+
+protected:
+ virtual void video_start() override;
+
+private:
required_device<cpu_device> m_maincpu;
optional_device<naughtyb_sound_device> m_naughtyb_custom;
optional_device<popflame_sound_device> m_popflame_custom;
@@ -47,16 +59,10 @@ public:
DECLARE_WRITE8_MEMBER(naughtyb_videoreg_w);
DECLARE_WRITE8_MEMBER(popflame_videoreg_w);
- DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
-
- DECLARE_DRIVER_INIT(trvmstr);
- DECLARE_DRIVER_INIT(popflame);
- virtual void video_start() override;
DECLARE_PALETTE_INIT(naughtyb);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void popflame(machine_config &config);
- void naughtyb(machine_config &config);
+
void naughtyb_map(address_map &map);
void popflame_map(address_map &map);
};
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 5572b885184..423534f3160 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -29405,6 +29405,7 @@ nascom2c // 1980 Nascom 2 (CP/M)
@source:naughtyb.cpp
naughtyb // (c) 1982 Jaleco
naughtyba // bootleg
+naughtybb // bootleg
naughtybc // (c) 1982 Jaleco + Cinematronics
popflame // (c) 1982 Jaleco
popflamea // (c) 1982 Jaleco
diff --git a/src/mame/video/naughtyb.cpp b/src/mame/video/naughtyb.cpp
index 5b395f64a65..c5b0fb924eb 100644
--- a/src/mame/video/naughtyb.cpp
+++ b/src/mame/video/naughtyb.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Brad Oliver,Sal and John Bugliarisi,Paul Priest
/***************************************************************************
- video.c
+ naughtyb.cpp
Functions to emulate the video hardware of the machine.
@@ -154,11 +154,11 @@ WRITE8_MEMBER(naughtyb_state::popflame_videoreg_w)
Each column in the virtual screen is 64 (40h) characters high.
Thus, column 27 is stored in VRAm at address 0-3fh,
column 26 is stored at 40-7f, and so on.
- This illustration shows the horizonal scroll register set to zero,
+ This illustration shows the horizontal scroll register set to zero,
so the topmost 32 rows of the virtual screen are shown.
The following screen-to-memory mapping. This is shown from player's viewpoint,
- which with the CRT rotated 90 degrees CCW. This example shows the horizonal
+ which with the CRT rotated 90 degrees CCW. This example shows the horizontal
scroll register set to zero.