Monday, February 24, 2020

Creating Custom Characters / Fonts in Commodore BASIC

Since the arrival of my Ultimate64 Elite board, I've been enjoying a lot more actual programming and playing games with my retro hobby, less time repairing and trying to upgrade 40 year old hardware.

This post will dig into the tools and techniques for both creating custom fonts/characters on the Commodore 64, then using them in your BASIC programs.

The Commodore character editor I currently use is called Character Editor 2.


A quick look at the .d64 disk image will reveal a number of f.filename entries which are character sets already created. 

I've included a small program on the disk image called: BASICLOADER which will allow you to load these character sets into BASIC without it interfering with BASIC itself.   This program can be easily adapted to load the font on program startup. 


Exchange line 10 with A$="f.filename" and include the character set file on your disk to allow your program to load the new characters at program startup.


1 comment:

Unknown said...

Great work here Jeff! On an unrelated note I've been looking to reach out to you for more info on your old portable SID project, moreover looking for the .sid to .dmp program you made a decade ago... if you could please follow up with me via email, let me know and I would greatly appreciate it!

-Joey