2024 X-Mas Demo (Commodore PET)
It’s that time of the year, again…

This year’s seasonal tribute: a PETSCII animation based on a popular cross-stitch pattern.
Users are kindly requested to imagine that trademark eerily fluttering 1950s UFO sound effect that I find hard to achieve on the PET’s “CB2” sound*.
- Ingredients: MOS 6502 assembler, PETSCII graphics (rendering at quarter blocks), CB2-sound.
- Requirements: any 40-columns PET, any ROM version, any RAM (4K or better).
- Download: masswerk.at/pet/prgs/#xmasdemo2024
>Emulation: run it online…
*) In case you were to ask, “What is CB2-sound?”
Well, the PET doesn’t feature sound, at all. But you can hook up a speaker to the output of a serial shift-register, creatively named “CB2”, which may be manipulated to output audible frequencies, sampling sound by a single bit at 1 MHz. This is CB2-sound.

*****
The already tradional PET recreation of an animated screen of the 1982 Christmas Demo for the C64 has also received an update: it now fits into 4K of RAM and allows for easy updates, as the year is now stored in a dedicated variable at the very top of the BASIC program text.

(You may set
Y
to zero to omit the output of the year entirely.)- Download: masswerk.at/pet/prgs/#seasonsgreetings
>Emulation: run it online…