1. Veritcal Retrace
- Posted by John DeHope <jwap at SOUTHEAST.NET> Oct 04, 1997
- 614 views
I am sure somebody has already included this in one of their graphics packages, so I just need to know what file to download. I need a function to pause until a veritcal retrace is completed. Thanks. John DeHope
2. Re: Veritcal Retrace
- Posted by nieuwen <nieuwen at XS4ALL.NL> Oct 05, 1997
- 592 views
John DeHope wrote: > I am sure somebody has already included this in one of their graphics > packages, so I just need to know what file to download. I need a > function to pause until a veritcal retrace is completed. Thanks. > John DeHope ---------- Include gfx.e -- The first version call (wait_retrace_a) -- or call (wait_retrace_b) ------------- You can just strip the code out of gfx, if you look good, althrough you can use it too, just set WaitRetrace = TRUE. And then before any graphics action to the screen, a there will be waited for a vertical wait retrace. It doesn't happen with all the graphix actions on the virtual screens. See gfxdemo.ex for an example how you can turn it on or off for the gfx routines, or hack my code and copy the part you want. If you have trouble hacking, i'll give you the code next time you ask, it is callable machine code (and is also included in modeX lib, it might be easier to hack it from there) translated by Pete Eberelein, from C source from the ASphysia (or something) tutorials. Ralf Nieuwenhuijsen nieuwen at xs4all.nl