mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-10 20:29:35 +00:00
CoCo: Improvements
This commit is contained in:
parent
72dcf2342e
commit
03a57138f0
@ -1,7 +1,10 @@
|
|||||||
|
|
||||||
noinline asm void putchar(byte register(a) character) {
|
noinline asm void putchar(byte register(a) character) {
|
||||||
clr <$6f
|
clr $6f
|
||||||
jsr [$a002]
|
jsr [$a002]
|
||||||
rts
|
rts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void new_line() {
|
||||||
|
putchar(13)
|
||||||
|
}
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
noinline asm byte readkey() {
|
noinline asm byte readkey() {
|
||||||
clr <$6f
|
clr $6f
|
||||||
jsr [$A000]
|
jsr [$A000]
|
||||||
tfr b,a
|
beq readkey
|
||||||
|
tfr a,b
|
||||||
rts
|
rts
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user