Skip to content

Reuse dot_clk input as externel reset input #6

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niclashoyer
Copy link

This changes reuse the dot_clk input on rev 0.2x PCBs to sense the /RESET line of the C64. With this the TeensyROM gets back into the menu when an internal reset is fired in the C64 (e.g. another reset button or other devices like blue64). The trace from dot_clk to U4 needs to be cut and a jumper wire from RESET to the right pin on U4.

@SensoriumEmbedded I removed the whole DbgFab0_3plus ifdef block, because I just built for 0.2c, but I think the whole thing could maybe be put behind another ifdef block, so one could switch at compile time.

Currently I'm still testing this. I observed two race conditions / edge cases:

  • RESET does not bring back the menu (C64 BASIC is loading) (about 1 of 30 resets)
  • Starting a CRT file goes straight back into menu (about 1 of 3-5 times)

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