Re: WE Super VIDC information
Posted: Thu May 09, 2013 5:00 pm
Ok, after some more testing and checking and analysis of WE's own BaseVGA module disassembly, here's the final information regarding the WE VIDC Enhancer in terms of the bits and their meanings.
bit
7 - H. Sync Polarity
6 - V. Sync Polarity
5 - 25.175MHz oscillator presence (tied to GND when not fitted or defaulted to +5v)
4 - Sync. Polarity circuit presence (tied to bit 3 when not fitted)
3 - inv. H. Sync. Polarity
2 - inv. V. Sync Polarity
1 - Clk bit 1
0 - Clk bit 0
So, some simple rules can be used to determine the type of WE VIDC Enhancer fitted.
To detect the presence of the 25MHz oscillator: pass in &FF look for bit 5 being 1 or 0 - TST &20 - (0 = 36MHz only, 1 = dual oscillators)
To detect whether Sync. Polarity is supported, pass in &F7 look for bit 4 being 1 or 0 - TST &10 - (0 = No Sync.Polarity, 1 = Sync. Polarity circuit fitted)
This gives you everything you need to know about the enhancer that is fitted. You don't really need to detect the Sync. Polarity circuit. You can send the Sync. Polarity data regardless and the clock selection is unaffected.
bit
7 - H. Sync Polarity
6 - V. Sync Polarity
5 - 25.175MHz oscillator presence (tied to GND when not fitted or defaulted to +5v)
4 - Sync. Polarity circuit presence (tied to bit 3 when not fitted)
3 - inv. H. Sync. Polarity
2 - inv. V. Sync Polarity
1 - Clk bit 1
0 - Clk bit 0
So, some simple rules can be used to determine the type of WE VIDC Enhancer fitted.
To detect the presence of the 25MHz oscillator: pass in &FF look for bit 5 being 1 or 0 - TST &20 - (0 = 36MHz only, 1 = dual oscillators)
To detect whether Sync. Polarity is supported, pass in &F7 look for bit 4 being 1 or 0 - TST &10 - (0 = No Sync.Polarity, 1 = Sync. Polarity circuit fitted)
This gives you everything you need to know about the enhancer that is fitted. You don't really need to detect the Sync. Polarity circuit. You can send the Sync. Polarity data regardless and the clock selection is unaffected.