mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
(MESS) merlin.c: Added driver for Parker Bros. Merlin. [Wilbert Pol, kevtris]
This commit is contained in:
parent
2bee453b15
commit
fbb1b4f9bd
@ -1,3 +1,9 @@
|
||||
/*
|
||||
|
||||
Parker Bros Merlin handheld computer game
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/tms0980/tms0980.h"
|
||||
#include "sound/speaker.h"
|
||||
@ -14,6 +20,8 @@ public:
|
||||
, m_speaker(*this, "speaker")
|
||||
{ }
|
||||
|
||||
virtual void machine_start();
|
||||
|
||||
required_device<device_t> m_speaker;
|
||||
|
||||
DECLARE_READ8_MEMBER(read_k);
|
||||
@ -26,8 +34,7 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
|
||||
#define LOG 1
|
||||
#define LOG 0
|
||||
|
||||
|
||||
static INPUT_PORTS_START( merlin )
|
||||
@ -167,6 +174,13 @@ WRITE16_MEMBER(merlin_state::write_r)
|
||||
}
|
||||
|
||||
|
||||
void merlin_state::machine_start()
|
||||
{
|
||||
save_item(NAME(m_o));
|
||||
save_item(NAME(m_r));
|
||||
}
|
||||
|
||||
|
||||
static const tms0980_config merlin_tms0980_config =
|
||||
{
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user