D64 autostart fails on apple silicone (M1)
chran554 opened this issue · 4 comments
Describe the bug
I can start the Retro Debugger application (by double click on the executable in Finder).
However I can not make any program run that is loaded from disc .d64 or .prg .
To Reproduce
Steps to reproduce the behavior:
- Start Retro Debugger by double click program in Finder
- Choose a .d64 file after selecting File | Open in menu. (http://csdb.dk/getinternalfile.php/85044/GIANA SISTERS.D64
- Got messages/notifications "inserted nnn ..." and "loaded from $0801 to $A8FF"
- Nothing happens
- Choose Code | Continue and it executes a few lines from $0801 but fails on $0811 "BRK"
Expected behavior
Me playing Giana Sisters all night long and with a happy smile editing diamond characters to change the animations
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS Ventura 13.5.1 (mac with apple ARM silicon M1 processor)
- Version 0.64.64
Additional context
Add any other context about the problem here.
I tested the file and works for me on Ventura 13.4, Silicone M2 Max. The problem you are experiencing is a crash of game loader.
This could be related to Settings configuration that is not suitable for auto run of D64 programs. Could you please check if you have a proper configuration to autostart of D64 files:
- "Load first PRG on disk insert" is selected
- "Always JMP to loaded addr" is not selected
- "Reset C64 on PRG load" is selected "Hard reset"
- "Wait after Reset" is set enough so kernal finishes its initialization (e.g. 2000ms)
I suggest to also select "Fast boot kernal patch", so then the wait after reset can be lowered down to less than one second.
Problem you have may also be related to inserted cartridge, e.g. some cartridges have their menus and change memory configuration and some loaders, cracks etc do not init this correctly on startup and may also crash.
Note, some loaders are still not compatible and I am still trying to understand why they fail (Spindle for example), it seems some kernal variables are not set, however your Giana Sisters D64 file is not that case.
When checking my settings I found:
- ✅ "Load first PRG on disk insert" was selected
- ❌ "Always JMP to loaded addr" WAS selected
- ✅ "Reset C64 on PRG load" was selected "Hard reset"
- ❌ "Wait after Reset" was set to 1300ms also tested with 2000ms and 4000ms
No cartridge was used.
However changing "faulty" settings did not change anything in the behaviour of the application.
BTW
I've tested to load the programs in Vice 3.7.1 (latest) x64sc application and they executed fine. I could not find the Vice 3.1 build.
Gah, I think I found the problem. Bad ROM
I previously used old files I already had and now I tried out new ones.
I'm sorry for the false alarm. I hope you did not spend too much time investigating this.
(It might be a tip to hint where a user is likely to find external resources such as files or what google search strings might give some lucky result?)