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 after Cycle Count Rollover #2

Open
mesheets opened this issue Apr 7, 2020 · 0 comments
Open

Emulator Hangs after Cycle Count Rollover #2

mesheets opened this issue Apr 7, 2020 · 0 comments

Comments

@mesheets
Copy link
Member

mesheets commented Apr 7, 2020

The emulator hangs after the 32-bit cycle counter rolls over.

Cycle counter is used somewhat widely throughout the emulator, so updating to handle rollover appears to be non-trivial.

An interim step is to increase the cycle counter size from a 32-bit signed integer to a 64-bit signed integer (long long).

mesheets added a commit that referenced this issue Apr 7, 2020
c.f. #2 , #3

Also address issue of last_cycles[1] (for the second 8-bit timer) not getting set to cycles in the t8_reset() method of timer8.c
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