Using the internal character ROM for generating characters on an 5x7 dot matrix
godzich
Posts: 74
Hi all,
Still new with Propeller, and just planning what to do with it, so please be patient.
Could I use the internal character generator easily for generating the ascii· alphabet when driving an external display consisting of 8 pcs of 5x7 dot matrix displays? It means that the character need to be read and compressed somehow neatly, to produce legitime and good looking characters on the limited 5x7 matrix. Or should I bother trying this at all, and just write my own character table, wasting precious ram? I assume that a "compacting" assembly routine would not need many words of storage, if coded cleverly?!
Any comments? Has anyone done this before?
Christian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The future does not exist - we must invent it!
Still new with Propeller, and just planning what to do with it, so please be patient.
Could I use the internal character generator easily for generating the ascii· alphabet when driving an external display consisting of 8 pcs of 5x7 dot matrix displays? It means that the character need to be read and compressed somehow neatly, to produce legitime and good looking characters on the limited 5x7 matrix. Or should I bother trying this at all, and just write my own character table, wasting precious ram? I assume that a "compacting" assembly routine would not need many words of storage, if coded cleverly?!
Any comments? Has anyone done this before?
Christian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The future does not exist - we must invent it!
Comments
If you're clever, you may be able to use only 32 bits to store 35 pixels by finding adjacent pixels that are always the same or pixels that are always zero or always one.· That would be one long per character ... really easy to look up and only 512 bytes.
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Still some PropSTICK Kit bare PCBs left!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.
Such a nice forum, so many replies in no time [noparse]:)[/noparse]
Thank's for the input. I still would like to have a look at using the internal font table.
Is there somewhere a downloadable file that contains the exact shapes of the fonts, in hex or binary - or any format???
I could easily simulate how a compressed would look like - only the font table is missing... [noparse]:([/noparse]
Probably I could dump it from the propeller chip, but someone of you might have the file laying around [noparse]:)[/noparse]
Cheers
Christian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The future does not exist - we must invent it!
CLEMENS SECRET HIDDEN FONTS
Common old fashioned dot matrix 5x7 font can be squeezed into 5x5 (long) since (except in lowercase),
pixel rows 2,3 and 5,6 are usually identical. For lowercase, I use the alphabet still compressed (5x5).