Zap Ruder: The Zapper test ROM project

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

Moderator: Moderators

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

Re: Zap Ruder: The Zapper test ROM project

Post by tepples » Mon Mar 04, 2013 7:34 pm

I have found X coordinates too noisy on my NTSC NES to be of any real use.

General advice: remove 7 cycles from each loop and reduce the subpixel addition to $90 instead of $AA.

zzo38
Posts: 1056
Joined: Mon Feb 07, 2011 12:46 pm

Re:

Post by zzo38 » Mon Mar 04, 2013 10:39 pm

tepples wrote:The big thing I'm missing at the moment is how to make the CPU opponent play fair. Right now it plays nearly perfectly despite using a controller.
I would like to have the option to allow it to stay as it is if wanted (possibly push SELECT before the game starts, when it is asking players?), as well as a display of the total number of times the ball bounce, just in case you want to play both sides by yourself (I sometimes do this, with this game) or to have a meaningful score against the perfect opponent.
[url=gopher://zzo38computer.org/].[/url]

FrankWDoom
Posts: 177
Joined: Mon Jan 23, 2012 11:27 pm

Re: Zap Ruder: The Zapper test ROM project

Post by FrankWDoom » Fri Oct 11, 2013 8:38 pm

finally sat down with this to check it out last night after not having any zappers or crt's at the same time forever. really neat stuff to play around with. it's pretty impressive how accurately the gun can track on the Y axis.

I have a standard zapper and a camerica video blaster to play with. they both perform similarly on the tests. on the Y axis test, the video blaster actually has a much smaller "height" value - the indicators are overlapped. thought that was cool

one issue I have identified is the handling of "firing". playing standard duck hunt, pulling the trigger past the first click "loads" the shot, and releasing the trigger (either by letting the trigger return, or pulling it past the second click) actually fires the shot. this is analogous to the counter starting and stopping on the trigger game.
the video blaster actually has to be cocked before the trigger can be pulled.

wherever firing is used for some action on the test cart, it seems to be registering immediately rather than upon release. not so much an issue here, but I was trying out a vs. duck hunt on-a-cart hack and it's using the same behavior. again this is fine with the zapper since pulling the trigger usually means you want to shoot something.

the video blaster is different - it has a working hammer that has to be cocked before the trigger can be pulled. on this gun, setting the hammer "loads" the shot, like pulling the zapper trigger halfway. pulling the trigger releases the hammer, and with regular duck hunt, this is when the gun fires. however on the test cart and the vs duck hunt hack, the gun fires when cocking the hammer (very early, whenever it gets far enough to register). not much of an issue on the test cart, but on vs duck hunt, or if someone were to create a new zapper game like this, the game is unplayable with the video blaster. which is unfortunate because it's awesome.

lidnariq
Posts: 8902
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Zap Ruder: The Zapper test ROM project

Post by lidnariq » Fri Oct 11, 2013 9:41 pm

To make sure I'm understanding you correctly:
* Zapper behavior: trigger reads true after partial press until 5 frames after release or full pull
* Video blaster behavior: trigger reads as true when cocked, false after fired
?

FrankWDoom
Posts: 177
Joined: Mon Jan 23, 2012 11:27 pm

Re: Zap Ruder: The Zapper test ROM project

Post by FrankWDoom » Fri Oct 11, 2013 10:08 pm

lidnariq wrote:To make sure I'm understanding you correctly:
* Zapper behavior: trigger reads true after partial press until 5 frames after release or full pull
* Video blaster behavior: trigger reads as true when cocked, false after fired
?
right. I don't know about the exact timing of when the system is notified, but that's the general logic of it. the hammer on the video blaster is the actual trigger, and the "trigger" is just a manual release lever. I can take a crappy phone video if you want to see the test cart responding to both guns.

lidnariq
Posts: 8902
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Zap Ruder: The Zapper test ROM project

Post by lidnariq » Fri Oct 11, 2013 10:54 pm

Nah, no need. Your confirmation of my restatement is good enough.

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

Re: Zap Ruder: The Zapper test ROM project

Post by tepples » Sun Aug 10, 2014 7:31 pm

Now the problem becomes how to detect X the right way, treating the screen as a 4-bit Gray coded position encoder with one bit per frame. Is this too much of a seizure trigger?
Attachments
stuf.gif
stuf.gif (9.05 KiB) Viewed 11881 times

lidnariq
Posts: 8902
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Zap Ruder: The Zapper test ROM project

Post by lidnariq » Sun Aug 10, 2014 9:22 pm

I briefly tried a version of that test with using binary instead of grey code.
The problem I had was that the gun would move enough from vblank to vblank such that there was noticeable error in the (successive approximation ADC) that was this technique.

When I kept my hand fairly still it worked.

User avatar
rainwarrior
Posts: 7700
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Zap Ruder: The Zapper test ROM project

Post by rainwarrior » Thu Jun 02, 2016 7:28 pm

Just in case anyone else is looking for the Zap Ruder ROMs (cause the links in this thread are dead), the 0.03 version is available on tepples' site here:
https://pineight.com/nes/

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

Re: Zap Ruder: The Zapper test ROM project

Post by tepples » Sat Nov 19, 2016 8:31 pm

Is Podge punching your ass at ZapPing no matter how you shake the Zapper?

Git gud or Git out. pinobatch/zap-ruder

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

Re: Zap Ruder: The Zapper test ROM project

Post by tepples » Mon Apr 15, 2019 1:17 pm

This is a repack of v0.03 with no substantive code changes.
  • Rebuild with Python 3 and recent ca65
  • Move audio subroutine names into Pently namespace
  • Move binaries from repository to release
Attachments
ruder-0.03a.zip
(79.74 KiB) Downloaded 259 times

Post Reply