This was a challenge on the Facebook C64/C128 programmers group: Create a sprite with a frame. Bounce a pixel within the sprite's frame. Bounce the sprite on the screen. I thought an X16 version would be a fun task. The challenge was specifically to do it entirely in BASIC on the C64 using an expand...
Screenshot This is a pretty boring text-only program, but I'm posting it here so I can include a try-it-now link in the GitHub README . After completing Advent of Code 2024, I decided to go back and do the earlier years, starting with the first one in 2015. I'm using a script to pick a different ra...
Maybe add a confirmation step on the ESC-restart feature? I missed the "right click to deselect" instruction and tried to undo selecting a card by pressing ESC - boom.
FWIW, if you wanted to create a "null device" on the X16, that wouldn't be too hard. Pick a device number that's not currently in use, like 7. Then you just have to write your own routines to handle OPEN, CLOSE, CHKIN, CHKOUT, CLRCHN, and BSOUT/CHROUT (if you want it to work for input as w...
This is an implementation of Shell's sort designed to be called via USR() from CBM BASIC. In my testing it sorted 100 words in 3 jiffies, and 1000 in under a second. The argument should be the address of the array's first element: X=USR(POINTER(A$(0))) There's a loader program which can be assembled...
This seems like a suitably retro application for our new retro computer. Written in Prog8 so the graphing is reasonably speedy. (If you aren't familiar with Biorhythms, you can read about the insanity on Wikipedia .) The Prog8 source code includes a general-purpose date manipulation library, which s...
Thought this would make a relatively simple demo of what you can do with BASIC. It loads some sprites into memory and draws some pegs and then animates the solution for the 8-disc Towers of Hanoi puzzle. The solution part uses recursion via global arrays functioning as "stacks" for each &q...
This renders a version of the digital rain display seen in The Matrix . 2587 Screen shot It's all PETSCII (no halfwidth kana characters, sorry). It doesn't do anything else – no messages fade in or anything – but it does have a bit of variability. You can use the + and - keys to make it faster or sl...
I'm afraid I don't think you can do much on the X16 with VolksForth in this form (i.e. no access to the kernel or even PETSCII control codes in its stock configuration). You can do a lot in plain text mode on the X16 - display text in multiple colors anywhere on the screen, for instance. In VolksFor...