mirror of
https://github.com/KarolS/millfork.git
synced 2024-11-01 05:05:32 +00:00
14 lines
336 B
Plaintext
14 lines
336 B
Plaintext
// Routines from Commodore PET KERNAL ROM
|
|
|
|
#if not(CBM_PET)
|
|
#warn pet_kernal module should be only used on PET 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)
|
|
}
|