Author Topic: resources on VGA  (Read 5622 times)

0 Members and 1 Guest are viewing this topic.

Offline jthomas

  • Newbie
  • Posts: 5
  • Country: gb
Re: resources on VGA
« Reply #25 on: October 13, 2017, 10:40:58 pm »
Using a PAL/GAL is kinda "period accurate" in a sense, as they would've been around at the time. In my case I had to compare 10-bit numbers and it was a huge pain in the arse trying to find a fast, easy way of doing that.

Perhaps the most important thing I learned during my initial experiments (other than how much piss you can take with timings and decoupling and have something still work!) was that Atmel 16V8's CAN be programmed with cheap TL866 programmers with no fuss whatsoever. I've lurked for long enough to know that Atmel SPLDs are treated with a lot of suspicion, and while the 22V10s don't work with the 866, the 16V8s definitely do and are extremely cheap for the functionality you get. They will now feature in all of my oldskool video controller designs.

The other possible advantage of using them is that assuming you end up using a socketed oscillator module, you could support a lot of other video timings/standards with one circuit design. Swap out the oscillator, adjust your sync and blanking timings, and change a VGA compatible signal into a 15KHz 50Hz one instead...

I'm currently waiting on some PCBs to turn up which should, in theory, give me a 64*48 display (512*384 resolution), with 16 colours, foreground and background colour per tile, and RAM-based character tile memory. If it actually works, and you haven't yet found a solution you're happy with, I'll gladly give you everything I have. At present it uses about 30 74HC chips, but I am not a professional design engineer so no doubt it can be optimised! :D
 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 627
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: resources on VGA
« Reply #26 on: October 13, 2017, 11:46:35 pm »
Today, I would say use a PAL/GAL in place of the eprom for the H&V and active area generator, but, either of these 2 solutions, you may put them in the same class as a using a PIC
The main difference between discrete ICs and a PAL/GAL is the convenience of being able to 'rewire' a part of the circuit without making physical changes. I would not consider it cheating (since PALs were often used in vintage computers) but there is something to be said for having actual wires that you can see and touch! After finalizing a design I will sometimes replace a GAL with standard logic chips in smd packages, which take up about the same amount of PCB space and use less power.

The convenience of programmable logic is a tradeoff. Right now I am working on an RGB video converter that replaces several chips and analog components with a single GAL. The idea was that it could be easily reconfigured to suit different devices, but I'm having trouble getting it to work properly with a particular gaming console (which I don't own so I have to emulate its signals) and it's driving me nuts! To make matters worse I have two so-called 'universal' programmers, neither of which can properly program all the GAL variants I have. Not knowing whether the GAL programmed correctly doesn't help...



     
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf