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

Needed workaround for IEC transfer in 40 MHz mode #283

Closed
FeralChild64 opened this issue Sep 3, 2020 · 3 comments
Closed

Needed workaround for IEC transfer in 40 MHz mode #283

FeralChild64 opened this issue Sep 3, 2020 · 3 comments

Comments

@FeralChild64
Copy link

In 40 MHz mode probably every single disk fast-loader will fail, also the C64 ROM routines are most likely incompatible.

Both Turbo Chameleon and Ultimate 64 implemented a workaround: after the software changes something on the IEC bus, the CPU returns to 1 MHz speed for the next 1000 cycles. Something similar is needed for MEGA65.

gardners added a commit that referenced this issue Sep 11, 2020
gardners added a commit that referenced this issue Sep 11, 2020
gardners added a commit that referenced this issue Sep 11, 2020
gardners added a commit that referenced this issue Sep 11, 2020
gardners added a commit that referenced this issue Sep 11, 2020
@gardners
Copy link
Contributor

Ok, I have implemented 1ms of disabling POKE0,65 (and effect of holding capslock) whenever the IEC port changes state (by drive or by computer).
C65 3.5MHz mode and explicitly selecting 40MHz in MEGA65-specific software will still work, however.
Not yet tested.

@FeralChild64
Copy link
Author

Great! Open ROMs switches speed to 40 MHz by setting $00, so it should be compatible.

@gardners
Copy link
Contributor

I think this can indeed be closed @lydon42 , as it has been implmented, and for new software #766 will make the problem obsolete.

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

3 participants