PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Detecting VSync

Does anyone know how PocketHal manages to detect the Vsync?

I would like to draw something using .NET CF (with GDI) on a Dell X30 (An XScale device), and the performance is fine with a simple double buffer, but I get a lot of tearing...

Is there a status byte or something, I can access to check for vertical retrace, or what the current scanline is?

Thanks in advance, Mikael.