summaryrefslogtreecommitdiff
path: root/680.inc
diff options
context:
space:
mode:
authorAstrid Smith2010-09-07 19:12:01 -0700
committerAstrid Smith2010-09-07 19:12:01 -0700
commit63ac7e42bd2aefab3ae00c0f5a81dffdf3c102db (patch)
treea308f1db0435ef16524dc1411118d44427d14ddd /680.inc
parentb3aef0ee73d2e2ee86c1a9f75cfd56d0be220d0f (diff)
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.
Diffstat (limited to '680.inc')
-rw-r--r--680.inc4
1 files changed, 2 insertions, 2 deletions
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