mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
this was also said to fit here when it was dumped by Xing Xing, although i haven't checked in detail (nw)
This commit is contained in:
parent
78b3dc8ef2
commit
b852e4814c
@ -1792,7 +1792,6 @@ files {
|
||||
createMAMEProjects(_target, _subtarget, "igs")
|
||||
files {
|
||||
MAME_DIR .. "src/mame/drivers/cabaret.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/ddz.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/dunhuang.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/goldstar.cpp",
|
||||
MAME_DIR .. "src/mame/includes/goldstar.h",
|
||||
|
@ -1271,10 +1271,22 @@ ROM_START( psattack )
|
||||
DISK_IMAGE_READONLY( "psattack", 0, SHA1(e99cd0dafc33ec13bf56061f81dc7c0a181594ee) )
|
||||
|
||||
// keep driver happy
|
||||
ROM_REGION32_LE( 0x3000000, "user1", 0 )
|
||||
ROM_REGION32_LE( 0x3000000, "user1", ROMREGION_ERASEFF )
|
||||
ROM_REGION( 0x1000000, "user2", ROMREGION_ERASEFF )
|
||||
ROM_END
|
||||
|
||||
ROM_START( ddz )
|
||||
ROM_REGION( 0x400000, "maincpu", 0 )
|
||||
ROM_LOAD("ddz.001.rom", 0x000000, 0x400000, CRC(b379f823) SHA1(531885b35d668d22c75a9759994f4aca6eacb046) )
|
||||
ROM_LOAD("ddz.002.rom", 0x000000, 0x400000, CRC(285c744d) SHA1(2f8bc70825e55e3114015cb263e786df35cde275) )
|
||||
ROM_LOAD("ddz.003.rom", 0x000000, 0x400000, CRC(61c9b5c9) SHA1(0438417398403456a1c49408881797a94aa86f49) )
|
||||
|
||||
// keep driver happy
|
||||
ROM_REGION32_LE( 0x3000000, "user1", ROMREGION_ERASEFF )
|
||||
ROM_REGION( 0x1000000, "user2", ROMREGION_ERASEFF )
|
||||
ROM_END
|
||||
|
||||
|
||||
|
||||
|
||||
DRIVER_INIT_MEMBER(crystal_state,crysking)
|
||||
@ -1408,4 +1420,5 @@ GAME( 2001, donghaer, 0, crystal, crystal, crystal_state, donghaer, ROT
|
||||
GAME( 2009, trivrus, 0, trivrus, trivrus, driver_device, 0, ROT0, "AGT", "Trivia R Us (v1.07)", 0 )
|
||||
// has a CF card instead of flash roms
|
||||
GAME( 2004, psattack, 0, crystal, crystal, crystal_state, psattack, ROT0, "Uniana", "P's Attack", MACHINE_IS_SKELETON )
|
||||
|
||||
// looks like the same kind of hw from strings in the ROM, but scrambled / encrypted?
|
||||
GAME( 200?, ddz, 0, crystal, crystal, driver_device, 0, ROT0, "IGS?", "Dou Di Zhu", MACHINE_IS_SKELETON )
|
||||
|
@ -1,101 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Xing Xing
|
||||
/*
|
||||
Dou Di Zhu (by IGS?)
|
||||
|
||||
uses Crystal System-like hardware (same CPU + Video Chip, but single PCB)
|
||||
meant to be some kind of poker game?
|
||||
|
||||
Rom appears to be encrypted / scrambled
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/se3208/se3208.h"
|
||||
#include "video/vrender0.h"
|
||||
#include "machine/ds1302.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "sound/vrender0.h"
|
||||
|
||||
|
||||
class ddz_state : public driver_device
|
||||
{
|
||||
public:
|
||||
ddz_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_ddz(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
void screen_eof_ddz(screen_device &screen, bool state);
|
||||
INTERRUPT_GEN_MEMBER(ddz_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
};
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( ddz_mem, AS_PROGRAM, 32, ddz_state )
|
||||
AM_RANGE(0x00000000, 0x003fffff) AM_ROM AM_WRITENOP
|
||||
ADDRESS_MAP_END
|
||||
|
||||
void ddz_state::video_start()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
UINT32 ddz_state::screen_update_ddz(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ddz_state::screen_eof_ddz(screen_device &screen, bool state)
|
||||
{
|
||||
}
|
||||
|
||||
INTERRUPT_GEN_MEMBER(ddz_state::ddz_interrupt)
|
||||
{
|
||||
// IntReq(24); //VRender0 VBlank
|
||||
}
|
||||
|
||||
static INPUT_PORTS_START(ddz)
|
||||
|
||||
INPUT_PORTS_END
|
||||
|
||||
static MACHINE_CONFIG_START( ddz, ddz_state )
|
||||
MCFG_CPU_ADD("maincpu", SE3208, 43000000)
|
||||
MCFG_CPU_PROGRAM_MAP(ddz_mem)
|
||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", ddz_state, ddz_interrupt)
|
||||
|
||||
//MCFG_MACHINE_RESET_OVERRIDE(ddz_state,ddz)
|
||||
|
||||
//MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
|
||||
MCFG_SCREEN_SIZE(320, 240)
|
||||
MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
|
||||
MCFG_SCREEN_UPDATE_DRIVER(ddz_state, screen_update_ddz)
|
||||
MCFG_SCREEN_VBLANK_DRIVER(ddz_state, screen_eof_ddz)
|
||||
|
||||
MCFG_PALETTE_ADD("palette", 8192)
|
||||
|
||||
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_SOUND_ADD("vrender", VRENDER0, 0)
|
||||
MCFG_VR0_REGBASE(0x04800000)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
||||
ROM_START( ddz )
|
||||
ROM_REGION( 0x400000, "maincpu", 0 )
|
||||
ROM_LOAD("ddz.001.rom", 0x000000, 0x400000, CRC(b379f823) SHA1(531885b35d668d22c75a9759994f4aca6eacb046) )
|
||||
ROM_LOAD("ddz.002.rom", 0x000000, 0x400000, CRC(285c744d) SHA1(2f8bc70825e55e3114015cb263e786df35cde275) )
|
||||
ROM_LOAD("ddz.003.rom", 0x000000, 0x400000, CRC(61c9b5c9) SHA1(0438417398403456a1c49408881797a94aa86f49) )
|
||||
ROM_END
|
||||
|
||||
|
||||
GAME( 200?, ddz, 0, ddz, ddz, driver_device, 0, ROT0, "IGS?", "Dou Di Zhu", MACHINE_IS_SKELETON )
|
Loading…
Reference in New Issue
Block a user