src/main.c

changeset 85
9883eb142f70
parent 80
9581358e92b0
child 90
934ae2efdd01
     1.1 --- a/src/main.c	Wed Feb 09 16:35:49 2011 +0000
     1.2 +++ b/src/main.c	Wed Feb 09 17:11:48 2011 +0000
     1.3 @@ -336,10 +336,13 @@
     1.4  			} else {
     1.5  				lastirq_fdc = false;
     1.6  			}
     1.7 +*/		if (keyboard_get_irq(&state.kbd)) {
     1.8 +			// TODO: this is a LEVEL, not an EDGE!
     1.9 +			m68k_set_irq(3);
    1.10  		} else {
    1.11  			m68k_set_irq(0);
    1.12  		}
    1.13 -*/
    1.14 +
    1.15  		// Is it time to run the 60Hz periodic interrupt yet?
    1.16  		if (clock_cycles > CLOCKS_PER_60HZ) {
    1.17  			// Refresh the screen