VGA 20-column driver?
localroger
Posts: 3,452
I find myself needing to replace a 4x20 VFD with an industrial LCD monitor driven by a Propeller. VGA.spin would be more than adequate but 32 characters wide is too dense and 15 isn't enough. Has anybody had luck adjusting the horizontal timing parameters for lower resolution? I've tried reducing vga_rate where it's set in vga_text.spin and scaling the horizontal dot counts appropriately, but I can't get the monitor to sync.

Comments
vga_params long 0 'status long 1 'enable long 0 'pins long %1000 'mode long 0 'videobase long 0 'colorbase long [COLOR="blue"]20[/COLOR] 'hc long [COLOR="blue"]18[/COLOR] 'vc long 2 'hx long 1 'vx long 0 'ho long 0 'vo long 640 'hd long 32 'hf long 102{.4} 'hs long 70{.4} 'hb long 600 -24 'vd long 1 'vf long 4 +12 'vs long 23 +12 'vb long 32_000_000 'rateOr alternatively (20x15, 640x480 timing):vga_params long 0 'status long 1 'enable long 0 'pins long %1000 'mode long 0 'videobase long 0 'colorbase long [COLOR="blue"]20[/COLOR] 'hc long [COLOR="blue"]15[/COLOR] 'vc long 2 'hx long 1 'vx long 0 'ho long 0 'vo long 640 'hd long 16 'hf long 96 'hs long 48 'hb long 480 'vd long 10 'vf long 2 'vs long 33 'vb long 25_175_000 'rateWe really ought to have a library of known working alternate timings somwhere.