Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Changing the reset OSD option to act like real Genesis reset button. #128

Merged
merged 1 commit into from May 9, 2020

Conversation

iequalshane
Copy link
Contributor

This is required for some games like X-Men (Beating the game after Mojo's stage) and X-Men 2 (to select starting character) as well as others.

…e real

Genesis. This is required for some games like X-Men (Beating the game after
Mojo's stage) and X-Men 2 (to select starting character) as well as a others.
@iequalshane
Copy link
Contributor Author

#127

@sorgelig
Copy link
Member

sorgelig commented May 8, 2020

so even controller reset is affected?

@iequalshane
Copy link
Contributor Author

In real hardware, yes. We could probably get away with resetting it anyway, but it would be less authentic. I haven't tested to see if everything still works when this gets reset, but I can't imagine any game uses the current IO state at boot to determine anything.

@iequalshane
Copy link
Contributor Author

Actually, it looks like this is required. I'll post more info shortly as to why.

@iequalshane
Copy link
Contributor Author

Okay, so games use the current gamepad control state to detect a soft reset and know that it can trust RAM. This happens in both unofficial and official games, though I can't say how many. You can see Tanglewood do it at the start of this file:
https://github.com/BigEvilCorporation/TANGLEWOOD/blob/master/bigevilframework/FRAMEWK/INIT.ASM

@sorgelig
Copy link
Member

sorgelig commented May 9, 2020

interesting. Thanks!

@sorgelig sorgelig merged commit 21644a1 into MiSTer-devel:master May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
2 participants