[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HDMI Video/Audio Card
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. A 3200 mode program will use these
counters to determine when to switch the palettes. 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.
(Also, for the record, there is a way to read the VOC counters directly.)
-- Daniel