1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-09 16:29:34 +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

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)
}

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
}