ucos關(guān)于intel8051的移植
推薦 + 挑錯(cuò) + 收藏(0) + 用戶(hù)評(píng)論(0)
ucos關(guān)于intel8051的移植:/*
*************************************************
*????????????????????????????????????????? PC SUPPORT FUNCTIONS
*
*??????????????????????? (c) Copyright 1992-1998, Jean J. Labrosse, Plantation, FL
*?????????????????????????????????????????? All Rights Reserved
*
* File : PC.C
* By?? : Jean J. Labross
*********************************************************
*/
#include "ucos_ii.h"
#include "pc.h"
#include
#include
#include
/*
PC display by KC51 emulation
*/
#define interrupt
#define far?xdata
#define MK_FP(s, o)??((INT8U xdata *)(INT16U)(o))
#define getvect(vect)?((vect=vect),((void*)NULL))
#define setvect(vect, isr)?(vect=vect, isr=isr)
int OSTickDOSCtr;
const char code * const code ExitNotice[]=
{
?"Exit program",
?"Program has terminated",
?"Reset the processor to restart the program"
};
bit kbhit() KCREENTRANT;
INT8U getch() KCREENTRANT;
void exit(INT8U ec) KCREENTRANT
{
?static char str[64];
#if OS_CRITICAL_METHOD == 3
??? OS_CPU_SR cpu_sr;
#endif
??? OS_ENTER_CRITICAL();
?for(;;)
非常好我支持^.^
(7) 100%
不好我反對(duì)
(0) 0%
下載地址
ucos關(guān)于intel8051的移植下載
相關(guān)電子資料下載
- 談?wù)凪CU看門(mén)狗任務(wù)優(yōu)先級(jí)設(shè)置 208
- 到底該把喂狗任務(wù)優(yōu)先級(jí)設(shè)置成最高還是最低好? 375
- uC/OS-II內(nèi)存管理方法詳解 481
- uCOS-II系統(tǒng)移植 1611
- 什么是ucosii任務(wù)的調(diào)度原理和實(shí)現(xiàn) 939
- STM32入門(mén)學(xué)習(xí)筆記之uCOS-II系統(tǒng)移植4 547
- STM32入門(mén)學(xué)習(xí)筆記之uCOS-II系統(tǒng)移植3 255
- STM32入門(mén)學(xué)習(xí)筆記之uCOS-II系統(tǒng)移植2 843
- STM32入門(mén)學(xué)習(xí)筆記之uCOS-II系統(tǒng)移植1 1557
- ucOSII操作系統(tǒng)就緒表分析 633