diff runtime.S @ 317:e5e8b48ad157

Initial stab at horizontal interrupts and improving accuracy of vertical interrupts. Also added the VINT pending flag to status port.
author Mike Pavone <pavone@retrodev.com>
date Fri, 10 May 2013 22:57:56 -0700
parents 4a7ac10ac2d9
children 67b6d351df0e
line wrap: on
line diff
--- a/runtime.S	Thu May 09 20:59:49 2013 -0700
+++ b/runtime.S	Fri May 10 22:57:56 2013 -0700
@@ -42,6 +42,7 @@
 	or %cl, 5(%rsi)
 	/* calculate interrupt vector address */
 	mov 92(%rsi), %ecx
+	mov %cx, 6(%rsi) /* interrupt acknowlege */
 	shl $2, %ecx
 	add $0x60, %ecx
 	call m68k_read_long_scratch1