1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-01 05:05:32 +00:00
millfork/include/a8_kernel.mfk
Karol Stasiak 63ff28e94e Changes to macros and parameter list syntax:
* non-asm macros can now take `const` and `call` parameters
* register parameters to asm functions and macros can be given names if annotated explicitly
2020-03-30 19:23:48 +02:00

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