Previous 199869 Revisions Next

r31395 Wednesday 23rd July, 2014 at 04:49:46 UTC by Tafoid
Fixing alignment of 14-seg display multiplexation from Felipe Sanches (nw)
[src/mess/drivers]minicom.c

trunk/src/mess/drivers/minicom.c
r31394r31395
2727
2828  Changelog:
2929
30   2014 JUL 22 [Felipe Sanches]:
31   * Fixing alignment of 14-seg display multiplexation
32
3033   2014 JUL 19 [Felipe Sanches]:
3134   * Got the display working except for a few glitches
3235
r31394r31395
126129   {
127130      case 0x00:
128131      {
129         m_p[offset]=data;
132         if (data != m_p[offset])
133         {
134            m_p[offset]=data;
135
136            //Bit P0.1 is the serial-input of a 20-bit shift register (made of a couple of chained UCN5810AF chips)
137            //We are emulating the display based on the assumption that the firmware will multiplex it by defining one digit at a given time
138            //It would be better (in terms of being closer to the actual hardware) to emulate the 20 bit shift register and update all digits
139            //for which a bit is TTL high. It seems to me that in the real hardware that would result in dimmer brightness in the display and it
140            //does not seem trivial to me to implement this using our current layout system. I'm leaving this note to whoever finds it exciting
141            //to explore these possibilities (perhaps myself in the future?).
142            if (BIT(data,1)){
143               m_digit_index = 0;
144            }
145         }
130146         break;
131147      }
132148      case 0x01:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team