View Single Post
Old 15 May 2020, 21:20   #1
Emufr3ak
Registered User
 
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
Running c code from Amos

I'm a member from the Demogroup void. We have a challenge. Our
coders use Amos, C and assembler. We want to make demos together but nobody wants to change its language preference. So I told myself that it has to be possible to merge code from all those three languages into one executable. On the lowest level everything is machine code after all.

After some research I discovered that Amos has commands to embedd binary files. With the method PLIST a binary can be loaded into memory. This code can get executed using the Call method. There is a caveat however. Amos only loads the first hunk. All others are ignored. I'm using gcc and do a crosscompile for the c code. I do not have full control over the hunks there. How can I workaround this?
Emufr3ak is offline  
 
Page generated in 0.07709 seconds with 11 queries