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

Metal Max 2 Kai (Japan) - Glitch on the text box #79

Open
wwark opened this issue Nov 28, 2020 · 3 comments
Open

Metal Max 2 Kai (Japan) - Glitch on the text box #79

wwark opened this issue Nov 28, 2020 · 3 comments

Comments

@wwark
Copy link
Contributor

wwark commented Nov 28, 2020

Save state:
https://github.com/MiSTer-devel/GBA_MiSTer/files/4130173/Metal.Max.2.Kai.Japan.zip

  • Activate turbo mode fixed this issue
  • The glitches are not present in the Rev1 of this game.

Thanks,

@paulb-nl
Copy link
Contributor

This game reads the VCOUNT register at rom address 800174E at the beginning of every line in an HBlank IRQ. The CPU sometimes reads the VCOUNT register too early (in the HBlank of the previous line) so the game does not get the value it expects.

Could be that the HBlank IRQ starts too early.

@RobertPeip
Copy link
Member

Thank you for debugging this.
I fear the current way the core is made can lead to minor inconsistencies of the timing.
I will work on an improved version at some point that solves such issues.

@paulb-nl
Copy link
Contributor

Thanks Robert. That would be great!

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

No branches or pull requests

3 participants