Home |
RTKernel-32 Programming Manual Multitasking, Real-Time, and RTKernel-32 Alternate APIs for RTKernel-32 RTKernel-C 4.5 for DOS Compatible API |
RTKernel-C 4.5 for DOS Compatible APIRTKernel-C is a real-time multitasking system for DOS and 16-bit embedded systems, also available from On Time. Almost all of its features are also supported by RTKernel-32. Exceptions are DOS-specific features (e.g., automatic DOS protection, TSR programs, interrupt tasks, etc.). Programs using the RTKernel-C API must include header file Rtkernel.h instead of Rtk32.h. Rtkernel.h in turn includes Rtk32.h and Rtkdos.h. Rtkdos.h contains preprocessor macros that map all differing names of constants, types, and functions to the corresponding names of RTKernel-32. There is no thunking layer required for RTKernel-C emulation. Thus, there is no performance or code size penalty for using the RTKernel-C API. RTKernel-32 contains many new features not available in RTKernel-C. These new features can be accessed by directly using RTKernel-32's native API. RTKernel-C emulation does not restrict the set of available features in any way. When Rtkernel.h is included, both APIs (RTKernel-C and RTKernel-32) are available and can be mixed within the same program. The following RTKernel-C API functions are not available under RTKernel-32:
The following functions of RTKernel-C are available under RTKernel-32, but are not covered by Rtkdos.h. If your program uses any of these, minor source code modifications are required:
The following supplemental modules supplied with RTKernel-C are not available for RTKernel-32:
By using conditional compilation, the same source file can be used with both RTKernel-C and RTKernel-32. Under RTKernel-32, the symbol RTK32_VER is defined. Alternate APIs for RTKernel-32
|