From 0708ba2cd64c7a064346606b95ffa68bd7912cae Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 14 Jan 2009 05:43:57 +0000 Subject: [PATCH] NON-WORKING GAMES ----------------- 3 Super 8 (Italy) [David Haywood] New Champion Skill (v100n) [David Haywood] Buster [David Haywood] --- .gitattributes | 2 + src/mame/drivers/3super8.c | 122 +++++++++++++++++++++++++++++++++++++ src/mame/drivers/buster.c | 121 ++++++++++++++++++++++++++++++++++++ src/mame/mame.mak | 3 + src/mame/mamedriv.c | 5 ++ 5 files changed, 253 insertions(+) create mode 100644 src/mame/drivers/3super8.c create mode 100644 src/mame/drivers/buster.c diff --git a/.gitattributes b/.gitattributes index f71360633cd..f2c2d0ad876 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1201,6 +1201,7 @@ src/mame/drivers/1945kiii.c svneol=native#text/plain src/mame/drivers/20pacgal.c svneol=native#text/plain src/mame/drivers/2mindril.c svneol=native#text/plain src/mame/drivers/39in1.c svneol=native#text/plain +src/mame/drivers/3super8.c svneol=native#text/plain src/mame/drivers/40love.c svneol=native#text/plain src/mame/drivers/4enraya.c svneol=native#text/plain src/mame/drivers/4roses.c svneol=native#text/plain @@ -1305,6 +1306,7 @@ src/mame/drivers/btime.c svneol=native#text/plain src/mame/drivers/btoads.c svneol=native#text/plain src/mame/drivers/bublbobl.c svneol=native#text/plain src/mame/drivers/buggychl.c svneol=native#text/plain +src/mame/drivers/buster.c svneol=native#text/plain src/mame/drivers/bwidow.c svneol=native#text/plain src/mame/drivers/bwing.c svneol=native#text/plain src/mame/drivers/bzone.c svneol=native#text/plain diff --git a/src/mame/drivers/3super8.c b/src/mame/drivers/3super8.c new file mode 100644 index 00000000000..055fc421cf2 --- /dev/null +++ b/src/mame/drivers/3super8.c @@ -0,0 +1,122 @@ +/* + +3 Super 8 + +this dump is bad + + +Produttore ?Italy? +N.revisione +CPU + +1x 24mhz osc +2x fpga +1x z840006 +1x PIC16c65a-20/p +1x 6295 oki + +ROMs + +Note + +4x 8 dipswitch +1x 4 dispwitch + +*/ + +#include "driver.h" +#include "cpu/z80/z80.h" +#include "sound/okim6295.h" + +static VIDEO_START(3super8) +{ + +} + +static VIDEO_UPDATE(3super8) +{ + return 0; +} + +static ADDRESS_MAP_START( map, ADDRESS_SPACE_PROGRAM, 8 ) + AM_RANGE(0x0000, 0x7fff) AM_ROM +ADDRESS_MAP_END + + +static INPUT_PORTS_START( 3super8 ) +INPUT_PORTS_END + + +static const gfx_layout tiles8x8_layout = +{ + 8,8, + RGN_FRAC(1,3), + 6, + { RGN_FRAC(2,3)+0, RGN_FRAC(2,3)+2*8, RGN_FRAC(1,3)+0, RGN_FRAC(1,3)+2*8,RGN_FRAC(0,3)+0, RGN_FRAC(0,3)+2*8 }, + { 0, 1,2,3,4,5,6,7 }, + { 0*8, 1*8, 4*8, 5*8, 8*8, 9*8, 12*8, 13*8,}, + 16*8 +}; + +static GFXDECODE_START( 3super8 ) + GFXDECODE_ENTRY( "gfx", 0, tiles8x8_layout, 0, 16 ) +GFXDECODE_END + + + +static MACHINE_DRIVER_START( 3super8 ) + /* basic machine hardware */ + MDRV_CPU_ADD("main", Z80,24000000/4) /* 6 MHz */ + MDRV_CPU_PROGRAM_MAP(0,map) + //MDRV_CPU_VBLANK_INT("main", irq0_line_hold) + + /* video hardware */ + MDRV_SCREEN_ADD("main", RASTER) + MDRV_SCREEN_REFRESH_RATE(60) + MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) + MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) + MDRV_SCREEN_SIZE(512, 256) + MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-0-1) + + MDRV_GFXDECODE(3super8) + MDRV_PALETTE_LENGTH(0x100) + + MDRV_VIDEO_START(3super8) + MDRV_VIDEO_UPDATE(3super8) + + /* sound hardware */ + MDRV_SPEAKER_STANDARD_MONO("mono") + + MDRV_SOUND_ADD("oki", OKIM6295, 1056000) + MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 not verified + MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) +MACHINE_DRIVER_END + + + +// all gfx / sound roms are bad. they're definitely meant to have different data +// in each half, and maybe even be twice the size. +// in all cases the first half is missing (the sample table in the samples rom for example) +//1.bin 1ST AND 2ND HALF IDENTICAL +//2.bin 1ST AND 2ND HALF IDENTICAL +//3.bin 1ST AND 2ND HALF IDENTICAL +//sound.bin 1ST AND 2ND HALF IDENTICAL + + +ROM_START( 3super8 ) + ROM_REGION( 0x20000, "main", 0 ) + ROM_LOAD( "prgrom.bin", 0x00000, 0x20000, CRC(37c85dfe) SHA1(56bd2fb859b17dda1e675a385b6bcd6867ecceb0) ) + + ROM_REGION( 0x1000, "pic", 0 ) + ROM_LOAD( "pic16c65a-20-p", 0x0000, 0x1000, NO_DUMP ) + + ROM_REGION( 0xc0000, "gfx", 0 ) + ROM_LOAD( "1.bin", 0x00000, 0x40000, BAD_DUMP CRC(d9d3e21e) SHA1(2f3f07ca427d9f56f0ff143d15d95cbf15255e33) ) + ROM_LOAD( "2.bin", 0x40000, 0x40000, BAD_DUMP CRC(fbb50ab1) SHA1(50a7ef9219c38d59117c510fe6d53fb3ba1fa456) ) + ROM_LOAD( "3.bin", 0x80000, 0x40000, BAD_DUMP CRC(545aa4e6) SHA1(3348d4b692900c9e9cd4a52b20922a84e596cd35) ) + + ROM_REGION( 0x40000, "oki", 0 ) + ROM_LOAD( "sound.bin", 0x00000, 0x40000, BAD_DUMP CRC(230b31c3) SHA1(38c107325d3a4e9781912078b1317dc9ba3e1ced) ) +ROM_END + +GAME( 199?, 3super8, 0, 3super8, 3super8, 0, ROT0, "unknown", "3 Super 8 (Italy)", GAME_NOT_WORKING|GAME_NO_SOUND ) diff --git a/src/mame/drivers/buster.c b/src/mame/drivers/buster.c new file mode 100644 index 00000000000..96b26f51895 --- /dev/null +++ b/src/mame/drivers/buster.c @@ -0,0 +1,121 @@ +/* + +Buster + +Video Fruit Machine + +*/ + +#include "driver.h" +#include "cpu/z80/z80.h" +#include "sound/ay8910.h" + +static UINT8 *buster_rom; +static UINT8 *buster_vram; + +static VIDEO_START(buster) +{ + +} + +static VIDEO_UPDATE(buster) +{ + const gfx_element *gfx = screen->machine->gfx[0]; + int count = 0x0000; + + int y,x; + + + for (y=0;y<64;y++) + { + for (x=0;x<32;x++) + { + int tile = (buster_vram[count+1])|(buster_vram[count]<<8); + //int colour = tile>>12; + drawgfx(bitmap,gfx,tile,0,0,0,x*8,y*4,cliprect,TRANSPARENCY_NONE,0); + + count+=2; + } + } + return 0; +} + +static ADDRESS_MAP_START( mainmap, ADDRESS_SPACE_PROGRAM, 8 ) + AM_RANGE(0x0000, 0x3fff) AM_RAM AM_BASE(&buster_rom) + AM_RANGE(0x4000, 0x47ff) AM_RAM + AM_RANGE(0x5000, 0x5fff) AM_RAM AM_BASE(&buster_vram) +// AM_RANGE(0x6000, 0x6000) MC6845 address +// AM_RANGE(0x6001, 0x6001) MC6845 data + AM_RANGE(0x7000, 0xafff) AM_ROM +ADDRESS_MAP_END + + + +static INPUT_PORTS_START( buster ) +INPUT_PORTS_END + +static const gfx_layout tiles8x8_layout = +{ + 8,4, + RGN_FRAC(1,3), + 3, + { RGN_FRAC(0,3),RGN_FRAC(1,3),RGN_FRAC(2,3) }, + { 0,1,2,3,4,5,6,7 }, + { 0*8, 1*8, 2*8, 3*8 }, + 8*4 +}; + +static GFXDECODE_START( buster ) + GFXDECODE_ENTRY( "gfx1", 0, tiles8x8_layout, 0, 16 ) +GFXDECODE_END + +static MACHINE_DRIVER_START( buster ) + /* basic machine hardware */ + MDRV_CPU_ADD("main", Z80,8000000) /* ? MHz */ + MDRV_CPU_PROGRAM_MAP(mainmap,0) + MDRV_CPU_VBLANK_INT("main", irq0_line_hold) + + /* video hardware */ + MDRV_SCREEN_ADD("main", RASTER) + MDRV_SCREEN_REFRESH_RATE(60) + MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) + MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) + MDRV_SCREEN_SIZE(256, 256) + MDRV_SCREEN_VISIBLE_AREA(0, 256-1, 16, 256-16-1) + + MDRV_GFXDECODE(buster) + MDRV_PALETTE_LENGTH(0x100) + + MDRV_VIDEO_START(buster) + MDRV_VIDEO_UPDATE(buster) + + MDRV_SPEAKER_STANDARD_MONO("mono") + + MDRV_SOUND_ADD("ay", AY8910, 1500000/2) +// MDRV_SOUND_CONFIG(ay8910_config) + MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) +MACHINE_DRIVER_END + + +ROM_START( buster ) + ROM_REGION( 0x10000, "main", 0 ) + ROM_LOAD( "vf-1.bin", 0x00000, 0x1000, CRC(571c32fe) SHA1(a61a052a4caf4430be5c5377934295bb90bb903a) ) + ROM_LOAD( "vf-2.bin", 0x01000, 0x1000, CRC(fefe8783) SHA1(aed2bae4cf531dc994b50be9968fa5e10b61f2b8) ) + ROM_LOAD( "vf-3.bin", 0x02000, 0x1000, CRC(9dd9be43) SHA1(5319ef3b43236abd38138adef87a7701f91afd1d)) + ROM_LOAD( "vf-4.bin", 0x03000, 0x1000, CRC(90dd550b) SHA1(a0a26031aada35f6d6c4fa5af9b75e594d8039d0) ) + ROM_COPY( "main", 0x00000, 0x7000, 0x4000 ) + + ROM_REGION( 0x6000, "gfx1", 0 ) + ROM_LOAD( "b-red.bin", 0x00000, 0x2000, CRC(6e3ea232) SHA1(dcf76a1ee12517bd00c7b10aaeda0fa2fcec941e) ) + ROM_LOAD( "b-grn.bin", 0x02000, 0x2000, CRC(acdbb44f) SHA1(41f6a2d4a6b12f506588379f2ed3df48fbc8184e) ) + ROM_LOAD( "b-blu.bin", 0x04000, 0x2000, CRC(3b6bfe7b) SHA1(1888149a2ef85db59845d7e6e9227449f80c8f22) ) +ROM_END + +static DRIVER_INIT( buster ) +{ + UINT8 *ROM = memory_region(machine, "main"); +// vram = auto_malloc(0x2000); + memcpy(buster_rom, ROM, 0x4000); +} + +GAME( 1987, buster, 0, buster, buster, buster, ROT0, "Marian Electronics Ltd.", "Buster", GAME_NOT_WORKING|GAME_NO_SOUND ) diff --git a/src/mame/mame.mak b/src/mame/mame.mak index 66af229bf32..1021a494855 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -758,6 +758,7 @@ $(MAMEOBJ)/igs.a: \ $(DRIVERS)/igs017.o \ $(DRIVERS)/igs_m027.o \ $(DRIVERS)/igs_m68.o \ + $(DRIVERS)/igs_ncs.o \ $(DRIVERS)/iqblock.o $(VIDEO)/iqblock.o \ $(DRIVERS)/lordgun.o $(VIDEO)/lordgun.o \ $(DRIVERS)/pgm.o $(VIDEO)/pgm.o \ @@ -1516,6 +1517,7 @@ $(MAMEOBJ)/misc.a: \ $(DRIVERS)/39in1.o \ $(DRIVERS)/1945kiii.o \ $(DRIVERS)/2mindril.o \ + $(DRIVERS)/3super8.o \ $(DRIVERS)/4enraya.o $(VIDEO)/4enraya.o \ $(DRIVERS)/4roses.o \ $(DRIVERS)/acefruit.o \ @@ -1530,6 +1532,7 @@ $(MAMEOBJ)/misc.a: \ $(DRIVERS)/beaminv.o \ $(DRIVERS)/blackt96.o \ $(DRIVERS)/brasil.o \ + $(DRIVERS)/buster.o \ $(DRIVERS)/calomega.o $(VIDEO)/calomega.o \ $(DRIVERS)/carrera.o \ $(DRIVERS)/cave.o $(VIDEO)/cave.o \ diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index 78b98e46ef5..db93c87c668 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -7491,6 +7491,8 @@ Other Sun games DRIVER( slqz2 ) /* (c) 1998 */ DRIVER( sdmg2 ) /* (c) 1997 */ + DRIVER( igs_ncs ) /* (c) 2000 */ + DRIVER( bigd2 ) /* (c) 2000 */ DRIVER( sdwx ) /* (c) 2002 */ DRIVER( sddz ) /* (c) 200? */ @@ -8536,5 +8538,8 @@ Other Sun games DRIVER( ladylinr ) /* (c) 198? TAB Austria */ DRIVER( kkojnoli ) /* 198? south korean hack */ DRIVER( mtonic ) /* 198? (c) Tonic */ + + DRIVER( 3super8 ) /* unknown */ + DRIVER( buster ) /* (c) 1987 Marian Electronics Ltd. */ #endif /* DRIVER_RECURSIVE */