2003-07-15 02:55 AM
2003-07-15 02:55 AM
I have a little problem in detecting the vertical blank to draw smooth animation. I detect the vsync on the bit 3 of 0x3DA addr, but I need the flip-flop one, located in bit 7 of 0x3C2 controlled by the vertical retrace end register. The problem is that I want to see the change by polling the bit 7 and rearm it with VGA IR bit 4. I made some tries of write to VGA IR but it result in no vsync detection or wrong in-frame detection. Has someone any idea?