emoon / fs-uae

Cross-platform Amiga emulator
http://fs-uae.net/
GNU General Public License v2.0
6 stars 1 forks source link

Remote debug start executable not working with a kickstart 1.3 #17

Open prb28 opened 5 years ago

prb28 commented 5 years ago

Reported on the vscode extension : https://github.com/prb28/vscode-amiga-assembly/issues/49.

The function remote_debug_start_executable: https://github.com/emoon/fs-uae/blob/1efa29aa8aa9c3e4602b63f1e9142db4fe216fc7/src/remote_debug/remote_debug.cpp#L1695 does not seems to work properly with a kickstart 1.3.

May the RunCommand of the dos library be different between the kickstart version ? (The documentation I have found online doesn't seems to mention it)

I saw it has been a source of discussion with @tonioni on issue https://github.com/FrodeSolheim/fs-uae/issues/63. I admit, I do not have a good understanding of the underlying uae concepts.

Do you have some hints to help me to fix this issue ?

emoon commented 5 years ago

If I remember correct RunCommand isn't supported on 1.3 and the way this is implemented in UAE is that Toni added a hook so when the run command is being executed on the Amiga side a callback to the emulator is being done. So currently 1.3 isn't supported and I'm not sure how to add support for it.

As an Amiga 500 style config can still use a 2.0 ROM I decided that that wasn't such a big deal in the end even if it would be nice to support it.

prb28 commented 5 years ago

thanks, I'll have a look to see if there is an easy way to do that.

nekoniaow commented 5 years ago

[deleted off topic remark about amiga-host/external-trigger interface]

There has to be an equivalent to RunCommand() somewhere in the OS 1.3 ROM even if the function is not explicitly callable on dos.library, I doubt the WB and CLI both incorporated their own version of that code each, it probably is somewhere there.

prb28 commented 5 years ago

Maybe the createProc function will work for all the kickstarts.