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

Tests for exact power on timing #328

Open
alyosha-tas opened this issue Sep 18, 2023 · 1 comment
Open

Tests for exact power on timing #328

alyosha-tas opened this issue Sep 18, 2023 · 1 comment
Assignees

Comments

@alyosha-tas
Copy link

Here is test that checks the state of the clock divider the timers use after power on:

https://github.com/alyosha-tas/gba-tests/tree/master/timer

The resolution of this test is one clock cycle:

Test 3 reads the state of the timer exactly on rollover of the divider.
Test 6 reads the state of the timer 1 cycle after it should have roller over.
Test 9 reads the state of the timer 1 cycle before it should roll over.

Tested on GBP. Nanoboy Advance currently fails test 1.

@fleroviux
Copy link
Member

Thanks for all the tests! I hope I can find some energy soon to finish my prefetch buffer rewrite and look at all the new tests.

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