Played around with YellowAfterLife's char-functions, and ended up creating a C64-sprite-font at the same time...
I guess this has already been done a thousand times here, probably much better than this... but I just had to do my own version.
Any help with minimizing/optimizing this further would be cool.
Thanks also to Lumiette for the inspiration. :)
A minor side note:
If you're not going to use the full ascii charset, but rather a short subset ordered to your own tastes, it can be useful to put the numbers right before the letters, e.g.:
That way you can grab the hex digit for a value 0-15 by sub(chars,value+1,value+1).
Otherwise, seems pretty reasonable to me. Very C64. ;)
[Please log in to post a comment]