文件名称:GENIE-SHELL
介绍说明--下载内容均来自于网络,请自行研究使用
uCOSII只提供了操作系统内核,用户要自己添加文件处理、人机界面、网络接口等重要部分。其中Shell(人机界面)提供了人与机器交互的界面,是机器服务于人的体现,是系统必不可少的重要组成部分。现代的很多OS如UNIX、DOS、VxWorks都提供了友好的命令行界面。Windows更是提供了GUI。大部分人认识OS都是从这里开始的。
由于Skyeye下的仿真串口USART已经实现了中断方式的接收(实际是从键盘接收输入),而且串口输出(实际上是输出到终端屏幕)也已经实现,所以实现一个类似DOS或Bash的简化版Shell并不困难。其本质思想就是:Shell作为一个uC/OSII下的任务,接收用户输入的字符,存储到缓冲区,并回显在屏幕上,以回车键为用户输入的结束信号,随后解析用户输入的命令名称、参数,调用相应的命令函数。一直到这个命令函数运行返回,才继续Shell的人机交互界面。Shell作为一个任务工作于内核之外,占用一个任务号。-err
由于Skyeye下的仿真串口USART已经实现了中断方式的接收(实际是从键盘接收输入),而且串口输出(实际上是输出到终端屏幕)也已经实现,所以实现一个类似DOS或Bash的简化版Shell并不困难。其本质思想就是:Shell作为一个uC/OSII下的任务,接收用户输入的字符,存储到缓冲区,并回显在屏幕上,以回车键为用户输入的结束信号,随后解析用户输入的命令名称、参数,调用相应的命令函数。一直到这个命令函数运行返回,才继续Shell的人机交互界面。Shell作为一个任务工作于内核之外,占用一个任务号。-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GENIE-SHELL
...........\Backup of genie_shell.CF3
...........\Debug
...........\Exp12b.apj
...........\genie_shell.CF3
...........\genie_shell.IAB
...........\genie_shell.IAD
...........\genie_shell.IMB
...........\genie_shell.IMD
...........\genie_shell.PFI
...........\genie_shell.PO
...........\genie_shell.PR
...........\genie_shell.PRI
...........\genie_shell.PS
...........\genie_shell.WK3
...........\INC
...........\...\BITOPS.H
...........\...\DEF.H
...........\...\DRV
...........\...\...\AD.h
...........\...\...\can.h
...........\...\...\DirectDisplay.h
...........\...\...\DISPLAY.H
...........\...\...\EXIO.h
...........\...\...\Figure.h
...........\...\...\flash.h
...........\...\...\IIS-S3C44B0.h
...........\...\...\KeyBoard16.h
...........\...\...\lcd320.h
...........\...\...\LoadFile.h
...........\...\...\Max504.h
...........\...\...\MCP2510.h
...........\...\...\OSFile.h
...........\...\...\rtc.h
...........\...\...\tchScr.h
...........\...\...\Ustring.h
...........\...\...\Zlg7289.h
...........\...\drv.h
...........\...\Maro.h
...........\...\TCPIP
...........\...\.....\Ethernet.h
...........\...\.....\INTERNET.H
...........\...\.....\ipv4
...........\...\.....\....\lwip
...........\...\.....\....\....\ICMP.H
...........\...\.....\....\....\INET.H
...........\...\.....\....\....\ip.h
...........\...\.....\....\....\IP_ADDR.H
...........\...\.....\lwip
...........\...\.....\....\API.H
...........\...\.....\....\API_MSG.H
...........\...\.....\....\arch.h
...........\...\.....\....\debug.h
...........\...\.....\....\def.h
...........\...\.....\....\err.h
...........\...\.....\....\list.h
...........\...\.....\....\mem.h
...........\...\.....\....\memp.h
...........\...\.....\....\NETIF.H
...........\...\.....\....\OPT.H
...........\...\.....\....\pbuf.h
...........\...\.....\....\SOCKETS.H
...........\...\.....\....\stats.h
...........\...\.....\....\sys.h
...........\...\.....\....\TCP.H
...........\...\.....\....\tcpip.h
...........\...\.....\....\UDP.H
...........\...\.....\netif
...........\...\.....\.....\arp.h
...........\...\.....\.....\CC.H
...........\...\.....\.....\cpu.h
...........\...\.....\.....\ethernetif.h
...........\...\.....\.....\lib.h
...........\...\.....\.....\loopif.h
...........\...\.....\.....\LWIPOPTS.H
...........\...\.....\.....\perf.h
...........\...\.....\.....\SYS_ARCH.H
...........\...\.....\.....\tcpdump.h
...........\Lib
...........\...\TCPIP.alf
...........\...\ucos_lib.alf
...........\Release
...........\SRC
...........\...\commands.c
...........\...\commands.h
...........\...\Main.c
...........\STARTUP
...........\.......\44B.H
...........\.......\44BINIT.S
...........\.......\MEMCFG.S
...........\.......\OPTION.H
...........\.......\OPTION.S
...........\UCOS-II
...........\.......\ADD
...........\.......\...\Control.h
...........\.......\...\List.h
...........\.......\...\osaddition.h
...........\.......\...\OSAddTask.h
...........\.......\...\OSMessage.h
...........\.......\CHRONOS.H
...........\Backup of genie_shell.CF3
...........\Debug
...........\Exp12b.apj
...........\genie_shell.CF3
...........\genie_shell.IAB
...........\genie_shell.IAD
...........\genie_shell.IMB
...........\genie_shell.IMD
...........\genie_shell.PFI
...........\genie_shell.PO
...........\genie_shell.PR
...........\genie_shell.PRI
...........\genie_shell.PS
...........\genie_shell.WK3
...........\INC
...........\...\BITOPS.H
...........\...\DEF.H
...........\...\DRV
...........\...\...\AD.h
...........\...\...\can.h
...........\...\...\DirectDisplay.h
...........\...\...\DISPLAY.H
...........\...\...\EXIO.h
...........\...\...\Figure.h
...........\...\...\flash.h
...........\...\...\IIS-S3C44B0.h
...........\...\...\KeyBoard16.h
...........\...\...\lcd320.h
...........\...\...\LoadFile.h
...........\...\...\Max504.h
...........\...\...\MCP2510.h
...........\...\...\OSFile.h
...........\...\...\rtc.h
...........\...\...\tchScr.h
...........\...\...\Ustring.h
...........\...\...\Zlg7289.h
...........\...\drv.h
...........\...\Maro.h
...........\...\TCPIP
...........\...\.....\Ethernet.h
...........\...\.....\INTERNET.H
...........\...\.....\ipv4
...........\...\.....\....\lwip
...........\...\.....\....\....\ICMP.H
...........\...\.....\....\....\INET.H
...........\...\.....\....\....\ip.h
...........\...\.....\....\....\IP_ADDR.H
...........\...\.....\lwip
...........\...\.....\....\API.H
...........\...\.....\....\API_MSG.H
...........\...\.....\....\arch.h
...........\...\.....\....\debug.h
...........\...\.....\....\def.h
...........\...\.....\....\err.h
...........\...\.....\....\list.h
...........\...\.....\....\mem.h
...........\...\.....\....\memp.h
...........\...\.....\....\NETIF.H
...........\...\.....\....\OPT.H
...........\...\.....\....\pbuf.h
...........\...\.....\....\SOCKETS.H
...........\...\.....\....\stats.h
...........\...\.....\....\sys.h
...........\...\.....\....\TCP.H
...........\...\.....\....\tcpip.h
...........\...\.....\....\UDP.H
...........\...\.....\netif
...........\...\.....\.....\arp.h
...........\...\.....\.....\CC.H
...........\...\.....\.....\cpu.h
...........\...\.....\.....\ethernetif.h
...........\...\.....\.....\lib.h
...........\...\.....\.....\loopif.h
...........\...\.....\.....\LWIPOPTS.H
...........\...\.....\.....\perf.h
...........\...\.....\.....\SYS_ARCH.H
...........\...\.....\.....\tcpdump.h
...........\Lib
...........\...\TCPIP.alf
...........\...\ucos_lib.alf
...........\Release
...........\SRC
...........\...\commands.c
...........\...\commands.h
...........\...\Main.c
...........\STARTUP
...........\.......\44B.H
...........\.......\44BINIT.S
...........\.......\MEMCFG.S
...........\.......\OPTION.H
...........\.......\OPTION.S
...........\UCOS-II
...........\.......\ADD
...........\.......\...\Control.h
...........\.......\...\List.h
...........\.......\...\osaddition.h
...........\.......\...\OSAddTask.h
...........\.......\...\OSMessage.h
...........\.......\CHRONOS.H