summaryrefslogtreecommitdiff
path: root/z180/msgbuf-a.180
diff options
context:
space:
mode:
authorLeo C2015-05-01 23:19:32 +0200
committerLeo C2015-05-01 23:19:32 +0200
commit64cc220767e870fad388fb9021cf96ff2958275b (patch)
treee3e465d35e364b2c9f70c39dce77820c5480eb92 /z180/msgbuf-a.180
parent2fe441224da6410ec112322abf78524589b15498 (diff)
downloadz180-stamp-64cc220767e870fad388fb9021cf96ff2958275b.zip
Simplify Console I/O. Switch back to IOBYTE.
Diffstat (limited to 'z180/msgbuf-a.180')
-rw-r--r--z180/msgbuf-a.1806
1 files changed, 4 insertions, 2 deletions
diff --git a/z180/msgbuf-a.180 b/z180/msgbuf-a.180
index 36e0871..1bdd826 100644
--- a/z180/msgbuf-a.180
+++ b/z180/msgbuf-a.180
@@ -9,7 +9,9 @@
extrn buf.init
include config.inc
+ if CPU_Z180
include z180reg.inc
+ endif
;--------------------------------------------------------------
@@ -122,7 +124,7 @@ bp.wait:
ld (ix+o.in_idx),a
ld a,b
- out0 (AVRINT5),a
+ out (AVRINT5),a
pop bc
pop hl
pop ix
@@ -165,7 +167,7 @@ ms.wait:
ld (hl),a
ld (ix+o.in_idx),c
djnz ms.ol
- out0 (AVRINT5),a
+ out (AVRINT5),a
ex de,hl
pop de
pop bc