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

Implement 40-bit debug timer (Timer4) #20

Open
daniel5151 opened this issue Apr 17, 2020 · 0 comments
Open

Implement 40-bit debug timer (Timer4) #20

daniel5151 opened this issue Apr 17, 2020 · 0 comments
Labels
good first issue Good for newcomers missing device The emulator is missing a device

Comments

@daniel5151
Copy link
Owner

daniel5151 commented Apr 17, 2020

Timer 4 is the 40 bit debug timer (as described under section 18.1.3). It's similar to Timers 1-3, albeit without as much "customization" options.

It should be fairly easy to implement:

  • Modify the current timer device to use a internal u64 counter for time-keeping
  • Create a "wrapper" device which masks masks out any timer registers unavailable on Timer 4
  • Update the Ts7200Bus structure + memory map with the new device
@daniel5151 daniel5151 added good first issue Good for newcomers missing device The emulator is missing a device help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Apr 17, 2020
@daniel5151 daniel5151 changed the title Implement Timer 4 Implement 40-bit Timer4 Apr 17, 2020
@daniel5151 daniel5151 changed the title Implement 40-bit Timer4 Implement 40-bit debug timer (Timer4) Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers missing device The emulator is missing a device
Projects
None yet
Development

No branches or pull requests

1 participant