mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-22 00:17:03 +00:00
PET: Add oldpet and origpet encodings
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[compilation]
|
||||
arch=nmos
|
||||
encoding=oldpetscii
|
||||
screen_encoding=petscr
|
||||
modules=loader_0401,pet_kernal,default_panic
|
||||
|
||||
|
||||
|
||||
@@ -6,4 +6,8 @@
|
||||
|
||||
// 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
|
||||
asm void putchar(byte a) @$FFD2 extern
|
||||
|
||||
inline void new_line() {
|
||||
putchar(13)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user