mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
New games added as NOT_WORKING
------------------------------ Double Crown [Kevin Eschbach]
This commit is contained in:
parent
13aa69968f
commit
adfcc76be2
4 changed files with 210 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -2569,6 +2569,7 @@ src/mame/drivers/darius.c svneol=native#text/plain
|
|||
src/mame/drivers/darkmist.c svneol=native#text/plain
|
||||
src/mame/drivers/darkseal.c svneol=native#text/plain
|
||||
src/mame/drivers/dassault.c svneol=native#text/plain
|
||||
src/mame/drivers/dblcrown.c svneol=native#text/plain
|
||||
src/mame/drivers/dblewing.c svneol=native#text/plain
|
||||
src/mame/drivers/dbz.c svneol=native#text/plain
|
||||
src/mame/drivers/dcheese.c svneol=native#text/plain
|
||||
|
|
207
src/mame/drivers/dblcrown.c
Normal file
207
src/mame/drivers/dblcrown.c
Normal file
|
@ -0,0 +1,207 @@
|
|||
/***************************************************************************
|
||||
Double Crown
|
||||
(C) 1994, or maybe 1995
|
||||
cards gambling game
|
||||
|
||||
dfinal.c ish, but newer?
|
||||
|
||||
|
||||
Excellent System
|
||||
boardlabel: ES-9411B
|
||||
|
||||
28.6363 xtal
|
||||
ES-9409 QFP is 208 pins.. for graphics only?
|
||||
Z0840006PSC Zilog z80, is rated 6.17 MHz
|
||||
OKI M82C55A-2
|
||||
65764H-5 .. 64kbit ram CMOS
|
||||
2 * N341256P-25 - CMOS SRAM 256K-BIT(32KX8)
|
||||
4 * dipsw 8pos
|
||||
YMZ284-D (ay8910, but without i/o ports)
|
||||
MAXIM MAX693ACPE is a "Microprocessor Supervisory Circuit", for watchdog? and for keeping nvram stable?
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
#define MAIN_CLOCK XTAL_28_63636MHz
|
||||
|
||||
class dblcrown_state : public driver_device
|
||||
{
|
||||
public:
|
||||
dblcrown_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
{ }
|
||||
|
||||
// devices
|
||||
required_device<cpu_device> m_maincpu;
|
||||
|
||||
// screen updates
|
||||
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
|
||||
protected:
|
||||
// driver_device overrides
|
||||
virtual void machine_start();
|
||||
virtual void machine_reset();
|
||||
|
||||
virtual void video_start();
|
||||
virtual void palette_init();
|
||||
};
|
||||
|
||||
void dblcrown_state::video_start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
UINT32 dblcrown_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( dblcrown_map, AS_PROGRAM, 8, dblcrown_state )
|
||||
AM_RANGE(0x0000, 0x7fff) AM_ROM
|
||||
AM_RANGE(0xa000, 0xb7ff) AM_RAM
|
||||
AM_RANGE(0xb800, 0xbfff) AM_RAM AM_SHARE("nvram")
|
||||
AM_RANGE(0xc000, 0xc3ff) AM_RAM
|
||||
AM_RANGE(0xc400, 0xc7ff) AM_RAM
|
||||
AM_RANGE(0xd000, 0xdfff) AM_RAM
|
||||
AM_RANGE(0xff00, 0xffff) AM_RAM //stack? sp not initialized?
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static ADDRESS_MAP_START( dblcrown_io, AS_IO, 8, dblcrown_state )
|
||||
ADDRESS_MAP_GLOBAL_MASK(0xff)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( dblcrown )
|
||||
/* dummy active high structure */
|
||||
PORT_START("SYSA")
|
||||
PORT_DIPNAME( 0x01, 0x00, "SYSA" )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||
|
||||
/* dummy active low structure */
|
||||
PORT_START("DSWA")
|
||||
PORT_DIPNAME( 0x01, 0x01, "DSWA" )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static const gfx_layout tiles16x8_layout =
|
||||
{
|
||||
8,8,
|
||||
RGN_FRAC(1,1),
|
||||
4,
|
||||
{ 0, 1, 2, 3 },
|
||||
{ 8, 0, 12, 4, 24, 16, 28, 20 },
|
||||
{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
|
||||
32*8
|
||||
};
|
||||
|
||||
static GFXDECODE_START( dblcrown )
|
||||
GFXDECODE_ENTRY( "gfx1", 0, tiles16x8_layout, 0, 16*4 )
|
||||
GFXDECODE_END
|
||||
|
||||
|
||||
|
||||
void dblcrown_state::machine_start()
|
||||
{
|
||||
}
|
||||
|
||||
void dblcrown_state::machine_reset()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void dblcrown_state::palette_init()
|
||||
{
|
||||
}
|
||||
|
||||
static MACHINE_CONFIG_START( dblcrown, dblcrown_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu",Z80,MAIN_CLOCK/6)
|
||||
MCFG_CPU_PROGRAM_MAP(dblcrown_map)
|
||||
MCFG_CPU_IO_MAP(dblcrown_io)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
|
||||
MCFG_SCREEN_UPDATE_DRIVER(dblcrown_state, screen_update)
|
||||
MCFG_SCREEN_SIZE(32*8, 32*8)
|
||||
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
|
||||
|
||||
MCFG_GFXDECODE(dblcrown)
|
||||
|
||||
MCFG_PALETTE_LENGTH(16)
|
||||
|
||||
MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
MCFG_SOUND_ADD("aysnd", AY8910, MAIN_CLOCK/12)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Game driver(s)
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
ROM_START( dblcrown )
|
||||
ROM_REGION( 0x40000, "maincpu", ROMREGION_ERASE00 )
|
||||
ROM_LOAD("1.u33", 0x00000, 0x40000, CRC(5df95a9c) SHA1(799333206089989c25ff9f167363073d4cf64bd2) )
|
||||
|
||||
ROM_REGION( 0x80000, "gfx1", ROMREGION_ERASE00 )
|
||||
ROM_LOAD("2.u43", 0x00000, 0x80000, CRC(58200bd4) SHA1(2795cfc41056111f66bfb82916343d1c733baa83) )
|
||||
ROM_END
|
||||
|
||||
GAME( 199?, dblcrown, 0, dblcrown, dblcrown, driver_device, 0, ROT0, "Excellent Systems", "Double Crown", GAME_IS_SKELETON )
|
|
@ -9467,6 +9467,7 @@ gfire2 // (c) 1992 Topis Corp
|
|||
sprcros2 // (c) 1986 GM Shoji
|
||||
sprcros2a // (c) 1986 GM Shoji
|
||||
d9final // (c) 1992 Excellent System
|
||||
dblcrown // (c) 1994 Excellent System
|
||||
lastbank // (c) 1994 Excellent System
|
||||
gcpinbal // (c) 1994 Excellent System
|
||||
vmetal // (c) 1995 Excellent System?
|
||||
|
|
|
@ -700,6 +700,7 @@ $(MAMEOBJ)/eolith.a: \
|
|||
$(MAMEOBJ)/excelent.a: \
|
||||
$(DRIVERS)/aquarium.o $(VIDEO)/aquarium.o \
|
||||
$(DRIVERS)/d9final.o \
|
||||
$(DRIVERS)/dblcrown.o \
|
||||
$(DRIVERS)/gcpinbal.o $(VIDEO)/gcpinbal.o \
|
||||
$(DRIVERS)/lastbank.o \
|
||||
$(DRIVERS)/vmetal.o \
|
||||
|
|
Loading…
Reference in a new issue