1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-25 19:29:49 +00:00
millfork/include/c128_kernal.mfk
2018-12-17 17:18:29 +01:00

14 lines
349 B
Plaintext

// Routines from Commodore 128 KERNAL ROM
#if not(CBM_128)
#warn c128_kernal module should be only used on C128-compatible targets
#endif
// CHROUT. Write byte to default output. (If not screen, must call OPEN and CHKOUT beforehands.)
// Input: A = Byte to write.
asm void putchar(byte a) @$FFD2 extern
inline void new_line() {
putchar(13)
}