S-OS is a simple but highly portable monitor with minimal console functionalities and a simple file access interface, enough to support text based interactive fiction games. It was thought for systems having little or no ROM memory on lower positions accordig to what was known as the “Clean Computer” philosophy.
It was presented in the “Oh!X” magazine, in a section called “The Sentinel” in 1986 and in the following years it was ported to many Japanese z80 based computers.
zcc +sos -lndos -oadva -create-app adv_a.c
– or –
zcc +sos -lgendos -lmalloc -DAMALLOC -oadva -create-app adv_a.c
You'll get a raw data file (adva.bin) and the same program with an S-OS style header (adva.obj).
Otherwise the “Sharp MZ tape format” can be chosen:
zcc +sos -subtype=mz -lndos -oadva -create-app adv_a.c
After the program being loaded (#L adva.obj), the user can pass the parameters in the “Jump” call (#J 3000 <parm1> <parm2>, etc).
The program location can be changed with the “-zorg=” option
Wikipedia lists the following machines being supported:
Sharp MZ-700 / 1500
Sharp MZ-80B / 2000 / 2200
Sharp MZ-2500/2861(MZ-2500 mode)
Sharp X1/C/D/Cs/Ck/F/G/Twin (two different implementations)
Fujitsu FM-7 / 77 (Z80 extension card)
Sharp X68000 (emulated Z80)
PC-286 (emulated Z80)
MSX 2 / 2+ / turboR
Casio FP-1000 / 1100
Windows 32 bit (emulated Z80)
Sharp calculators PC-G850/S/V/VS
#D [<device name>:]
#DV <device name>:
#K <file name>
#S <filename>: <start address>: <end address>[: <execution address>]
Google translator might be your friend, here..