Controller port to serial cable
Posted: Sun Oct 07, 2012 7:16 pm
I believe blargg did something like that for the NES; but no SNES emulators support direct character output.In [url=http://forums.nesdev.com/viewtopic.php?p=100828#p100828]this topic[/url], nocash wrote:How are other SNES emulators doing character output? What I/O address(es) are they using? Which emulator(s) do support character output? Are there any?
However, take a look at USART. With a few simple parts, you can send and receive data over the controller port (synchronous, so no tricky timing to consider), and then you can write a PC program that can handle printing text, writing to files, reading from files, etc. The PC program allows for any kind of debugging you want.
The nicest part is it works under my emulator -and- on real hardware, so you can debug software on both with the same code.
If you really want to implement this as a print text only option ... go with $21c0-21ff, so that only PA7+PA6+/PAWR need to be watched. It probably doesn't matter, but the SA-1 maps $2200 (CPU control); which might matter for 16-bit writes (accidental or otherwise.)
If you're willing to help me make an SNES expansion port connector, I'll write the firmware to drive an LED to print out messages on real hardware as well as emulate it in software. Thread

