⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 一个基于PIC的RTOS实时操作系统源代码
💻 TXT
字号:
POSIT Version 1.00 - source codes of multitasking OS for PIC microcontroller
Copyright (c) 1998 Pavel Baranov (pbaranov@spb.lucent.com)

Postcardware:
-------------

These source codes are distributed as postcardware. You may use them 
as long
as you whish. If you like them I ask you to send me any nice
postcard. Please distribute
POSIT.ZIP as a whole instead of the single
files.
You may support me with money order, check etc. sent to:

    Pavel Baranov
    Bovenmaatweg 56,
    1274 RM Huizen,
    The Netherlands


Usage:
------

The distributed software is an multitasking OS for PIC microcontroller.
Using os.asm source code you can easily add as many independent
proramms as you want. You only need to change the number of tasks in os.asm
file and provide three calls for initialisation, interrupts and run in each
module.
As an example there are needed steps to make a two task system:
    1. set tsknum into 2 (there will be 2 tasks)
    
    2. in the same directory make two files t0.asm and t1.asm
       which will contain your task sources.
       
    3. the file t0.asm should look like:
    
        t0_init   ...       ;your initialisation code for the first task
                  return
        t0_inter   ...      ;your code to handle interrupts for the first task
                  return
        t0_run     ...      ;your code for the first task
                  return
                  
        The same should be done for the second file t1.asm
        
     4. (optional)
         You can if your need write common initialisation stub into
         the file init.asm It will be called before the corresponding
         tx_init calls in your tasks.
         All the variables can be stored in one place in var.asm file.
         You can start your variables from usrval address. It is better
         to have them in one file rather to spread around the source code.
         
     5. compile and enjoy:)
        (You need to compile only os.asm file. All the other files are
         included into os.asm)
          
          

How you can contact me:
-----------------------

I would like to here from you. Please feel free to send any
comments/suggestions/bug reports to me.

e-mail: pbaranov@spb.lucent.com
mail:   Pavel Baranov
        Bovenmaatweg 56,
        1274 RM Huizen,
        The Netherlands

Sorry for my English. It is not a native language for me.


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -