View Single Post
Old 16 May 2020, 19:04   #5
Emufr3ak
Registered User
 
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
Didn't touch AMOS for decades myself. :-)

I'd say PLOAD needs an executable. Thats what the Manual says.

The PLOAD command reserves a memory bank and loads some machine code into it from disc. Specify thefilename that contains the machine code file on disc, followed by the number of a new memory bank to be reservedfor the program. If the bank number is negative, the number will be multiplied by -1, and the bank will be allocatedusing Chip memory.Once machine code is loaded in this way, it is installed as a permanent memory bank, so whenever the currentprogram is saved, the machine code is stored too. Also note that the machine code file can be saved onto disc as astandard ".Abk" file, then loaded directly into AMOS Professional Basic. After PLOAD has performed its work, the memory bank can be executed immediately!

I do not think that its possible to create an object file with Amos compiler. But this way it should not be neccesary. If I understand it correctly I can just compile it and the binary will be embedded in it.
Emufr3ak is offline  
 
Page generated in 0.04996 seconds with 11 queries