diff options
author | Leo C | 2015-05-01 23:19:32 +0200 |
---|---|---|
committer | Leo C | 2015-05-01 23:19:32 +0200 |
commit | 64cc220767e870fad388fb9021cf96ff2958275b (patch) | |
tree | e3e465d35e364b2c9f70c39dce77820c5480eb92 /z180/msgbuf-a.180 | |
parent | 2fe441224da6410ec112322abf78524589b15498 (diff) | |
download | z180-stamp-64cc220767e870fad388fb9021cf96ff2958275b.zip |
Simplify Console I/O. Switch back to IOBYTE.
Diffstat (limited to 'z180/msgbuf-a.180')
-rw-r--r-- | z180/msgbuf-a.180 | 6 |
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
|