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

Emulator hangs when playing my homebrew ROM #337

Open
wendelscardua opened this issue Jun 1, 2020 · 2 comments
Open

Emulator hangs when playing my homebrew ROM #337

wendelscardua opened this issue Jun 1, 2020 · 2 comments

Comments

@wendelscardua
Copy link

I made a NES ROM for a Game Jam, and it's simply a Mapper 0 one: https://wendelscardua.itch.io/retropia

It plays fine on many emulators (at the moment I tried on FCEUX, Nintaco and NintendulatorDX), but one of its minigames just hangs on JSNES.

If it helps, I've uploaded a debug version of the game here: https://scardua.net/retropia-debug.nes . Debug version makes all minigames available on the first area; the one that hangs is "Mine Finder". Steps to reproduce bug: start new game, then move player to the bottom left cartridge to get the minigame Mine Finder; after that, Select opens the inventory; point to the Mine Finder cartridge then press A, which will start the minigame; when the grid shows up pressing either A or B hangs the emulator.

@bfirsh
Copy link
Owner

bfirsh commented Jun 1, 2020

Thanks for the report!

@wendelscardua
Copy link
Author

I may try to make a smaller/simpler ROM to help debugging this, but for now I've found that this is probably the point in my ROM where JSNES is hanging:

vblankwait:
  BIT PPUSTATUS
  BPL vblankwait

where PPUSTATUS is $2002

(got the CPU PC register from browser console)

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

No branches or pull requests

2 participants