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

Multiload problems #206

Closed
lunadog opened this issue Nov 25, 2024 · 16 comments
Closed

Multiload problems #206

lunadog opened this issue Nov 25, 2024 · 16 comments

Comments

@lunadog
Copy link

lunadog commented Nov 25, 2024

I can load multiload CRT images from the One Load collection fine, but when I press the menu button I get "communication with cartridge failed" error. If I press menu enough times I can sometimes get back to the games list and switch to a single load which works fine.

This is with breadbin v1.51.
Have reproduced same issue on C64C.

@lunadog
Copy link
Author

lunadog commented Nov 27, 2024

Just tried to replicate today on C64C after cold boot and the problem is much more intermittent - only occurred 1 time out of 10. Completely baffled as to why.

@KimJorgensen
Copy link
Owner

The issue you are describing could be caused by a bad connection to the C64, see #77
Try to clean the connector on the PCB and see if that helps

@lunadog
Copy link
Author

lunadog commented Dec 2, 2024

It only happens with the larger multiload one load images so I think it is more likely to be a timing error. I will see if there is any improvement with contact cleaning though

@lunadog
Copy link
Author

lunadog commented Dec 2, 2024

Just tried contact cleaning and no improvement (might be worse in actual fact). No issue with single load CRTs only multi-load.

Also affects another user - see post by Sebby75 here: https://www.lemon64.com/forum/viewtopic.php?t=76305&start=645

@lunadog
Copy link
Author

lunadog commented Dec 2, 2024

I've just downloaded to 1.31 (from 1.51) and multiloads work fine so must be a regression..

@lunadog
Copy link
Author

lunadog commented Dec 2, 2024

1.35 is the last version that doesn't have this bug. From 1.36 I get the error about 1 in 2 times (not as bad as later versions)

@lunadog lunadog closed this as completed Dec 2, 2024
@lunadog lunadog reopened this Dec 2, 2024
@KimJorgensen
Copy link
Owner

Did you try to adjust the phi2 offset with the newest firmware?
There was a lot changes to the timing in theres old releases, trying to make the cartridge work on as many C64s as possible

@lunadog
Copy link
Author

lunadog commented Dec 3, 2024

Hi - yep - phi2 offset on 1.51 didn't help. It is working perfectly with 1.31-1.36 so something must have happened to the code between 1.36 and 1.37 that broke it on my computer (not having looked at the code, maybe not waiting long enough for the cartridge to be ready?)

@KimJorgensen
Copy link
Owner

Which phi2 offset values did you try?
As said, changes was done to the timing in theses releases and why I'm asking about the phi2 offset

@lunadog
Copy link
Author

lunadog commented Dec 3, 2024 via email

@KimJorgensen
Copy link
Owner

The reports I have received suggest -1 or -2 for some C64 breadbin/longboards and +1 or +2 for some C64C/shortboards. This is very machine specific what offset is needed, if any.
If this doesn't change the stability we need to look elsewhere

@lunadog
Copy link
Author

lunadog commented Dec 3, 2024 via email

@KimJorgensen
Copy link
Owner

KimJorgensen commented Dec 3, 2024

OK, thank you for all your testing. Since I can't reproduce the problem on my C64s, I need some more information to find the cause.
When you get the error, does it only say "Communication with cartridge failed"? Or does the error message also say "Unexpected command" or
"Check hardware"?
What happens if you press reset after you get that error? What happens if you power cycle the C64?

@lunadog
Copy link
Author

lunadog commented Dec 3, 2024 via email

@KimJorgensen
Copy link
Owner

I found a race condition that could cause Kung Fu Flash to get stuck with the "Communication with cartridge failed" message. A fix has been included in the latest release .
@lunadog Can you please report back if this indeed solves the problem?

@lunadog
Copy link
Author

lunadog commented Jan 5, 2025

Appears to now be fixed. Thanks so much!

@lunadog lunadog closed this as completed Jan 5, 2025
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

2 participants