www.bcl.de

General introduction - @CHIP-RTOS V1.04


    IPC@Chip Documentation Index

Short general explanation

The name @CHIP-RTOS is used as the term for the operating system of the SC12 (most of older versions and manuals are still using the term BIOS). For an overview of the provided features and the general architecture of the operating system see @CHIP-RTOS architecture .

The operatiog system is able to execute multiple(up to 12) DOS programs simultaneous. Each program runs as a task of the RTOS kernel. These 16 bit DOS programs can be created with a variety of development tools. However, the instruction opcodes in these programs must be confined to the 80186 instruction set. For C/C++ programming, Beck offers the Borland 5.02 development environment (see www.bcl.de ).

This document describes the Application Programmers Interface (API) of the @CHIP-RTOS. It should be used as a reference manual for IPC@Chip application programmers. For a better understanding of this manual the reader should have some experience in programming DOS applications.
The document explains how to call every provided function of the @CHIP-RTOS at user application programs. The API of the @CHIP-RTOS is structured in different sections (e.g. HARDWARE API, RTOS API, TCPIP API, ....). All sections are listed as HTML-links at the main index page of this document.

For every API section the @CHIP-RTOS provides a softwareinterrupt with different function numbers for every API call. The software interrupt mechanism is the standard way for DOS programs to call internal functions of the operating system (e.g. file operations, reading/printing characters, .....).
Before calling the specified softwareinterrupt with e.g. the standard C-Library call int86() or the Assembler instruction int xx , every necessary function parameter must be loaded into the processor registers. Each API call description describes detailled, which parameters are required at the registers. The @CHIP-RTOS uses the parameters from the processor registers and executes the corresponding function. After the softewareinterrupt execution some specified processor registers contains the return result(s) of the function. The meaning of the return result(s) are also described at every API call description.
At our downloadpage under www.bcl.de , we provide a collection of program examples, where the usage of API calls is demonstrated.
For a easier and more practical usage of the API, we provide a set of C-Libraries. This collection of C-Files and H-Files contains every API softwareinterrupt call, implemented inside of a C-Function. The application programmer can integrate these files at his program project and calls the appropriate C-function instead of calling the softwareinterrupt direct.

You will find some useful general notes about progamming DOS applications for the SC12 under Programming notes

For some necessary knowledge about hardware details of the IPC@CHIP see the hardware manual available at the download area of www.bcl.de .







End of document