9-OCT-1998
Greetings all. Because somebody asked for a WIN 3.1 version of SIOD, and because I was curious about the portability, size and performance of a more resent SIOD vintage under MS-DOS, I have hacked up the sources a bit, and present here a SIOD.EXE which will run on a 80286 CPU under MS-DOS. It works fine under windows too of course.
Download this minisiod.zip file, an INFO-ZIP archive. Extract the SIOD.EXE and may peace be with you.
The CONTROL-C interrupt even works like it should. Default heap, stack check limit, and other parameters compiled into siod.c should be reasonable for anyone with at least 640k. I made no attempt to gain access to MS-DOS extended memory, hence there is a limit in heap allocation of approximately 25,000 cells.
The ZIP file contains the sources I used to compile this using the MSVC++ version 1.52 compiler. It is pretty much just the regular SIOD 3.5 distribution, but with the grossly conditionalized slibu.c file ignored. Hence no dynamic linking. Also I did not build as a LIBSIOD.DLL and SIOD.EXE. There is just SIOD.EXE at a romping 129K bytes. No doubt we are using far too much of the C runtime library for our own good.
For additional files, documentation, etc, refer to the main distribution at http://people.delphi.com/gjc/siod.html.
George J. Carrette.
File | Description |
---|---|
siod.exe | ms-dos siod executable |
fib.scm | the only code I've tested in the above |
minisiod.htm | this document |
siod.mak | visual c++ version 1.52 make file |
siod.c | modified siod.c, see comments for MSVC build options |
siod.h | modified siod.h |
siodp.h | modified siodp.h |
slib.c | some cruft removed |
sliba.c | not modified |
slibun.c | subset of slibu.c |
swin31.c | win 3.1 specific |
trace.c | not modified |