1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-02 00:41:40 +00:00
millfork/include/cpc.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

12 lines
215 B
Plaintext

#if not(AMSTRAD_CPC)
#warn cpc module should be only used on Amstrad CPC-compatible targets
#endif
asm void putchar(byte register(a) char) @$BB5A extern
inline void new_line() {
putchar(13)
putchar(10)
}