mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-11 12:29:46 +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
13 lines
298 B
Plaintext
13 lines
298 B
Plaintext
|
|
#if not(BBC_MICRO)
|
|
#warn bbc_kernal module should be used only on BBC Micro-compatible targets
|
|
#endif
|
|
|
|
// OSASCI. Write a character (to screen) from A plus LF if (A)=&0D
|
|
// Input: A = Byte to write.
|
|
asm void putchar(byte register(a) char) @$FFE3 extern
|
|
|
|
inline void new_line() {
|
|
putchar(13)
|
|
}
|