COrnell Miniature ATmel Operating System (COMATOS)

Download Source Code

Assembly Version

The OS consists of three include files. You will need to include all three. The first, comtapi.inc, should be included after the 8515def.inc file. The second, comatos.inc, is included by comtapi.inc and contains constant and register defintions. The third, comtf.inc, should be included immediately following the interrupt vector table. Remember to name the timer 0 ISR interrupt label OST0ISR. If you are using the built-in UART function, name the UART data empty ISR OSTXISR.



C Version

The version contains two files. The main code file, comatos8515.c, contains all of the functions needed by COMATOS. It should be included after 90s8515.h. Comatos8515.c includes comatos8515.h, which must also be downloaded. This header file includes variable and constant definitions used by the OS.

DinkyBug Utility
Source from Tutorial