Weird cardridge with infrared - help rev en

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

Post Reply
krzysiobal
Posts: 731
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland

Weird cardridge with infrared - help rev en

Post by krzysiobal » Fri Nov 03, 2017 1:07 pm

Image Image Image

PRG-ROM and mapper are integrated in blob, so no idea if PRG banks can be switched or not.
Does not work properly in emu as NROM (dumped $8000-$ffff).
It writes something to $4801 and then $4802, but during write cycle, neither 74161.CLK goes down, nor U5A.1

https://www.youtube.com/watch?v=ChP5okfMzD4
Attachments
rom.nes
(32.02 KiB) Downloaded 338 times

User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: Weird cardridge with infrared - help rev en

Post by cpow » Fri Nov 03, 2017 1:16 pm


User avatar
Fisher
Posts: 1089
Joined: Sat Jul 04, 2015 9:58 am
Location: -29.794229 -55.795374

Re: Weird cardridge with infrared - help rev en

Post by Fisher » Fri Nov 03, 2017 1:42 pm

Could this be a cartridge of an clone with motion controls?
If I remember correctly there were a few of them when Wii was on top.
I never saw one personally... :-(

krzysiobal
Posts: 731
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland

Re: Weird cardridge with infrared - help rev en

Post by krzysiobal » Fri Nov 03, 2017 1:52 pm

No idea, all I have is this cart, but probably yes, because joypad cannot be used to control players during match.

Writing $c to $4801 and then $1 to $4802 as game does, does not change current bank. Maybe there is some additional trick to `unlock` those bank change.

---
edit: Ok, it does change bank, M2 need to be cycling constantly.

User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: Weird cardridge with infrared - help rev en

Post by cpow » Fri Nov 03, 2017 1:57 pm

krzysiobal wrote:No idea, all I have is this cart, but probably yes, because joypad cannot be used to control players during match.

Writing $c to $4801 and then $1 to $4802 as game does, does not change current bank. Maybe there is some additional trick to `unlock` those bank change.
The mapper doc says the bank change is committed only when $4801 is written so write $4802 first. The game could just be assuming whatever is behind $4802 has a valid reset default.

krzysiobal
Posts: 731
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland

Re: Weird cardridge with infrared - help rev en

Post by krzysiobal » Fri Nov 03, 2017 2:10 pm

1. I think writing order does not match
2. Only D2,D1 from $4801 is taken into account
3. I got working full dump - thank you :))
Attachments
rom_full.nes
(512.02 KiB) Downloaded 342 times
Last edited by krzysiobal on Fri Nov 03, 2017 2:15 pm, edited 2 times in total.

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

Re: Weird cardridge with infrared - help rev en

Post by lidnariq » Fri Nov 03, 2017 2:12 pm

Have you figured out what it's doing with the IR receiver?

krzysiobal
Posts: 731
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland

Re: Weird cardridge with infrared - help rev en

Post by krzysiobal » Fri Nov 03, 2017 2:37 pm

IR receiver is probably to control player movemeng in game.
Here it is low level protocol from hardware. How those read bits make commands need to be analyzed from ROM.
But when I light TV remote control into this sensor, the ball is fired so it works :P

Code: Select all

[I... ....] $6000-$7fff (write)
 |
 +---------- 0: pull IRQ to VCC, 1: drive IRQ with data data from IR sensor
 
 
light received --+ +-+ +-+ +-----------
by IR sensor     | | | | | |
                 +-+ +-+ +-+
				      ^_______ some unknown frequency
				 
output of      --+         +-----------
IR sensor        |         |
                 +---------+
				 
Huge cap at IR sensor causes short pulses to be ignored
--------------------------------------------------------------
[.... ...V] $5000-$5fff (read)
         |
		 +-- read current bit from IR sensor (no matter if IRQ is enabled or not)
Hahaha, better than D-pad:
https://www.youtube.com/watch?v=qFrkYxW1ehM

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

Re: Weird cardridge with infrared - help rev en

Post by lidnariq » Fri Nov 03, 2017 3:06 pm

some unknown frequency
Very likely 38kHz, but I guess 56kHz receivers are not too rare.

Typical bandwidth after demodulation is about 1kHz.
Hahaha, better than D-pad:
That's surprisingly compelling.

Post Reply