[comp.sys.ibm.pc.misc] Any relatively simple C programs with source available??

hudgens@sun13.SCRI.FSU.EDU (Jim Hudgens) (02/18/91)

I'm looking for a number of relatively simple C programs or assembler
programs with the following characteristics:

   1) demands very little functionality on the part of the OS.
      except perhaps file input and output.
   2) Does non-trivial computations or operations on whatever input
      it is given.
   3) Restricted to character and integer operations or bcd math.
   4) Optionally, does VGA graphics.

So far, the best I've been able to find is the small-c compiler and
some of the corresponding Byte benchmarks, which are close to perfect.
However, most of the benchmarks do nothing which is readily
verifiable, (unlike the compiler).  I am sure there is good stuff out
there that is available with source, but I'm currently at a loss to
find it.

The reason for this strange request is that I'm debugging a 8088
emulator, and need a source of simple programs whose output I can 
compare with a real PC.  I've looked at many of the stuff which
comes with source on simtel20, and decided that most of it demanded
way too much in the way of OS support.  

I doubt that many would be interested in this topic, so please reply
by mail.



--

Jim Hudgens		Supercomputer Computations Research Institute
hudgens@sun13.scri.fsu.edu