Restored from previous forum. Originally posted by GIDO.
How can I detect the vertical blanking (or a specified line if it's possible ) ?
Thank you
Vertical blanking
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Danilo.
Get a C64
What do you need it for ?? Desktop-Application or DirectX Fullscreen ??
Atm i dont think its possible in Win32, but maybe its possible
with DirectX now. Normally, all the retrace stuff is managed
by Windows and DirectX itself, so you cant access it.
Maybe i´m wrong and somebody has a solution under Win32 for this.
Maybe i´m totally wrong and you work with Linux or AmigaOS...
cya,
...Danilo
(registered PureBasic user)
Get a C64
What do you need it for ?? Desktop-Application or DirectX Fullscreen ??
Atm i dont think its possible in Win32, but maybe its possible
with DirectX now. Normally, all the retrace stuff is managed
by Windows and DirectX itself, so you cant access it.
Maybe i´m wrong and somebody has a solution under Win32 for this.
Maybe i´m totally wrong and you work with Linux or AmigaOS...
cya,
...Danilo
(registered PureBasic user)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by GIDO.
Thanks for your answer.
yes, I used before Amiga to check very easily the VBL
and the scanline .
Now I must work with windows and try to do the same .
I work with a openedwindowscreen and a video window ( external video with capture board or Mpeg file )on the desktop.
My graphicboard ( ATI ) output a video PAL 50Hz . For my application, I must refresh my screen in relation of the VBL ; I checked it with hardware ( I extract the vertical synchro of the video output PAL to synchronise my application ) and it runs well . If I can do that with software, It will be better .
Fred speaks about GetScanLine() or GetVerticalBlankStatus() !
where can I have more informations about these commands and how to use it with PB ?
Thank in advance
Thanks for your answer.
yes, I used before Amiga to check very easily the VBL
and the scanline .
Now I must work with windows and try to do the same .
I work with a openedwindowscreen and a video window ( external video with capture board or Mpeg file )on the desktop.
My graphicboard ( ATI ) output a video PAL 50Hz . For my application, I must refresh my screen in relation of the VBL ; I checked it with hardware ( I extract the vertical synchro of the video output PAL to synchronise my application ) and it runs well . If I can do that with software, It will be better .
Fred speaks about GetScanLine() or GetVerticalBlankStatus() !
where can I have more informations about these commands and how to use it with PB ?
Thank in advance

