mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
Merge pull request #343 from kazblox/master
seperate Space Warp into a skeleton driver for further notice
This commit is contained in:
commit
05f19a36ec
@ -3535,6 +3535,7 @@ files {
|
||||
MAME_DIR .. "src/mame/drivers/slotcarn.c",
|
||||
MAME_DIR .. "src/mame/drivers/smsmcorp.c",
|
||||
MAME_DIR .. "src/mame/drivers/sothello.c",
|
||||
MAME_DIR .. "src/mame/drivers/spcwarp.c",
|
||||
MAME_DIR .. "src/mame/drivers/splus.c",
|
||||
MAME_DIR .. "src/mame/drivers/spool99.c",
|
||||
MAME_DIR .. "src/mame/drivers/sprcros2.c",
|
||||
|
@ -278,7 +278,6 @@ ckongis //
|
||||
porter // 1982 bootleg (Arcade TV Game List - P.98, Left, 15 from bottom)
|
||||
tdpgal // 1983 Design Labs / Thomas Automatics
|
||||
guttangt
|
||||
spcwarp // 1983 Century Electronics UK LTD
|
||||
|
||||
// Has some similarities with Moon Cresta but Board is very different
|
||||
rockclim // (c)1981 Taito
|
||||
@ -1628,6 +1627,9 @@ huncholy // (c) 1984 Seatongrove (c) CVS
|
||||
quasar // (c) 1980 Zelco Games Italy
|
||||
quasara // (c) 1980 Zelco Games Italy
|
||||
|
||||
// Unknown Century Electronics hardware (CVS?)
|
||||
spcwarp // 1983 Century Electronics UK LTD
|
||||
|
||||
// Midway "Astrocade" games
|
||||
seawolf2 // (c) 1978
|
||||
spacezap // (c) 1980
|
||||
|
@ -54,6 +54,9 @@ Manual and Schematic for Galaxia can be found at:
|
||||
http://www.zzzaccaria.com/manuals/SuperGalaxiansTechnicalManual.zip
|
||||
http://www.zzzaccaria.com/manuals/GalaxiaSchematics.zip
|
||||
|
||||
The manual for Astro Wars can also be found at:
|
||||
http://www.opdenkelder.com/Astrowars_manual.zip
|
||||
|
||||
HW has many similarities with quasar.c / cvs.c / zac2650.c
|
||||
---
|
||||
|
||||
|
@ -6750,25 +6750,6 @@ ROM_START( galaxian )
|
||||
ROM_LOAD( "6l.bpr", 0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
|
||||
ROM_END
|
||||
|
||||
/* Suspected of being Space Warp - ASCII shows "COPYRIGHT 1983", "CENTURY ELECTRONICS UK LTD" in swarpt7f.bin */
|
||||
/* S2650 CPU, not Z80. gfx is like cosmos(cvs.c) */
|
||||
ROM_START( spcwarp )
|
||||
ROM_REGION( 0x4000, "maincpu", 0 )
|
||||
ROM_LOAD( "swarpt7f.bin", 0x0000, 0x1000, CRC(04d744e3) SHA1(db8218510052a05670cb0b722b73d3f10464788c) )
|
||||
ROM_LOAD( "swarpt7h.bin", 0x1000, 0x1000, CRC(34a36536) SHA1(bc438515618683b2a7c29637871ee00ed95ad7f8) )
|
||||
/* ROMCMP reports "BADADDR xxxxxx-xxxxx". Observed data sequence repeated every 32 bytes */
|
||||
ROM_LOAD( "swarpt7m.bin", 0x2000, 0x1000, BAD_DUMP CRC(a2dff6c8) SHA1(d1c72848450dc5ff386dc94a26e4bf704ccc7121) )
|
||||
/* Stripped "repaired" rom. Was original rom supposed to be 0x1000 or 0x800? */
|
||||
// ROM_LOAD( "swarpt7m-repair.bin", 0x2000, 0x0800, CRC(109f95cf) SHA1(d99171ffd6639fec28966edaf7cce3a4df5e948d) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "swarpb1h.bin", 0x0000, 0x0800, CRC(6ee3b5f7) SHA1(8150f2ecd59d3a165c0541b550664c56d049edd5) )
|
||||
ROM_LOAD( "swarpb1k.bin", 0x0800, 0x0800, CRC(da4cee6b) SHA1(28b91381658f598fa62049489beee443232825c6) )
|
||||
|
||||
ROM_REGION( 0x0020, "proms", 0 ) /* unknown - using Galaxian's prom for now */
|
||||
ROM_LOAD( "6l.bpr", 0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( galaxiana )
|
||||
ROM_REGION( 0x4000, "maincpu", 0 )
|
||||
ROM_LOAD( "7f.bin", 0x0000, 0x1000, CRC(4335b1de) SHA1(e41e3d90dac738cf71377f3b476ec67b14dee27a) )
|
||||
@ -10826,7 +10807,6 @@ GAME( 1980, luctoday, 0, galaxian, luctoday, galaxian_state, galax
|
||||
GAME( 19??, chewing, luctoday, galaxian, luctoday, galaxian_state, galaxian, ROT90, "<unknown>", "Chewing Gum", MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 1982, catacomb, 0, galaxian, catacomb, galaxian_state, galaxian, ROT90, "MTM Games", "Catacomb", MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 19??, omega, theend, galaxian, omega, galaxian_state, galaxian, ROT270, "bootleg?", "Omega", MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 1983, spcwarp, 0, galaxian, galaxian, galaxian_state, galaxian, ROT90, "Century Electronics", "Space Warp?", MACHINE_NOT_WORKING | MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE )
|
||||
|
||||
/* these games require the coin lockout mechanism to be disabled */
|
||||
GAME( 1981, warofbug, 0, galaxian, warofbug, galaxian_state, nolock, ROT90, "Armenia / Food and Fun Corp", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze", MACHINE_SUPPORTS_SAVE )
|
||||
|
84
src/mame/drivers/spcwarp.c
Normal file
84
src/mame/drivers/spcwarp.c
Normal file
@ -0,0 +1,84 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:kazblox
|
||||
/*
|
||||
Space Warp(?)
|
||||
it's completely unknown if this is actually Space Warp but it contains Galaxian-like GFX
|
||||
ASCII shows "COPYRIGHT 1983", "CENTURY ELECTRONICS UK LTD" in swarpt7f.bin
|
||||
gfx is like cosmos according to hap(cvs.c)
|
||||
|
||||
9/25/2015 - Initial commit of skeleton driver
|
||||
|
||||
TODO:
|
||||
-merge with cvs_state
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/s2650/s2650.h"
|
||||
|
||||
class spcwarp_state : public driver_device
|
||||
{
|
||||
public:
|
||||
spcwarp_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
{ }
|
||||
|
||||
virtual void machine_start();
|
||||
virtual void machine_reset();
|
||||
required_device<cpu_device> m_maincpu;
|
||||
};
|
||||
|
||||
static ADDRESS_MAP_START( spcwarp_map, AS_PROGRAM, 8, spcwarp_state )
|
||||
AM_RANGE(0x0000, 0x2fff) AM_ROM
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( spcwarp )
|
||||
//PORT_START("SENSE")
|
||||
//PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen")
|
||||
INPUT_PORTS_END
|
||||
|
||||
void spcwarp_state::machine_start()
|
||||
{
|
||||
}
|
||||
|
||||
void spcwarp_state::machine_reset()
|
||||
{
|
||||
}
|
||||
|
||||
static MACHINE_CONFIG_START( spcwarp, spcwarp_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", S2650, XTAL_14_31818MHz/16) // clock is a complete guess
|
||||
MCFG_CPU_PROGRAM_MAP(spcwarp_map)
|
||||
//MCFG_CPU_VBLANK_INT_DRIVER("screen", spcwarp_state, spcwarp_main_cpu_interrupt) // ???
|
||||
//MCFG_S2650_FLAG_HANDLER(WRITELINE(spcwarp_state, write_s2650_flag)) // ???
|
||||
|
||||
/* TODO video hardware */
|
||||
/* copypaste from cvs.c */
|
||||
//MCFG_SCREEN_ADD("screen", RASTER)
|
||||
//MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_ALWAYS_UPDATE)
|
||||
//MCFG_SCREEN_REFRESH_RATE(50)
|
||||
//MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
|
||||
//MCFG_SCREEN_SIZE(256, 256)
|
||||
//MCFG_SCREEN_VISIBLE_AREA(0*8, 30*8-1, 2*8, 32*8-1)
|
||||
|
||||
/* TODO audio hardware */
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
ROM_START( spcwarp )
|
||||
ROM_REGION( 0x4000, "maincpu", 0 )
|
||||
ROM_LOAD( "swarpt7f.bin", 0x0000, 0x1000, CRC(04d744e3) SHA1(db8218510052a05670cb0b722b73d3f10464788c) )
|
||||
ROM_LOAD( "swarpt7h.bin", 0x1000, 0x1000, CRC(34a36536) SHA1(bc438515618683b2a7c29637871ee00ed95ad7f8) )
|
||||
/* ROMCMP reports "BADADDR xxxxxx-xxxxx". Observed data sequence repeated every 32 bytes */
|
||||
ROM_LOAD( "swarpt7m.bin", 0x2000, 0x1000, BAD_DUMP CRC(a2dff6c8) SHA1(d1c72848450dc5ff386dc94a26e4bf704ccc7121) )
|
||||
/* Stripped "repaired" rom. Was original rom supposed to be 0x1000 or 0x800? */
|
||||
// ROM_LOAD( "swarpt7m-repair.bin", 0x2000, 0x0800, CRC(109f95cf) SHA1(d99171ffd6639fec28966edaf7cce3a4df5e948d) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "swarpb1h.bin", 0x0000, 0x0800, CRC(6ee3b5f7) SHA1(8150f2ecd59d3a165c0541b550664c56d049edd5) )
|
||||
ROM_LOAD( "swarpb1k.bin", 0x0800, 0x0800, CRC(da4cee6b) SHA1(28b91381658f598fa62049489beee443232825c6) )
|
||||
ROM_END
|
||||
|
||||
GAME( 1983, spcwarp, 0, spcwarp, spcwarp, driver_device, 0, ROT90, "Century Electronics", "Space Warp?", MACHINE_IS_SKELETON )
|
Loading…
Reference in New Issue
Block a user