1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

CoCo: Improvements

This commit is contained in:
Karol Stasiak
2020-07-31 13:29:13 +02:00
parent 72dcf2342e
commit 03a57138f0
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
noinline asm void putchar(byte register(a) character) {
clr <$6f
clr $6f
jsr [$a002]
rts
}
inline void new_line() {
putchar(13)
}
+3 -2
View File
@@ -1,7 +1,8 @@
noinline asm byte readkey() {
clr <$6f
clr $6f
jsr [$A000]
tfr b,a
beq readkey
tfr a,b
rts
}