Below you will find pages that utilize the taxonomy term “Basics”
16-bit Unsigned AND on Commodore 64
I have a project that requires something beyond the default BASIC that’s available on the Commodore 8-bit computers. Actually, it’s several things.
- 16-bit AND for unsigned integers
- XOR
- Decimal to Hex
- Hex to Decimal
I can get two of these by utilizing Simon’s BASIC Cart: XOR and Hex to Decimal.
Today, we’re going to implement a 16-bit unsigned AND .
In Commodore 64 BASIC V2, the AND
operator works with 16-bit signed integers (-32768 to +32767).
10 PRINT for the KIM-1

PAL-II
It’s time to explore the PAL-II, a modern clone of the classic KIM-1 6502 microcomputer from the mid-1970s. Original KIM-1 units are now rare and costly, making a clone like the PAL-II ideal for hands-on use without risking damage to a vintage system.
As one of the first single-board computers, the KIM-1 remains popular among retro computing enthusiasts. Its distinctive 7-segment display enables creative visual effects, and it serves as an excellent platform for learning assembly language and low-level programming.
10PRINT and 100 Doors on the PicoCalc from Clockwork Pi
There’s a new fun device in my lab today. The Clockwork Pi PicoCalc, a retro-inspired handheld that blends nostalgia with modern DIY flair. Powered by a Raspberry Pi Pico, it’s perfect for tinkering.
Out of the box is boots directly to a version of BASIC called PicoMite. It’s a version of MMBasic that’s been optimized for the PicoCalc. It’s a great way to get started with programming on the PicoCalc. Other languages like Python/C/C++ are also supported, but I will primarily be using BASIC on it.