Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 746

NES serial out via P2 latch ($4016)?

$
0
0
Hi there,

First post here! And disclaimer: I'm a complete noob in both NES hardware and electronics in general, but I was hoping to get some pointers on a project I have.

The context is NES Classic Tetris. In the Classic Tetris community, we have a few OCR tools that can reconstruct game data from the video signal. The game data can be used to re-render the game in HD, compute many new game stats, and build head-to-head competitive layouts.

Reading the video signal works well enough but it's finicky, so I was hoping to set up an easier and more reliable method by exporting game data via the controller 2 latch line (by having a modified version of the game write to $4016, 1 bit at a time, at every frame).

End goal I'm trying to produce: a dongle that plugs into controller 2 port, gets linked to a computer via a USB cable, identifies itself as a serial device, and allows a program to read a continuous stream of game data. I sort of assume something like that must have already been done or made, but I must not be using the right search terms because I'm struggling to find references 😢

So with that intro, my questions:
* do you folks have any advice or concern for this approach?
* are there any reference you could direct me to to build a prototype? What components/microcontroller do I need to build that serial device from the P2 latch line? (I already ordered some random stuff I hope can get me started, like arduino uno r3, ch340g dongle, controller cable)... but I haven't started with anything, and basically I don't really know what I'm doing yet 😅

Any advice would be much appreciated!

Thanks!
Yobi

Statistics: Posted by yobi — Wed Jan 03, 2024 3:31 am — Replies 2 — Views 92



Viewing all articles
Browse latest Browse all 746

Trending Articles