diff runtime.S @ 226:28a6697e847b

Implement CHK instruction (not fully tested).
author Mike Pavone <pavone@retrodev.com>
date Sun, 21 Apr 2013 13:00:34 -0700
parents 922b59c09259
children 4a7ac10ac2d9
line wrap: on
line diff
--- a/runtime.S	Sun Apr 21 11:42:45 2013 -0700
+++ b/runtime.S	Sun Apr 21 13:00:34 2013 -0700
@@ -91,10 +91,9 @@
 	/* calculate interrupt vector address */
 	pop %rcx
 	shl $2, %ecx
-	add $0x80, %ecx
 	call m68k_read_long_scratch1
 	call m68k_native_addr_and_sync
-	add $24, %eax
+	add $18, %eax
 	jmp *%rcx
 
 invalid_msg: