📄 ucos51.txt
字号:
Off course I disclaim every claim that extends from using this port.
Any use is a decision made by yourself and as such concequences are for you as well.
This software shall not be distributed since it is written by myself in unpayd
hours and I want to keep track where it goes.
;********************************************************************************************************
; uC/OS
; The Real-Time Kernel
;
; 8052 SPECIFIC ASSEMBLY LANGUAGE CODE
;
; Rene Voorberg
; 80c52 (Large Model)
; Using the COMPASS51 compiler from PLC
;
; File : UCOS51.txt
;********************************************************************************************************
Ucos is now also suited for the 80c52. The 8051 can not be used because of
memory requirements for the internal stack.
this code was optimized to run as fast as possible using the Compass 51
compiler from PLC in Texas USA
To use it with other compilers you must make sure that the compiler does not
use register passing for the specific UCOS51 files and that you must change
the code for the stackpointer in xram. I can help of course
I have written or adapted some programs to run on a board for testing.
Boards suited are the intel dev. kits. and others.
Remember that the compiler must be set to large mode.
The code is adapted to the 80c52 for use in several products and appears to
run seamlessly. Thanks to Jean for his nice UCOS.
Compliments,Remarks,Suggestions and Ideas:
Rene Voorberg
revo@bArt.nl
;Conventions:
;opt :optimized code but it shows you what's happening
;P3.5 :break bit which is used by the Intel Rism Drivers or ROM monitors from
;PLC to signal a breakpoint. If we are stepping or a breakpoint is hit
;no interrupts should be honoured no more beside the serial interrupt for
;your debugger.
;_sp :the (integer) xstackpointer used by the Compass 51 compiler
;_fp :the (integer) framepointer used by the Compass 51 compiler
;OSTCBCur:
; Pointer to the current's process OSTCB
;OSTCBHighRdy:
; Pointer to the process OSTCB with the highest priority which is ready to run
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -