MAMEWorld >> Programming
Index   Flat Mode Flat  

lxd
MAME Fan
Reged: 02/27/14
Posts: 25
Send PM
How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c
04/15/14 09:43 AM


CPU i8031 system.
I can call "output.c"'s fuctions
output_set_lamp_value(...)
output_set_digit_value(...) etc in my game driver.

But how output_xxxx(...) callback in my game driver like:

DECLARE_WRITE8_MEMBER(duart_txa);

WRITE8_MEMBER(bigmario_state::duart_txa)
{
//printf("bigmario_state::duart_txa=%2X\n",data);
m_serial_data_in = data;

m_maincpu->set_input_line(MCS51_RX_LINE, ASSERT_LINE);
m_maincpu->set_input_line(MCS51_RX_LINE, CLEAR_LINE);
};







Entire thread
Subject Posted by Posted on
* How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c lxd 04/15/14 09:43 AM
. * Re: How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c lxd  04/15/14 11:26 AM
. * Re: How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c lxd  04/15/14 02:43 PM
. * Re: How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c etabeta  04/15/14 04:39 PM
. * Re: How to call DECLARE_WRITE8_MEMBER(duart_txa); at output.c lxd  04/15/14 09:28 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 43 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3380