zettacode.files/hello_world.text/commodore_basic.txt in zettacode-0.1.0 vs zettacode.files/hello_world.text/commodore_basic.txt in zettacode-0.1.1
- old
+ new
@@ -1,5 +1,5 @@
-B fu C cu b ucc (C64, C128, VIC-20, Pu 4, c.) (PET, CBM c.) b cuc . Tf, c u, CHR$(14) b qu c -c .
-10 c$(147)c$(14):REM 147=c c, 14=wc o owc mod
-20 "H !"
-30
+By default some Commodore computers boot into uppercase/graphics mode (C64, C128, VIC-20, Plus 4, etc.) while others (PET, CBM etc.) boot into lowercase/uppercase mode. Therefore, depending on machine used, the CHR$(14) may or may not be required to switch into mixed-case mode.
+10 print chr$(147);chr$(14);:REM 147=clear screen, 14=switch to lowercase mode
+20 print "Hello world!"
+30 end