This port has been tested under the “SORD” emulator by Joseba Epalza.
zcc +m5 -lm program.c
This will create a binary file.
To upload something on the emulator use the “inject utility” from the /support/generic folder.
run the emulator
press F3 to save a clean RAM image
exit from emulator (ESC)
rename dump.ram to dump.img
compile a program (zcc +m5 hello.c)
“inject” the program into the RAM dump (inject a.bin dump.img 1024 dump.ram)
run the emulator
press F4 to load the modified RAM dump
type “call 29696” and enjoy !