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

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