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

Crash in Z80 decoder else branch #1

Closed
floooh opened this issue Jul 2, 2024 · 1 comment
Closed

Crash in Z80 decoder else branch #1

floooh opened this issue Jul 2, 2024 · 1 comment
Assignees

Comments

@floooh
Copy link
Owner

floooh commented Jul 2, 2024

...when starting pacman.zig over and over again, sometimes the Z80 decoder else branch is reached, and always with step 0x926 (2342 decimal).

Maybe fixed by: b46bf9f

@floooh floooh self-assigned this Jul 2, 2024
@floooh
Copy link
Owner Author

floooh commented Jul 2, 2024

...yep, it was definitely that bug in gotoM(). The faulty target step 0x926 corresponds to the gotoM() call in the CALL M,nn instruction decoder.

@floooh floooh closed this as completed Jul 2, 2024
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