Beruflich Dokumente
Kultur Dokumente
RTDEMO.C
COMDEMO.C
IPXDEMO.C
RTPRIMES.C
RTKERNEL.H
RTCOM.H
RTIPX.H
RTKEYBRD.H
RTTEXTIO.H
SPOOLER.H
CPUMONI.H
ITIMER.H
TIMER.H
IPC.H
RTVISION.H
KILLKEY.H
RTKDPMI.H
TECHINFO.TXT
This text.
README.TXT
RTKernel Tasks
All RTKernel tasks run within one program. A task consists of a C
function without parameters and with its own stack. Each task has a
priority between 1 and 64. A high priority means high urgency. Within
a program, priorities are only meaningful relative to each other.
The stack of a task contains all variables declared local to the task
function. The same is true for local variables of all functions called
from that task. Consequently, several tasks may be started with the
same task function, but each would have its own stack and its own
local variables. The common C visibility rules fully apply to
multi-tasking programs. All tasks may access global data.
RTKernel maintains a task state for each task. The fundamental states
are:
Ready
All tasks ready to run are in the state Ready. One of these
is the active task.
Suspended Suspended tasks cannot run because they have been stopped
explicitly by the RTKernel operation Suspend. They can only
be made Ready by the RTKernel function Resume.
Blocked
shows the exchange of data and signals between Windows and RTKernel,
using software interrupts and and Shared Memory.
Product Contents
RTKernel-C includes module RTKernel as a LIB-file (in Standard and
Debug Versions for all supported compilers), a number of supplemental
modules in source code, and an english User's Manual. (A German
version of the User's Manual is also available upon request.) Apart
from numerous small code examples in the manual, the following demo
programs are delivered in source code:
RTDEMO
COMDEMO
IPXDEMO
RTPRIMES
RTVDEMO
TSRDEMO
CALLTSR
WTSRDEMO
WCALLTSR
RTBENCH
Benchmark program
performance.
SEMADEMO
MBDEMO
MSGDEMO
to
measure
RTKernel's
run-time
RTKernel-C supports Borland/Turbo C++ 1.0, 2.0, 3.0, 3.1, 4.0, BC++
PowerPack, Microsoft C 6.0, 7.0 und 8.0 (Visual C++ 1.0, 1.5), as well
as compatible versions of Microsoft Quick C. Both ANSI C and the
object-oriented C++ can be used with RTKernel. Memory models SMALL,
MEDIUM, COMPACT, LARGE, and HUGE are supported. For Borland C++ 3.0 or
higher, 16-bit Protected Mode is supported. For Borland C++ 4.02
PowerPack or higher, 16-bit Protected Mode is supported. LIB-files are
delivered for all compilers and all memory models listed above.
In addition to RTKernel object code, the following modules are
delivered in complete source code. The interfaces of these modules are
contained in the files *.H.
ITimer
and
Timer
RTKeybrd
RTTextIO
Spooler
CPUMoni
RTCom
RTIPX
IPC
IPC
(inter-process
communication)
facilitates
communications among separate DOS programs via DOS's
multiplex-interrupt. Usually, these will be resident
programs to be addressed by an application running in the
foreground. IPC can also be used to communicate between a
Windows application and a resident DOS program.
RTVision
KillKey
and
background printing
Kernel Tracer
Program COMDemo
This program demonstrates the processing of interrupts from the serial
ports. It requires two computers connected by a serial cable (a
minimal configuration with leads Receive, Send, and Ground connected
is sufficient).
After the program has been started on both computers, arbitrary lines
of text may be entered and then transmitted to the other computer
using the <Return>-key. If an empty line is entered, the last line
will be re-transmitted.
Both computers can independently and asynchronously transmit data to
the other computer. The program is terminated by entering the line
'EXIT'.
Program IPXDemo
This program demonstrates the transmission of data using a Novell
Network. To use it, at least two workstations in a Novell LAN (e.g.,
Novell NetWare or Novell NetWare Lite) are required. At the
workstations, at least Novell's IPX driver must be loaded. A NetWare
shell is not required. Also, NetWare Users need not have logged in to
the network. Addtional information is supplied by program IPXDemo when
it is executed. More detail concerning the operation of this program
is given in the source file IPXDEMO.C.
Program RTPrimes
RTPrimes implements a quite slow and "memory-hungry" prime number
generator. What's interesting about it is the algorithm used: it
computes many prime numbers in parallel. The program runs in Protected
Mode and creates - depending on available memory - up to about 6500
tasks. RTPrimes also shows how to use reentrant code (nearly all of
the program's tasks execute the same code). For details, please refer
to the source file RTPRIMES.C.
RTKernel is developed, distributed and supported by: