In this video I’ll demonstrate how to draw random lottery numbers on a Commodore 64. The secret sauce here is not only the RND function to generate random numbers, but also two loops inside each other...
Learn MoreCommodore BASIC has some interesting and simple string functions built in. Two of them are self explanatory: LEFT$ and RIGHT$. But the mysterious MID$ function is a little tricker, and I can never remember...
Learn MoreThe Plus/4 has a total of two voices thanks to its integrated TED chip, which is also responsible for rendering text and graphics on screen. The first voice can play square waves, while the second one can...
Learn MoreWe can access each sector’s raw data on Commodore disk drives with direct block access commands. Supported drives include the 1541, 1571, the VICE emulator as well as the SD2IEC card reader (for the...
Learn MoreHere’s a quick word splitter routine for CBM BASIC. It takes phrase and “explodes” all words into an array, removing spaces. Feel free to adopt it for your own needs. 10 rem word splitter 20...
Learn More