Previous 15994 Revisions Next

r6717 Monday 21st December, 2009 at 13:21:46 UTC by Robbbert
[KAYPRO] Added support for drive leds in artwork.
[src/mess/machine]kaypro.c

src/mess/machine/kaypro.c
r6716r6717
8080
8181   wd17xx_set_side(kaypro_fdc, (data & 4) ? 1 : 0);   /* only has one side but this circuit exists... */
8282
83   output_set_value("ledA",(data & 1) ? 1 : 0);      /* LEDs in artwork */
84   output_set_value("ledB",(data & 2) ? 1 : 0);
85
8386   kaypro_system_port = data;
8487}
8588
r6716r6717
188191
189192   wd17xx_set_side(kaypro_fdc, (data & 4) ? 0 : 1);
190193
194   output_set_value("ledA",(data & 1) ? 1 : 0);      /* LEDs in artwork */
195   output_set_value("ledB",(data & 2) ? 1 : 0);
196
191197   kaypro_system_port = data;
192198}
193199

Previous 15994 Revisions Next


© 1998-2018 The MESS Team