Vaus Test

A place where you can keep others updated about your NES-related projects through screenshots, videos or information in general.

Moderator: Moderators

Post Reply
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Vaus Test

Post by tepples »

I recently won a copy of Arkanoid (loose cart + controller) on eBay. A few days later, I made a test program for the controller. I've only tested it on an NES, but the Famicom mode works in FCEUX.

Vaus Test (updated Sunday 2013-11-10)
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: Vaus Test

Post by cpow »

tepples wrote:I recently won a copy of Arkanoid (loose cart + controller) on eBay. A few days later, I made a test program for the controller. I've only tested it on an NES, but the Famicom mode works in FCEUX.

Vaus Test
So the character just moves left or right? No trigger action? What is the significance of the two balls?

As usual: mind if I add this to here?
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Vaus Test

Post by tepples »

cpow wrote:So the character just moves left or right?
It's a quickie mod of my sprite demo to have the character follow the position of the pot.
No trigger action?
A on controller 1 hides the balls, and the trigger shows them again.
What is the significance of the two balls?
Top ball and brackets: Raw (inverted) pot readout, with maximum and minimum readings since reset.
Bottom ball: Pot readout normalized to be centered around 128. The character seeks this.
As usual: mind if I add this to here?
Go ahead. If I get a chance, I might make this test more thorough to see exactly how long it takes to sample the pot.
3gengames
Formerly 65024U
Posts: 2284
Joined: Sat Mar 27, 2010 12:57 pm

Re: Vaus Test

Post by 3gengames »

I had a vaus test program that displays the value horizontally, a sprite, and an indicator of the button being pressed years ago. It should work on hardware, my game did with the vaus and the code is identical.
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Vaus Test

Post by tepples »

The black outer shell of the cable where the covering met the case had come loose, as the original listing showed, so I duct-taped it up so that the wires inside wouldn't detach even farther. This means I might slip and call the trigger the "A Button".
Attachments
vaus_taped.jpg
vaus_taped.jpg (20.86 KiB) Viewed 12536 times
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Vaus Test

Post by tepples »

0.02 is out. It has a greatly expanded manual and two new test screens.

Turns out it takes about 8 ms for the sampling process to complete. So don't try reading it faster than twice per frame, and don't read it twice in a row the way you would to detect DMC bit deletions on a standard controller. However, you can calculate the current acceleration by taking the difference between the value at time t-1 and the average of the values at times t and t-2. If its absolute value exceeds about 10, something glitchy happened.
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Vaus Test

Post by tepples »

Now on GitHub as part of little things
Post Reply