Survey of Video Generation Possibilities

Post here to discuss generating video signals.

Moderators: Chuckt, Garth, bitfogav

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Survey of Video Generation Possibilities

Post by Garth » Thu Aug 18, 2016 7:16 am

brad wrote:Are you looking to bring the frame rate up or is 8 frames a second all you would need for your purposes?
My purposes may never need more than eight, but as stated in another topic, I am in the process of slowly building a new workbench computer which will be able to do it several times as fast even with the same software. I don't often have any need at all for graphics, but now the basics are developed for the next time I do. One of the next steps, assuming I take it further, would be to make it only update the portion that's new, rather than refreshing the whole screen. Then if I had something like a cursor to move around, it would go much, much faster. The smallest set of dots you can update is a vertical stack of eight dots; so then if you had a cursor of, say, 8 dots tall and six wide, you'd need to update six bytes minimum, but usually 12 bytes since the cursor would usually be straddling a byte boundary.

Let's see if this graphic works out. It represents a portion that's two bytes high and six bytes wide:

Code: Select all

┌─╥─╥─╥─╥─╥─┐
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
╞═╬═╬═╬═╬═╬═╡
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
├─╫─╫─╫─╫─╫─┤
└─╨─╨─╨─╨─╨─┘
[/size]
The 64x128 LCD is a bit small for text, but the fact that it goes in groups of eight dot rows works out well for updating portions of text, particularly if you can confine the text to sets of 8 dot rows, and don't have to straddle rows. Of course if you wanted a font that was 15 dots high plus a few dots' separation between rows, you'd have a bigger software job.
http://WilsonMinesCo.com/ lots of 6502 resources

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Survey of Video Generation Possibilities

Post by brad » Fri Aug 19, 2016 11:36 pm

Does the LCD driver chipset allow you to update specific sections of a screen at a time? I haven't had much experience with these ones but I thought you just had to send it a full screen worth of data each time.

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Survey of Video Generation Possibilities

Post by Garth » Sat Aug 20, 2016 4:18 am

You can update as little as a byte at a time, and the change shows up immediately. A byte is a vertical stack of 8 dots. A full column on this 64x128, since it's 64 dots, is 8 bytes. This one has no gray scale or color, so each dot is either on or off.
http://WilsonMinesCo.com/ lots of 6502 resources

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Survey of Video Generation Possibilities

Post by brad » Wed Aug 24, 2016 10:24 pm

That would be fantastic for text I imagine since you would just need to be updating small sections at a time.

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Survey of Video Generation Possibilities

Post by Garth » Sat Sep 03, 2016 8:52 am

I should have added that another function built into the LCD is that it lets you tell it where the top is, meaning that to scroll up or down, you just give it that instruction with the parameter, then send only the new data you need to put at the top or bottom, instead of re-sending the whole screen.
http://WilsonMinesCo.com/ lots of 6502 resources

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Survey of Video Generation Possibilities

Post by Garth » Mon Dec 12, 2016 2:33 pm

I just came across this page that shows a lot of small fonts that people have figured out for LCDs (or any other video), to get as much text of different kinds as will fit readably in whatever size of LCD you have:
http://www.hpcalc.org/hp49/utils/fonts/
The picture at the right end of each post has the thumbnail. To get a bigger picture, click on "(Details)" next to the name of the font, then scroll down. There are different ones for sizes, Greek characters we use all the time in engineering and math, math symbols, etc.. I've figured out things like this before, and it took quite a bit of time to try different ideas to make them as readable as possible, especially for the tiniest font where you have to get a bit creative to get the characters in the fewest pixels and still have them come out readable. Here that part is already done.
http://WilsonMinesCo.com/ lots of 6502 resources

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Survey of Video Generation Possibilities

Post by brad » Wed Dec 14, 2016 7:44 pm

I have made different fonts for LED screens before and I know what you mean about trying to get readable characters in the fewest pixels possible. I found you can get alot of characters in a 3x4 pixel grid however there are some that just don't work correctly like M and W

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 2 guests