#52902 - QuantumDoja - Sun Sep 04, 2005 2:45 pm
Hi, how do/can i tell when hblank is occuring as i need to do some process while its occuring....I have code like this for my vsync
i guess im after some code like:
_________________
Chris Davis
Code: |
void WaitForVsync() { while((volatile u16)REG_VCOUNT == 160) {} while((volatile u16)REG_VCOUNT != 160) {} } |
i guess im after some code like:
Code: |
void WaitForHBlank() { //do extra processing } |
_________________
Chris Davis