Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The execution environment follows the ELF specification like in many modern Unix operating systems. A specific API has been developed to interface with ELF standard : GN_Elf. This general user interface call does all the magic to open, allocate memory and handles, load binary segments, execute, release resources and close the ELF file. This is performed by using the ELF low-level interface DC_Elf and DC_Rte. GN_Elf allows arguments to be passed to the executable. They are passed via the stack, following the SDCC convention. Binary executables can be written in C language and compiled with the SDCC compiler suite (with a modified crt0.s loader). They are actually limited to 56K and will be unlimited in a near future.

Preliminary relocatable Z80 machine code is implemented. ELF allocates memory from any free pages available. This powerful feature allows several instances of Shell running on an unexpanded 32K machine.