Previous 199869 Revisions Next

r33955 Friday 19th December, 2014 at 16:53:24 UTC by Oliver Stöneberg
fixed Visual Studio compilation and compilation in general / small r10788_device initialization cleanup (nw)
[src/emu/machine]r10788.c ra17xx.c
[src/mame/drivers]barata.c

trunk/src/emu/machine/r10788.c
r242466r242467
5858
5959r10788_device::r10788_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
6060    : device_t(mconfig, R10788, "Rockwell 10788", tag, owner, clock, "r10788", __FILE__),
61        m_reg(),
6261        m_ktr(0), m_kts(0), m_kla(0), m_klb(0), m_mask_a(15), m_mask_b(15), m_ker(0),
6362        m_io_counter(0), m_scan_counter(0),
6463        m_display(*this)
r242466r242467
9392 */
9493void r10788_device::device_reset()
9594{
96    for (int i = 0; i < 16; i++)
97        m_reg[0][i] = m_reg[1][i] = 0;
95   memset(m_reg, 0x00, sizeof(m_reg));
9896    m_ktr = 0;
9997    m_kts = 0;
10098    m_kla = 0;
trunk/src/emu/machine/ra17xx.c
r242466r242467
5757
5858ra17xx_device::ra17xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
5959    : device_t(mconfig, RA17XX, "Rockwell A17XX", tag, owner, clock, "ra17xx", __FILE__),
60        m_line(),
6160        m_enable(false),
6261        m_iord(*this),
6362        m_iowr(*this)
trunk/src/mame/drivers/barata.c
r242466r242467
261261WRITE8_MEMBER(barata_state::fpga_w)
262262{
263263   static unsigned char old_data = 0;
264   if (!BIT(old_data, 5) and BIT(data, 5)){
264   if (!BIT(old_data, 5) && BIT(data, 5)){
265265      //process the command sent to the FPGA
266266      fpga_send((data >> 2) & 7);
267267   }


Previous 199869 Revisions Next


© 1997-2024 The MAME Team