Re: vertical retrace

new topic     » topic index » view thread      » older message » newer message

David,

I don't think you need assembly! Using Jacques port.e :

   include ports.e
   procedure wait_for_vtrace()
      while and_bits(Input(#3DA),8) do end while
      while not and_bits(Input(#3DA),8) do end while
   end procedure

It should work, but it will slow down things somewhat. Fortunately, I do not
have a problem with flicker/jitter on any of my machines, so I can't really test
it; it must be hardware dependant. Let me know if it works. Jiri

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu