Propeller TV Vertical & Horizontal Switcher
Humanoido
Posts: 5,770
I have the small Parallax TV (3.5-inch, 320x240 pixels). It's mounted in an enclosure that is used in either a horizontal or vertical position. Is there a TV driver that can switch the rows of characters from horizontal to vertical? If it does not exist, what would it take to make one?
Comments
Changing the orientation means that you have to fetch 32 times from ROM to get the column of a character. You also need a lot of masking and shifting to put the bits at the right place. I think this will simply be much to slow.
Solution: you have to convert the existing character-set to the new orientation beforehand, which needs some RAM or create a character set on your own with the right orientation.
Then, just change the Print routines to that base address...
Actually, I don't think this is much of an issue as the current Graphics.spin driver contains a vector font table. Using it instead, all you have to do is rotate each character. Now, you don't have the full font table, but all the important stuff, and you can easily add/remove items if you want to.
Bill
Maybe not as single buffered though...