mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
hh_ucom4: dummy lcd for mcompgin (nw)
This commit is contained in:
parent
d87c835607
commit
f7d53f4b82
@ -4465,6 +4465,7 @@ public:
|
|||||||
{ }
|
{ }
|
||||||
|
|
||||||
required_device<hlcd0569_device> m_lcd;
|
required_device<hlcd0569_device> m_lcd;
|
||||||
|
|
||||||
DECLARE_WRITE32_MEMBER(lcd_output_w);
|
DECLARE_WRITE32_MEMBER(lcd_output_w);
|
||||||
DECLARE_WRITE16_MEMBER(write_r);
|
DECLARE_WRITE16_MEMBER(write_r);
|
||||||
DECLARE_READ8_MEMBER(read_k);
|
DECLARE_READ8_MEMBER(read_k);
|
||||||
|
@ -67,6 +67,7 @@ TODO:
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "includes/hh_ucom4.h"
|
#include "includes/hh_ucom4.h"
|
||||||
|
#include "video/hlcd0515.h"
|
||||||
|
|
||||||
// internal artwork
|
// internal artwork
|
||||||
#include "efball.lh"
|
#include "efball.lh"
|
||||||
@ -1669,16 +1670,19 @@ class mcompgin_state : public hh_ucom4_state
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
mcompgin_state(const machine_config &mconfig, device_type type, const char *tag)
|
mcompgin_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: hh_ucom4_state(mconfig, type, tag)
|
: hh_ucom4_state(mconfig, type, tag),
|
||||||
|
m_lcd(*this, "lcd")
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
void prepare_display();
|
required_device<hlcd0569_device> m_lcd;
|
||||||
|
|
||||||
|
DECLARE_WRITE32_MEMBER(lcd_output_w);
|
||||||
DECLARE_WRITE8_MEMBER(unk_w);
|
DECLARE_WRITE8_MEMBER(unk_w);
|
||||||
};
|
};
|
||||||
|
|
||||||
// handlers
|
// handlers
|
||||||
|
|
||||||
void mcompgin_state::prepare_display()
|
WRITE32_MEMBER(mcompgin_state::lcd_output_w)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1718,7 +1722,9 @@ static MACHINE_CONFIG_START( mcompgin, mcompgin_state )
|
|||||||
MCFG_UCOM4_WRITE_H_CB(WRITE8(mcompgin_state, unk_w))
|
MCFG_UCOM4_WRITE_H_CB(WRITE8(mcompgin_state, unk_w))
|
||||||
MCFG_UCOM4_WRITE_I_CB(WRITE8(mcompgin_state, unk_w))
|
MCFG_UCOM4_WRITE_I_CB(WRITE8(mcompgin_state, unk_w))
|
||||||
|
|
||||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_ucom4_state, display_decay_tick, attotime::from_msec(1))
|
/* video hardware */
|
||||||
|
MCFG_DEVICE_ADD("lcd", HLCD0569, 1000) // C=?
|
||||||
|
MCFG_HLCD0515_WRITE_COLS_CB(WRITE32(mcompgin_state, lcd_output_w))
|
||||||
MCFG_DEFAULT_LAYOUT(layout_mcompgin)
|
MCFG_DEFAULT_LAYOUT(layout_mcompgin)
|
||||||
|
|
||||||
/* sound hardware */
|
/* sound hardware */
|
||||||
|
Loading…
Reference in New Issue
Block a user