1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

Text encoding improvements

This commit is contained in:
Karol Stasiak
2018-07-07 00:58:44 +02:00
parent 265f729b24
commit 2c8de8b6a5
31 changed files with 329 additions and 54 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
import stdio
import c64_basic
array text1 = [ "enter first number:" petscii, 13, 0 ]
array text2 = [ "enter second number:" petscii, 13, 0 ]
array text3 = [ "the sum is:" petscii, 13, 0 ]
array texte = [ "that wasn't a number, try again:" petscii, 13, 0 ]
array text1 = [ "enter first number:", 13, 0 ]
array text2 = [ "enter second number:", 13, 0 ]
array text3 = [ "the sum is:", 13, 0 ]
array texte = [ "that wasn't a number, try again:", 13, 0 ]
void main() {
word a
+2 -2
View File
@@ -1,8 +1,8 @@
import stdio
array p = [
"this is an example" petscii, 13,
"of multiline petscii text" petscii
"this is an example", 13,
"of multiline petscii text"
]
array s = [
+1 -1
View File
@@ -3,7 +3,7 @@
import stdio
array hello_world = "hello world" petscii
array hello_world = "hello world"
void main(){
putstr(hello_world, hello_world.length)