
This is an example program to demonstrate a simple multi-tasking scheduler.

The included files are:
COMMON.H    - common definitions, like boolean type, etc
CHEAP.MAK   - a makefile (for Borland C++ v3.1)
README.TXT  - this file
SCHEDULE.C  - the six scheduler functions
SCHEDULE.H  - declarations for the scheduler functions
TEST.C      - a test program that has four tasks
TIMER.C     - DOS timer functions
TIMER.H     - prototypes for the timer functions

The code compiles under the Borland C++ (v3.1) compiler for DOS.  I
compiled it using the following command:

    \programs\bc31\bin\make -f cheap.mak

After compilation, the following files are created in the working
directory.

CHEAP.CFG    - a configuration file used in the linking stage
CHEAP.EXE    - the executable file
SCHEDULE.OBJ - object code
TEST.OBJ     - object code
TIMER.OBJ    - object code

When I ran the program, I got the following output (the program stops
when you press a key).

4333333332333333333323333333333233333333133233333333332333333333323333
3333332333333133332333333333323333333333233333333332333313333332333333
333323333333333233333333332331333333332333333333323333333333233333
normal program exit

 - Alan Porter, 2001.11.15

