mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-22 16:31:02 +00:00
63ff28e94e
* non-asm macros can now take `const` and `call` parameters * register parameters to asm functions and macros can be given names if annotated explicitly
19 lines
274 B
Plaintext
19 lines
274 B
Plaintext
|
|
#if not(ATARI_8)
|
|
#warn a8_kernel module should be used only on Atari computer-compatible targets
|
|
#endif
|
|
|
|
noinline asm void putchar(byte register(a) char) {
|
|
? tax
|
|
lda $347
|
|
pha
|
|
lda $346
|
|
pha
|
|
? txa
|
|
rts
|
|
}
|
|
|
|
inline void new_line() {
|
|
putchar($9b)
|
|
}
|