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

Problem with MEGA65 #209

Open
gardners opened this issue Feb 8, 2021 · 1 comment
Open

Problem with MEGA65 #209

gardners opened this issue Feb 8, 2021 · 1 comment

Comments

@gardners
Copy link

gardners commented Feb 8, 2021

When the Pi1541 is connected to a MEGA65, it works to LOAD"$",11 on the list of disk images, but once a disk image is loaded and the true 1541 emulation kicks in, then LOAD"$",11 will hang on SEARCHING FOR $. But with a real 1541, there is no problem.

The MEGA65's CPU runs at 40MHz internally, and adds wait-states between instructions when simulating 1MHz mode, so reads and writes will both happen 3 cycles early, but as both are 3 cycles early, it seems that this should not be a problem -- and indeed, as mentioned, a real 1541 works, even with fast loaders etc.

Any thoughts as to what might be causing this? How accurate is the timing of the Pi1541 for reading / writing the GPIO lines?

Paul.

@gardners
Copy link
Author

gardners commented Feb 8, 2021

As mentioned at the above issue, it seems to be the turn around after sending a file name where it locks. For example:

10OPEN15,11,15
20GET #15,A$:? A$;:GOTO20

works fine, but if you change it to:

10OPEN15,11,15,"I"
20GET #15,A$:? A$;:GOTO20

it will get stuck.

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

1 participant