slajerek / RetroDebugger

Retro Debugger is a multiplatform debugger APIs host for retro computers: C64 (Vice), Atari800 and NES (NestopiaUE).
175 stars 20 forks source link

D64 autostart fails on apple silicone (M1) #17

Closed chran554 closed 1 year ago

chran554 commented 1 year ago

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:

  1. Start Retro Debugger by double click program in Finder
  2. Choose a .d64 file after selecting File | Open in menu. (http://csdb.dk/getinternalfile.php/85044/GIANA SISTERS.D64
  3. Got messages/notifications "inserted nnn ..." and "loaded from $0801 to $A8FF"
  4. Nothing happens
  5. 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):

Additional context Add any other context about the problem here.

Greenshot 2023-08-23 22 27 28
slajerek commented 1 year ago

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:

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.

chran554 commented 1 year ago

When checking my settings I found:

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.

chran554 commented 1 year ago

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?)

chran554 commented 1 year ago

ID-10-T error