Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making a timer based delay less than .01 secs
#11
(we need a FAQ on the FAQ) Smile

The FAQ is a pseudo-wiki. In a wiki, keywords with a "?" are not entered yet, so people can add text just clicking on them.

We have restricted access with a password so only trusted people who requires it can edit the FAQ.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#12
oh that's mean
·····································LINEAR INC·····································
Ø-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance
Reply
#13
i will scream. SCREAM!

-----------you don't need a delay smaller than 1/60th of a second.

WHY!?!? BECause people can't NOTICE A DELAY smaller than 1/60th of a SSEConrtttu!!!vb457dr67bd67nhfd7ciutviyviu
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#14
I dont trust the vertical refresh. It leads a trail of lies and deceit not to mention it tends to fail me now and then because of monitor settings. Plus, it only pauses for the rest of the refresh rate, it can't be used for things as complex as a hi-res timer.

But yeah, vertical refresh rate works fine for some stuff.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#15
The bad thing with VSync is Windows. Windows screws the VSync sequence with its continuous interrupts, so VSync will not always give that flicker-less, constant-speed animation it gave in pure DOS.

For example, it is impossible doing pure page-flipping in QB using VSync, 'cause it desyncs and flicker in Windows. I'll post my code. You'll se it flickering in Windows, but if you boot in DOS (pure DOS, not DOS boxes) flickers will just go away.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#16
Quote:The bad thing with VSync is Windows.

You said it, Nat, not me: The bad thing is Windows. [Image: buck.gif]
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)