epoch dracula skeleton driver

This commit is contained in:
hap 2015-02-08 21:02:56 +01:00
parent 34e05cf13a
commit f774c3fab6
4 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1,81 @@
// license:BSD-3-Clause
// copyright-holders:hap
/***************************************************************************
Epoch Dracula (manufactured in Japan)
* NEC uCOM-43 MCU, labeled D553C 206
* cyan/red/green VFD display NEC FIP8BM20T
***************************************************************************/
#include "emu.h"
#include "cpu/ucom4/ucom4.h"
#include "sound/speaker.h"
#include "edracula.lh" // this is a test layout, external artwork is necessary
class edracula_state : public driver_device
{
public:
edracula_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker")
{ }
required_device<cpu_device> m_maincpu;
required_device<speaker_sound_device> m_speaker;
virtual void machine_start();
};
static INPUT_PORTS_START( edracula )
INPUT_PORTS_END
/***************************************************************************
Machine Config
***************************************************************************/
void edracula_state::machine_start()
{
}
static MACHINE_CONFIG_START( edracula, edracula_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", NEC_D553, XTAL_400kHz)
MCFG_DEFAULT_LAYOUT(layout_edracula)
/* no video! */
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
/***************************************************************************
Game driver(s)
***************************************************************************/
ROM_START( edracula )
ROM_REGION( 0x0800, "maincpu", 0 )
ROM_LOAD( "d553c-206", 0x0000, 0x0800, CRC(b524857b) SHA1(c1c89ed5dd4bb1e6e98462dc8fa5af2aa48d8ede) )
ROM_END
CONS( 1982, edracula, 0, 0, edracula, edracula, driver_device, 0, "Epoch", "Dracula", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )

View File

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!-- define elements -->
<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
<element name="cyan" defstate="0">
<disk state="0"><color red="0.0" green="0.1" blue="0.1" /></disk>
<disk state="1"><color red="0.2" green="1.0" blue="1.0" /></disk>
</element>
<element name="green" defstate="0">
<disk state="0"><color red="0.0" green="0.1" blue="0.0" /></disk>
<disk state="1"><color red="0.2" green="1.0" blue="0.2" /></disk>
</element>
<element name="red" defstate="0">
<disk state="0"><color red="0.1" green="0.0" blue="0.0" /></disk>
<disk state="1"><color red="1.0" green="0.2" blue="0.2" /></disk>
</element>
<!-- build screen -->
<view name="Test Layout">
<bounds left="0" right="100" top="0" bottom="100" />
<bezel element="static_black">
<bounds left="0" right="100" top="0" bottom="100" />
</bezel>
<!-- matrix -->
<bezel name="lamp0" element="green"><bounds x="0" y="0" width="1" height="1" /></bezel>
</view>
</mamelayout>

View File

@ -2611,3 +2611,4 @@ elecdet
wildfire
tmtennis
alnchase
edracula

View File

@ -1229,6 +1229,7 @@ $(MESSOBJ)/entex.a: \
$(MESS_DRIVERS)/advision.o $(MESS_MACHINE)/advision.o $(MESS_VIDEO)/advision.o \
$(MESSOBJ)/epoch.a: \
$(MESS_DRIVERS)/edracula.o \
$(MESS_DRIVERS)/gamepock.o $(MESS_MACHINE)/gamepock.o \
$(MESS_DRIVERS)/scv.o $(MESS_AUDIO)/upd1771.o \
@ -2126,6 +2127,7 @@ $(MESS_DRIVERS)/digel804.o: $(MESS_LAYOUT)/digel804.lh
$(MESS_DRIVERS)/dmv.o: $(MESS_LAYOUT)/dmv.lh
$(MESS_DRIVERS)/dolphunk.o: $(MESS_LAYOUT)/dolphunk.lh
$(MESS_DRIVERS)/eacc.o: $(MESS_LAYOUT)/eacc.lh
$(MESS_DRIVERS)/edracula.o: $(MESS_LAYOUT)/edracula.lh
$(MESS_DRIVERS)/elecdet.o: $(MESS_LAYOUT)/elecdet.lh
$(MESS_DRIVERS)/elekscmp.o: $(MESS_LAYOUT)/elekscmp.lh
$(MESS_DRIVERS)/elf.o: $(MESS_LAYOUT)/elf2.lh