Location:
Search - keil c rom
Search list
Description: 用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi
Platform: |
Size: 14619 |
Author: Jawen |
Hits:
Description: 用51单片机做的简单频率计,KEIL C环境,带工程文件,可直接编译运行.主要演示如何在内存很少,无法启用RTOS的单片机(例如2051)中使用状态机和时间片来完成实时多任务并行处理.例子中对键盘,信号采集和LED数码管的显示三部分进行了并行处理,而采用的单片机是仅有256字节内存2K ROM的89C2051.
Platform: |
Size: 21312 |
Author: rainyss |
Hits:
Description: 用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi
Platform: |
Size: 14336 |
Author: Jawen |
Hits:
Description: 用51单片机做的简单频率计,KEIL C环境,带工程文件,可直接编译运行.主要演示如何在内存很少,无法启用RTOS的单片机(例如2051)中使用状态机和时间片来完成实时多任务并行处理.例子中对键盘,信号采集和LED数码管的显示三部分进行了并行处理,而采用的单片机是仅有256字节内存2K ROM的89C2051.-51 Singlechip to do with a simple frequency meter, KEIL C environment, with project file can be directly compiled to run. The main demonstration of how little memory, can not be enabled MCU RTOS (eg 2051) the use of state machine and the time slice to complete the real-time multi-task parallel processing. examples of the keyboard, signal acquisition and digital tube LED display of the three parts of a parallel processing, which is only used in single-chip 256-byte of the 2K ROM memory 89C2051.
Platform: |
Size: 21504 |
Author: rainyss |
Hits:
Description: Hydrogen/C51 是一个用于51的非占先操作系统 基本上用纯 C 实现, 嵌入了大概10行的汇编
基本需求:
1.最小编译代码大概在 2.4k
2.需要使用片外的 xdata 作为堆使用
3.占用 TIMER0 作为计时
使用基本要求:
1.任务中必需要存在 Sleep/WaitFor 函数才能主动放弃占用CPU
2.任务入口和使用到Sleep/WaitFor的函数必需是 reentrant.
内核功能:
1.动态建立任务
2.支持事件/阻塞/信号量,临界
3.全双工串口(中断实现), IO过程中不会阻塞其它任务
4.UNIX c 风格的读写流(read/write)
5.一个简单的基于 24C 的文件系统(不支持目录)
-Hydrogen/Core51 is a Keil C51 None-Preemptive OS. CORE written by Pure C (well..almost Pure, has 10 lines inline ASM).
CORE minimal resource
**Size about 2.3~5K ROM, 20+ Byte RAM. it is depends modules your chosen.
**CORE also TAKE TIMER0 to tick for real-timing, and need xdata for HEAP
CORE Support
**dynamic Create/Terminate Thread(TASK)
**Synchronize Object (Event/Semaphore/Critical Section), Thread(TASK) Naturally GIVES UP CPU by WaitFor these Synchronize Object
**Common IO, it is STD C open/read/write in Any Stream Like IO(I2C, UART etc.)
I host this project for OS studying, and Also Used in my work.
SRC can be download from SVN Repository
Platform: |
Size: 3266560 |
Author: binary |
Hits: