Previous Thread
Next Thread
Print Thread
Page 5 of 5 1 2 3 4 5
Re: Vsync and input lag in Nestopia [Re: blargg] #62236 05/27/10 12:01 AM
Joined: May 2010
Posts: 8
P
pmoxy Offline
Member
Offline
Member
P
Joined: May 2010
Posts: 8
Originally Posted By blargg
I whipped up a quick reflex tester ROM which I hope to clean up another time. When run, it makes the screen white and waits for your to press A to seed the random number generator. It clicks and delays for 2-6 seconds, then clicks and makes the screen white. At this point you should press A as quickly as you can. It prints the number of milliseconds between the screen changing and you pressing A, then waits for you to press A to start another trial.

Take several times and average them for better accuracy, since the figure varies by many tens of milliseconds. On an emulator that only reads input once per frame, measurements will always vary by a multiple of 16.6666.

I took measurements for several setups involving my NES and an emulator on my PC with a CRT refreshing at 76 Hz. For each setup, I took 12 times and found the average. For audio, I used headphones.

Code:
189	Video, NES on TV
194	Video, NES on video capture
227	Video, emulator using custom serial joypad
236	Video, emulator using keyboard
254	Video, emulator using keyboard, vsync enabled
231	Video, emulator using custom serial joypad, vsync enabled
191	Audio, NES RCA out
254	Audio, emulator using custom serial joypad
Take your own measurements and post them with a description of what you timed.

reflex_timer.nes


Sorry I know this thread is 4 years old but I was wondering if anyone still has the reflex timer thing that blargg posted here (link is dead). I want to run some response time tests with a couple of my gamepads.

Thanks.

Re: Vsync and input lag in Nestopia [Re: pmoxy] #64929 10/09/10 04:53 PM
B
bugmenot
Unregistered
bugmenot
Unregistered
B
I second the request (he also posted another 2 test roms).

Besides, to add something to the discussion about input lagging,
i guess that gamepads connected with parallel port adaptors should lag less than any USB gamepad.

I've just done a very un-scientific test trying to play Crisis Force in co-op mode, pressing the same key on both pads at the same time.
The result was that the ship controlled by the pp-connected pad seemed to move first.
This result may be subjective, but there are many factors that suggests it is not:
- no parallel to serial conversion
- no data framing/enveloping is required, the CPU polls the port directly
I've always had the feeling that USB gamepads lags more than old PC game pads, maybe this is the price to pay for the ubiquity of USB.

[moderator note: illegal account, will be nuking ASAP].

Re: Vsync and input lag in Nestopia [Re: ] #64953 10/11/10 05:53 AM
Joined: Jan 2005
Posts: 154
blargg Offline
Senior Member
Offline
Senior Member
Joined: Jan 2005
Posts: 154
Re-uploaded files (I left off the first reflex_timer since I think the later two replaced it): time_nes_latency.zip

Re: Vsync and input lag in Nestopia [Re: blargg] #65092 10/17/10 05:02 AM
Joined: May 2010
Posts: 8
P
pmoxy Offline
Member
Offline
Member
P
Joined: May 2010
Posts: 8
Thanks blargg

Page 5 of 5 1 2 3 4 5

Moderated by  Marty, R. Belmont 

Who's Online Now
2 registered members (hal3000, 1 invisible), 344 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,693
Posts114,259
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3