1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-10-29 14:30:41 +00:00
millfork/include/vic20_kernal.mfk

14 lines
342 B
Plaintext
Raw Normal View History

2017-12-06 23:23:30 +00:00
// Routines from C16 and Plus/4 KERNAL ROM
#if not(CBM_VIC)
#warn vic20_kernal module should be only used on VIC-20 targets
#endif
2017-12-06 23:23:30 +00:00
// CHROUT. Write byte to default output. (If not screen, must call OPEN and CHKOUT beforehands.)
// Input: A = Byte to write.
2018-12-17 16:18:29 +00:00
asm void putchar(byte a) @$FFD2 extern
inline void new_line() {
putchar(13)
}