[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HDMI Video/Audio Card



On 1/18/2012 3:24 PM, Daniel Kruszyna wrote:
Charlie<charlieDOTd@vereyezon.net>  wrote:

I don't see any need to do any more syncing than is being done.  The
non-GS video modes are very good.  What would syncing with the composite
out to the VOC achieve?

The current state of the video scanner can be read at $c02e and $c02f.  These
registers contain the horizontal and vertical counters which are used to
calculate which video ram address to access.

Yes, I understand this. My code does not use these register values for anything.

A 3200 mode program will use these
counters to determine when to switch the palettes.

Okay.  That's something I can look at.

Now, the VOC has its own
MegaII, with another set of counters. If the two sets are not synchronized,
then the software will store the palettes for one section of the screen while
the VGA scanner is actually drawing a different section.

Okay, that could be my problem, and if I'm understanding you correctly I should be synchronizing the RGB/VGA output to the current state of the video scanner at $c02e and $c02f. Thank you for the info.

(Also, for the record, there is a way to read the VOC counters directly.)

Care to elaborate?

Charlie