view runtime.S @ 723:7178d750efbd

Process events while waiting for 68K debugger input. This prevents "not responsive" dialogs when sitting in the debugger
author Michael Pavone <pavone@retrodev.com>
date Thu, 21 May 2015 18:37:41 -0700
parents 7ed1dbb48f61
children
line wrap: on
line source



invalid_msg:
	.asciz "Invalid instruction at %X\n"

	.global m68k_invalid
m68k_invalid:
	lea invalid_msg(%rip), %rdi
	mov %ecx, %esi
	xor %rax, %rax
	call printf
	mov $1, %rdi
	call exit