Previous 199869 Revisions Next

r31517 Tuesday 5th August, 2014 at 09:41:06 UTC by hap
put in a read_line for the alarm pin
[src/emu/machine]rp5c01.c rp5c01.h

trunk/src/emu/machine/rp5c01.c
r31516r31517
311311
312312
313313//-------------------------------------------------
314//  adj_w -
315//-------------------------------------------------
316
317WRITE_LINE_MEMBER( rp5c01_device::adj_w )
318{
319   if (state)
320   {
321      adjust_seconds();
322   }
323}
324
325
326//-------------------------------------------------
327314//  read -
328315//-------------------------------------------------
329316
trunk/src/emu/machine/rp5c01.h
r31516r31517
5656
5757   DECLARE_READ8_MEMBER( read );
5858   DECLARE_WRITE8_MEMBER( write );
59   DECLARE_WRITE_LINE_MEMBER( adj_w );
59   DECLARE_READ_LINE_MEMBER( alarm_r ) { return m_alarm; }
60   DECLARE_WRITE_LINE_MEMBER( adj_w ) { if (state) adjust_seconds(); }
6061
6162protected:
6263   // device-level overrides

Previous 199869 Revisions Next


© 1997-2024 The MAME Team