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

GB key IRQ always happens at the same LY #114

Open
pinobatch opened this issue Jan 21, 2023 · 0 comments
Open

GB key IRQ always happens at the same LY #114

pinobatch opened this issue Jan 21, 2023 · 0 comments

Comments

@pinobatch
Copy link

A program can tell that it's running on Mesen-S because the key IRQ always happens right at vblank.

Environment: Mesen-SX Linux build #25 (built from c85dd78) on Mono 6.8.0.105 on Xubuntu 22.10

To reproduce:

  1. Run Mesen-SX in Game Boy or Game Boy Color mode
  2. Start the attached test ROM "Telling LYs?" tellinglys-0.02.zip
  3. Press all 8 buttons in any order
  4. Watch the arrow sprite at the right side

Expect: Arrow moves after each press, followed by "Pass", as on DMG, CGB, DOL-017, and BGB emulator

Actual: Arrow stays half off the bottom of the screen, followed by "Incorrect behavior: Emulator fires joypad interrupt at same line each time"

Super Game Boy mode doesn't even get past the title screen, which I reported as issue #113.

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

No branches or pull requests

1 participant