1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-01-12 03:30:09 +00:00
millfork/include/pet_kernal.mfk

14 lines
336 B
Plaintext
Raw Normal View History

2017-12-07 00:23:30 +01:00
// Routines from Commodore PET KERNAL ROM
#if not(CBM_PET)
#warn pet_kernal module should be only used on PET targets
#endif
2017-12-07 00:23:30 +01:00
// CHROUT. Write byte to default output. (If not screen, must call OPEN and CHKOUT beforehands.)
// Input: A = Byte to write.
2018-12-30 18:54:45 +01:00
asm void putchar(byte a) @$FFD2 extern
inline void new_line() {
putchar(13)
}