From dbe094eeae873ff5788b99d8a9c763df963d3a30 Mon Sep 17 00:00:00 2001 From: Duncan Smith Date: Tue, 7 Sep 2010 19:12:01 -0700 Subject: IO port framework now works A68k is defaulting all my address moves to word size, rather than long. I don't know whether I've expunged all this nonsense yet, but I'm trying. This version executes an infinite loop which writes 'A' to port 00h. I've patched in a write-to-console function on port 00h, so this can be used as a sort of debug monitor. --- 680.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '680.inc') diff --git a/680.inc b/680.inc index 3578ea9..20f3bed 100644 --- a/680.inc +++ b/680.inc @@ -11,11 +11,11 @@ ehl EQUR d6 eixy EQUR d7 SAVEREG MACRO - movem d3-d7/a3-a6,-(sp) + movem.l d3-d7/a3-a6,-(sp) ENDM RESTREG MACRO - movem (sp)+,d3-d7/a3-a6 + movem.l (sp)+,d3-d7/a3-a6 ENDM ;; pushm MACRO -- cgit v1.2.3