For probably my last VIC-20 program of the year, I thought I'd write a colour Mandlebrot program for the unexpanded VIC-20, as a bit of a foray into multi-colour bitmapped graphics. The code is actually based on the modifications I submitted to Ken Shirrif's Mandlebrot generator for the Xerox Alto: https://www.righto.com/2017/06/.
It uses a similar technique as for my UxHiLife program I wrote about a year or two ago, where the .prg calls some machine code which remaps the video to $1000 and then the character set can occupy the last 3200 bytes of RAM up to $1fff.
At 5:49 for a full screen, it's not particularly optimised, I think I could improve it by about 50% and increase the accuracy by 1 bit. Maybe I could add an interactive zoom feature (but with 16-bit arithmetic, that won't go very far


But it was a bit of fun! The source code (assembled with mac2c64 and tested with VICE's xVIC emulator is attached along with the assembled .prg.