Previous 15994 Revisions Next

r1208 Thursday 1st November, 2007 at 16:52:34 UTC by Wilbert Pol
[OSBORNE1] Updated keyboard code to read the proper input ports.
[src/mess/machine]osborne1.c

src/mess/machine/osborne1.c
r1207r1208
8686         /* Row 1 */
8787         if ( offset & 0x02 )   data &= readinputport(1);
8888         /* Row 2 */
89         if ( offset & 0x04 )   data &= readinputport(2);
89         if ( offset & 0x04 )   data &= readinputport(3);
9090         /* Row 3 */
91         if ( offset & 0x08 )   data &= readinputport(3);
91         if ( offset & 0x08 )   data &= readinputport(4);
9292         /* Row 4 */
93         if ( offset & 0x10 )   data &= readinputport(4);
93         if ( offset & 0x10 )   data &= readinputport(5);
9494         /* Row 5 */
95         if ( offset & 0x20 )   data &= readinputport(5);
95         if ( offset & 0x20 )   data &= readinputport(2);
9696         /* Row 6 */
9797         if ( offset & 0x40 )   data &= readinputport(6);
9898         /* Row 7 */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team