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. :)
/ Pingo
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.:
chars="0123456789abcdefghijklmnopqrstuvwxyz." |
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. ;)
Thanks for that tip, Felice! Will do in the future.
I KNEW there was something I missed. :)
/ Pingo
[Please log in to post a comment]