By: Albert Emanuel Milani,
created: 2015-09-17
| updated: 2015-09-28
Drop-in VGA.spin replacement for TV.spin.
I wrote this almost six years ago and barely remember how it works. I believe it should work with Graphics_Demo.spin and anything else that uses the same resolution.
Comments
ggysbers replied on Permalink
if 100MHz clock (6_250_000 crystals)
if using a 100MHz clock and samsung/lg vga monitor sleeps after flashing "not opti resolution," change line 90 to "vga_rate:=20_000_000"
Electrodude replied on Permalink
100MHz clock
You know what? Right before I submitted this object, I changed line 90 from "vga_rate:=20_000_000" to "vga_rate:=clkfreq>>2", thinking that would make it work at 100MHz (because 20_000_000 == 80_000_000 >> 2 == clkfreq {at 80MHz} >> 2) without testing it.
I changed line 90 back to "vga_rate:=20_000_000" and re-uploaded it to the obex (without testing it, sorry).