konimaru / waitvid.2048

video drivers for the Parallax P8X32A
MIT License
19 stars 6 forks source link

New driver for specific device #25

Open thedrip opened 4 years ago

thedrip commented 4 years ago

Thank you for such a great little video driver!

It's working great, but I was wondering if I could request a specific resolution.

800x480 @ 60 100X60 character and/or 50X30 character

This is for a rc2014 vt100 being used with with a 7" 800x480 ebay special Pi monitor.

Thank you!

Edited character counts because I can't do math

konimaru commented 4 years ago

OK, just hunting down the timing info. If you have any input regarding this please drop a note.

thedrip commented 4 years ago

This is what I found when trying to rewrite the code myself.

Horizontal: front porch=40, sync width=48, back porch=40, display=800 Vertical: front porch=13, sync width=3, back porch=29, display=480 Dot clock: 40 MHz

thedrip commented 4 years ago

I found another project, using the timing below

Horizontal geometry: Scan rate: 31.5 kHz Active: 800 pixels Front porch: 64 pixels Sync width: 80 pixels Back porch: 56 pixels Total: 1000 pixels Vertical geometry: Refresh rate: 60Hz Active: 480 lines Front porch: 28 lines Sync width: 3 lines Back porch: 14 lines Total: 525 lines

I think that works out to a 31.5MHz pixel clock