View Single Post
Old 31 July 2021, 18:37   #12
Exodous
Registered User
 
Join Date: Sep 2019
Location: Leicester / England
Posts: 201
I just wrote a long post with an example showing how my degrader tool handled this using LoadSeg to load the executable, disabled the OS and then used RunCommand to call the loaded executable.

At the point of putting the the equates for the _LVO offsets, I noticed that RunCommand is only available on dos.library v36 and above, which would require Kickstart 2.0 or greater, so wouldn't be any use in your application.

I thought I'd still share this idea as you may still be able to use LoadSeg and then, from the resulting seglist, call the program directly so you don't require to go back to the OS after setting up your trainer?

LoadSeg http://amigadev.elowar.com/read/ADCD.../node02C5.html

RunCommand http://amigadev.elowar.com/read/ADCD.../node02EA.html
Exodous is offline  
 
Page generated in 0.04204 seconds with 11 queries