Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposes JagLink/ComLynx UART to USERIO port #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kconger
Copy link

@kconger kconger commented Jan 17, 2025

Exposes JagLink/ComLynx UART to USERIO port

USERIO Pin 0 is RX
USERIO Pin 1 is TX

TestUART homebrew works with homemade JagLink to RS232 cable.

jaglink-snac

My copycat JagLink SNAC hardware appears to work. I'm able to use the TestUART ROM to send a character and it responds with the next character as described in the documentation. If you send an 'a' you get a 'b' returned for instance. However, it only works once and you need to reset the core to try again. Looking at the source to TestUART it looks like it should continue to run and respond to characters received.

None of the games are working at the moment. I have logic captures from each game trying to connect. What I noticed is only 1-2 bytes are sent from one or both Jaguar cores before TX is stuck low.

Aircars: The game fails unable to find another player.

BattleSphere/BattleSphere Gold: Unable to find another player, however, it seems to 'sense' the other MiSTer.

Doom: Locks up when looking for other players with or without my patch when trying to do multiplayer. The Option button should return you to the main menu.

Behind Jaggy Lines Bios (v1.06.d): UART game dumper when started(Button 6) produces an exception shortly after starting and spits out a couple of bytes over Jaglink. The exception varies but here is one example.
BJD-Exception

In SignalTap after the byte is sent it seems to sit in the register. I'm wondering if this is exposing a bug as all software exhibits the same behavior.

TestUART.zip

Jaguar_DS_JagLink_20250117.rbf.zip

@greyrogue
Copy link
Collaborator

B is already used by save states. Can you move to H?

@kconger
Copy link
Author

kconger commented Jan 17, 2025

B is already used by save states. Can you move to H?

Thanks for looking, I've adjusted it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants