1. Veritcal Retrace

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

new topic     » topic index » view message » categorize

2. Re: Veritcal Retrace

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu