Re: Turning off some messages - is it possible? Is it unnecessary?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dave (noone_at_nowhere.com)
Date: 05/11/04


Date: Tue, 11 May 2004 00:54:48 -0000

timing at that level is usually only needed for device drivers, look into
how those are designed if you really need to go fast.

but i think you were talking about video games... remember, even if you
could possibly generate a frame rate of 100 frames per second that is still
10ms per frame. you can't see anything move any faster than that. at 60fps
you have 16ms per frame to work in.

as for input, a fast typist goes at 120wpm, which means 600cpm, or 10cps
which is 100ms per character... keyboard auto repeat ranges up to about
20-25cps so at the most you can only get one character every 40ms or so.

upping your thread priority may give you better control on a busy machine,
but don't try to go too fast or you are just doing extra work that you can
never see.

"Yasoo" <anonymous@discussions.microsoft.com> wrote in message
news:4B01FB3C-E3F5-4C2C-9063-1567F94DF75F@microsoft.com...
> Hi Joe -
>
> Thanks again. Believe me, the first thing I did was create a timer to
and set it to 100ms to get a feel for the speed. I was then going to
decrease to 50,25,10,5,etc. to hone in. I was really surprised to see that
1ms was still too slow and was inaccurate.
>
> O.K. DirectInput for getting controller input, but what about getting a
more accurate and/or quicker timer? From the research I've done so far, I'm
going to have to use timers in a 16bit dll. I'm thinking there is a better
solution than this, it sounds a little clunky.



Relevant Pages

  • Re: LXI, IEEE1588 and TTP
    ... > addition to these protocols. ... A sends a synchronisation frame to B and starts a timer when ... B reads the time at wich it receives the character and starts ... B sends a reply frame, reads the timer when the equivalent ...
    (comp.arch.embedded)
  • Re: Scrolling text in a stationary label help needed
    ... single pixel scroll just once in each Timer event, ... and displaying the "scrolling text in a transparent picture box" if it ... exactly correspond to the video "frame rate" (75 frames per second in the ... rest of your code could use that 3.3 milliseconds to do something else. ...
    (microsoft.public.vb.general.discussion)
  • Re: Turning off some messages - is it possible? Is it unnecessary?
    ... However, in the gaming domain, responsiveness (not efficiency) is the problem. ... >10ms per frame. ... the first thing I did was create a timer to ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: PDA as "X terminal"
    ... just frame change detection and compression). ... Then, when told to "update the physical display", ... character "text display". ...
    (comp.arch.embedded)
  • Re: Having a Hard Time with 4e
    ... My character only knows him to be a liar, ... utility spells I have are +5 to bluff and diplomacy checks in a skill ... encounter so that wouldn't help me, and then I have ritual casting and ... Seems to me with your skills you could frame his rogue after having prepped the town that he's a scumbag. ...
    (rec.games.frp.dnd)