src/main.c

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