From 8e09bd59fa9779be754c641100620b6e6e0940d4 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Wed, 18 Jan 2012 18:13:08 +0000 Subject: [PATCH] New NOT WORKING game -------------------- Popo Bear [R. Mucciarelli, N. Francfort, Smitdogg, The Dumping Union] --- .gitattributes | 1 + src/mame/drivers/popobear.c | 96 +++++++++++++++++++++++++++++++++++++ src/mame/mame.lst | 4 +- src/mame/mame.mak | 1 + 4 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 src/mame/drivers/popobear.c diff --git a/.gitattributes b/.gitattributes index 990faf0dcc3..8189f237d70 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2663,6 +2663,7 @@ src/mame/drivers/poo.c svneol=native#text/plain src/mame/drivers/poolshrk.c svneol=native#text/plain src/mame/drivers/pooyan.c svneol=native#text/plain src/mame/drivers/popeye.c svneol=native#text/plain +src/mame/drivers/popobear.c svneol=native#text/plain src/mame/drivers/popper.c svneol=native#text/plain src/mame/drivers/portrait.c svneol=native#text/plain src/mame/drivers/powerbal.c svneol=native#text/plain diff --git a/src/mame/drivers/popobear.c b/src/mame/drivers/popobear.c new file mode 100644 index 00000000000..f93808de0b3 --- /dev/null +++ b/src/mame/drivers/popobear.c @@ -0,0 +1,96 @@ +/* Popo Bear */ + + +#include "emu.h" +#include "cpu/m68000/m68000.h" +#include "sound/okim6295.h" + + +class popobear_state : public driver_device +{ +public: + popobear_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this,"maincpu") + { } + + required_device m_maincpu; +}; + + + +static ADDRESS_MAP_START( popobear_mem, AS_PROGRAM, 16 ) + AM_RANGE(0x000000, 0x03ffff) AM_ROM +ADDRESS_MAP_END + +static INPUT_PORTS_START( popobear ) +INPUT_PORTS_END + + +static const gfx_layout tilelayout = +{ + 8,8, + RGN_FRAC(1,2), + 8, + {0,1,2,3, RGN_FRAC(1,2)+0,RGN_FRAC(1,2)+1,RGN_FRAC(1,2)+2,RGN_FRAC(1,2)+3 }, + { 0, 4, 8, 12, 16,20, 24, 28 }, + { 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 }, + 8*32 +}; + +static GFXDECODE_START( popobear ) + GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 1 ) +GFXDECODE_END + + +SCREEN_UPDATE_IND16( popobear ) +{ + return 0; +} + +VIDEO_START(popobear) +{ + +} + +static MACHINE_CONFIG_START( popobear, popobear_state ) + MCFG_CPU_ADD("maincpu", M68000, 10000000 ) + MCFG_CPU_PROGRAM_MAP(popobear_mem) + + MCFG_SCREEN_ADD("screen", RASTER) + MCFG_SCREEN_REFRESH_RATE(60) + MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ + MCFG_SCREEN_UPDATE_STATIC(popobear) + + MCFG_GFXDECODE(popobear) + + MCFG_SCREEN_SIZE(64*8, 32*8) + MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 30*8-1) + MCFG_PALETTE_LENGTH(256) + + MCFG_VIDEO_START(popobear) + + MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") + + MCFG_OKIM6295_ADD("oki", 1000000, OKIM6295_PIN7_LOW) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50) +MACHINE_CONFIG_END + + +ROM_START( popobear ) + ROM_REGION( 0x400000, "maincpu", 0 ) /* 68000 Code */ + ROM_LOAD16_BYTE( "popobear_en-a-301_1.6.u3", 0x000001, 0x20000, CRC(b934adf6) SHA1(93431c7a19af812b549aad35cc1176a81805ffab) ) + ROM_LOAD16_BYTE( "popobear_en-a-401_1.6.u4", 0x000000, 0x20000, CRC(0568af9c) SHA1(920531dbc4bbde2d1db062bd5c48b97dd50b7185) ) + + ROM_REGION( 0x400000, "gfx1", 0 ) /* tiles */ + ROM_LOAD16_BYTE( "popobear_en-a-501.u5", 0x000000, 0x100000, CRC(185901a9) SHA1(7ff82b5751645df53435eaa66edce589684cc5c7) ) + ROM_LOAD16_BYTE( "popobear_en-a-601.u6", 0x000001, 0x100000, CRC(84fa9f3f) SHA1(34dd7873f88b0dae5fb81fe84e82d2b6b49f7332) ) + ROM_LOAD16_BYTE( "popobear_en-a-701.u7", 0x200000, 0x100000, CRC(45eba6d0) SHA1(0278602ed57ac45040619d590e6cc85e2cfeed31) ) + ROM_LOAD16_BYTE( "popobear_en-a-801.u8", 0x200001, 0x100000, CRC(2760f2e6) SHA1(58af59f486c9df930f7c124f89154f8f389a5bd7) ) + + ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ + ROM_LOAD( "popobear_ta-a-901.u9", 0x00000, 0x40000, CRC(f1e94926) SHA1(f4d6f5b5811d90d0069f6efbb44d725ff0d07e1c) ) +ROM_END + +GAME( 199?, popobear, 0, popobear, popobear, 0, ROT0, "BMC", "PoPo Bear", GAME_NOT_WORKING | GAME_IS_SKELETON ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index e6ec6597c6f..d8ac0b4aab2 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -10164,6 +10164,7 @@ pbchmp95 // (c) 1995 Veltmeijer Automaten cardline // (c) 199? Veltmeijer bmcbowl // (c) 1994 BMC koftball // (c) 1995 BMC +popobear // (c) 2000 BMC mpoker // (c) 1983 Merit pitboss // (c) 1983 Merit pitbossa // (c) 1983 Merit @@ -10852,6 +10853,7 @@ lucky8 // (c) 1989 Wing Co. Ltd lucky8a // (c) 1989 Wing Co. Ltd lucky8b // (c) 1989 Wing Co. Ltd luckgrln // (c) 1991 Wing Co. Ltd +7smash // (c) 1993 Sovic luckylad // (c) 1985 Wing Co. Ltd bingowng // (c) 1993 Wing Co. Ltd bingownga // (c) 1993 Wing Co. Ltd @@ -20576,5 +20578,3 @@ saiyukip tmspoker tonton kas89 - -7smash diff --git a/src/mame/mame.mak b/src/mame/mame.mak index e6a21fe92f8..de1290f8023 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -524,6 +524,7 @@ $(MAMEOBJ)/bfm.a: \ $(MAMEOBJ)/bmc.a: \ $(DRIVERS)/bmcbowl.o \ $(DRIVERS)/koftball.o \ + $(DRIVERS)/popobear.o \ $(MAMEOBJ)/capcom.a: \ $(DRIVERS)/1942.o $(VIDEO)/1942.o \