Files posted by TomXP411
This is a simple Python utility to add line numbers to BASIC programs.
GOTO and GOSUB use labels instead of line numbers, like this:
PRINT "HELLO WORLD"
In addition, the special @@ label resolves to "current line", like this:
GET A$:IF A$="" THEN @@
This will resolve to something like
100 GET A$:IF A$="" THEN 100
I have included a little Morse Code translator as a proof of concept and simple test program.
This program and the Morse demo are open source, distributed under CC-BY license.
This is an unofficial concept program for a CX16 menu. Modify the DATA statements to add your submenus and commands.
This is currently just a demo to explore the look and and feel of a basic, BASIC menu. Since it does not clear the screen, it is useful as an autoboot menu.
New: uses a new API to push keys into the keyboard buffer. This allows the LOAD and RUN to operate outside of the running program, preventing problems that occur when chaining programs in BASIC.
I wrote this to let you transfer BASIC programs between the Commander X16 and the Commodore PET (and MINI PET).
If the program's load address is NOT $801, PRG Fix adjusts it to 801 and saves a copy of the file.
If the file has the load address set to $801 (Commander X16, Commodore 64), it will change the load address to $401 for the Commodore PET.
This does not change any of the program's code, so any commands in the program must be compatible across both systems. ie: don't use BASIC 4 keywords like "CATALOG" or CXBASIC keywords like "DOS".
This reads the disk directory in BASIC. This is a super simple example and doesn't actually parse the files... it's just smart enough to read "$" and print it to the screen.