Previous 199869 Revisions Next

r19659 Tuesday 18th December, 2012 at 14:08:26 UTC by David Haywood
swizzle 7-seg data so it's readable (nw)
[src/mame/drivers]ecoinfr.c

trunk/src/mame/drivers/ecoinfr.c
r19658r19659
319319{
320320   if (m_credsel!=0xff)
321321   {
322   //   UINT8 bf7segdata = BITSWAP8(data,7,6,5,4,3,2,1,0);
323      output_set_digit_value(m_credsel+8, data);
322      UINT8 bf7segdata = BITSWAP8(data,7,0,1,2,3,4,5,6);
323      output_set_digit_value(m_credsel+8, bf7segdata);
324324   }
325325}
326326
r19658r19659
333333{
334334   if (m_banksel!=0xff)
335335   {
336   //   UINT8 bf7segdata = BITSWAP8(data,7,6,5,4,3,2,1,0);
337      output_set_digit_value(m_banksel, data);
336      UINT8 bf7segdata = BITSWAP8(data,7,0,1,2,3,4,5,6);
337      output_set_digit_value(m_banksel, bf7segdata);
338338   }
339339}
340340

Previous 199869 Revisions Next


© 1997-2024 The MAME Team