Platform SOS - marinus-lab/z88dk GitHub Wiki
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
A fixed program name for argv[0] can be set with the following #pragma directive: #pragma string name
Wikipedia lists the following machines being supported:
Sharp MZ-80K/C/1200
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)
Sharp X1turbo/II/III/Z/ZII/ZIII
NEC PC-8001/8801
Sony SMC-777C
Toshiba PASOPIA
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>
:
#J <address>
#L <filename>
[:<address>
]
#(space)program.obj
#M
#K <file name>
#S <filename>
: <start address>
: <end address>
[: <execution address>
]
#!
Google translator might be your friend, here..
http://www.retropc.net/ohishi/s-os/ (http://www.retropc.net/ohishi/s-os/z88dk.htm)
http://homepage2.nifty.com/akikawa/sword/index.html