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

Avoid exception handling loops if no handler is defined #770

Merged
merged 2 commits into from
Sep 7, 2024

Conversation

sandhose
Copy link
Owner

@sandhose sandhose commented Sep 3, 2024

This tweaks the exception handling to make sure we don't get in a loop if there is no exception handler defined.

When an exception occurs, it checks the cell at address 200 to see if there is a valid instruction. It only recovers from the exception if there is.

@pdav: Is this a good idea, and the right behavior?

Copy link

cloudflare-workers-and-pages bot commented Sep 3, 2024

Deploying z33-emulator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 29ffe97
Status: ✅  Deploy successful!
Preview URL: https://948c49b3.z33-emulator.pages.dev
Branch Preview URL: https://exception-loop.z33-emulator.pages.dev

View logs

@sandhose sandhose merged commit cd5ead1 into main Sep 7, 2024
15 checks passed
@sandhose sandhose deleted the exception-loop branch September 7, 2024 16:11
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

Successfully merging this pull request may close these issues.

1 participant