ucos关于intel8051的移植
ucos关于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%
不好我反对
(0) 0%
下载地址
ucos关于intel8051的移植下载
相关电子资料下载
- 谈谈MCU看门狗任务优先级设置 208
- 到底该把喂狗任务优先级设置成最高还是最低好? 375
- uC/OS-II内存管理方法详解 481
- uCOS-II系统移植 1611
- 什么是ucosii任务的调度原理和实现 939
- STM32入门学习笔记之uCOS-II系统移植4 547
- STM32入门学习笔记之uCOS-II系统移植3 255
- STM32入门学习笔记之uCOS-II系统移植2 843
- STM32入门学习笔记之uCOS-II系统移植1 1557
- ucOSII操作系统就绪表分析 633