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

FREEZER: Set 40 MHz mode correctly #87

Open
dansanderson opened this issue Feb 4, 2024 · 0 comments
Open

FREEZER: Set 40 MHz mode correctly #87

dansanderson opened this issue Feb 4, 2024 · 0 comments
Labels
bug Something isn't working staged Ready to be merged with stable master branch.

Comments

@dansanderson
Copy link
Contributor

dansanderson commented Feb 4, 2024

freezer.c on the development branch is setting 40 MHz mode incorrectly: both FAST and VFAST must be set.

Demonstration:

10 T=TI:FOR I=0 TO 1000:NEXT:PRINT TI-T

From the boot state, run this. Then open the Freezer, press F, then press F3 to resume, and run the program again. Repeat for all five of 40 MHz, 1 MHz, 2 MHz, 3 MHz, then 40 MHz again. Results:

  1. Boot state: ~0.03 (40 MHz)
  2. 1 MHz: ~1.24
  3. 2 MHz: ~0.58
  4. 3.5 MHz: ~0.29
  5. Last run, should be 40 MHz but is actually: ~1.24 (1 MHz)

For full discussion: MEGA65/mega65-rom-public#89

dansanderson added a commit to dansanderson/mega65-freezemenu that referenced this issue Feb 4, 2024
@lydon42 lydon42 added bug Something isn't working staged Ready to be merged with stable master branch. labels Feb 4, 2024
@lydon42 lydon42 added this to the MEGA65 Release 0.96 (Batch 3) milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working staged Ready to be merged with stable master branch.
Projects
None yet
Development

No branches or pull requests

2 participants