Attention C3 owners: VGA test request
kuroneko
Posts: 3,623
The attached archive contains a simple 64 column VGA text driver demo. This is in effect the same demo Bill is using for his drivers with the additional VGA buffer enablement for the C3.
So if you have a minute could you please run this demo and report success/failure? Thanks.
It's also usable on the demoboard.
So if you have a minute could you please run this demo and report success/failure? Thanks.
It's also usable on the demoboard.
Comments
My 64 and 50 column drivers work just fine, once you enable VGA output on the C3 :-)
In my demo's start method, add the following lines so it looks like this:
Both drivers run perfecly on my little 5" VGA OEM module, every time.
Now when I can steal some more time, I just have to get the 80 column driver running with kuroneko's hub/waitvid sync lock patch...
Your demo runs fine on my C3. I tried a few different modes and everything seems to work ok - and my LCD monitor is a wee bit choosy! - well done.
Ross.
kuroneko's patch for forcing the video output to synchronize with the hub fixed the "I will only sync when I feel like it" issue; which was caused by some pipelining weirdness.
I also have a single cog 40 column VGA text driver; once I patch that, I will also release that driver.
Ray
It works fine for me on the C3 hardware (loaded it 20 times).
Could someone please point me towards the explanation of the magic that takes place when apparantly takes the place of a
I don't have anything to point you at (except suggesting a tag search for waitvid and reading the relevant thread(s)).
That said, initially all instructions go through the same steps which is fetching src and dst. waitvid isn't different, its primary function is add and it has some h/w attached to sync with the video circuitry. IOW, all it does is latch the data, wait and then add (nr style). The only real difference to add is the ability to wait for the (waitvid) hand-off point (WHOP). Now, if we know when the WHOP happens then there is no point waiting, we just make sure the data is latched and go about our business.
In the case of Bill's VGA driver this is what we do, i.e. arrange it so that the WHOP is located conveniently about 4 cycles after a rdlong which gives the cmp (or any other suitable instruction, e.g. ones color, pixel nrA) enough time to latch dst (colour) and src (pixel) info and then we still have enough cycles left for an embedded djnz.
A we need dst intact for each line