-
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用...
用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
- 2023-04-01 14:55:03下载
- 积分:1
-
led大屏幕点阵 有程序参考,在灯饰上用处很大!
led大屏幕点阵 有程序参考,在灯饰上用处很大!-led large screen dot-matrix program has a reference on the use of lighting at great!
- 2023-01-30 14:40:03下载
- 积分:1
-
20*2液晶驱动程序,可以以总线方式或间接控制方式,注释清楚明了...
20*2液晶驱动程序,可以以总线方式或间接控制方式,注释清楚明了
- 2022-01-20 23:01:24下载
- 积分:1
-
记录了汽车CAN总线通信环境的建立和初始化
记录了汽车CAN总线通信环境的建立和初始化-Records of the car CAN bus communication environment, the establishment and initialization
- 2023-04-01 18:25:03下载
- 积分:1
-
许多数字传感器的数据和程序,相信我的很多朋友…
很多的数字式传感器资料和程序,我相信很多朋友都需要它吧??、-Many of the digital sensor data and procedures, I believe that many of my friends need it, right? ? ,
- 2022-03-04 16:23:56下载
- 积分:1
-
The source code to initialize the keyboard, carried Netizen, a reference to the...
初始化键盘的源码,转自网友,给初学者参考-The source code to initialize the keyboard, carried Netizen, a reference to the beginner
- 2022-09-09 20:55:03下载
- 积分:1
-
JUPITER demo, SIO
JUPITER演示程序,SIO-test-JUPITER demo, SIO-test
- 2022-06-28 19:39:12下载
- 积分:1
-
模拟示波器,能用于学生在学习初级VB上有简单的了解
模拟示波器,能用于学生在学习初级VB上有简单的了解-Analog oscilloscope can be used for elementary students in learning VB have a simple understanding of
- 2022-01-26 00:40:08下载
- 积分:1
-
LCDs [C
【液晶显示器的C语言程序设计 Freescale 8位微控制器】一书的光盘,对LCD驱动编写很有帮助-LCDs [C-Language Programming Freescale 8-bit microcontroller] 1 book CD-ROM, LCD driver for the preparation of useful
- 2022-01-25 23:15:15下载
- 积分:1
-
很好的源代码,x250汇编源码,X250读写功能,
很好的源代码,x250汇编源码,X250读写功能,-good source code, compile source SCH-X250, SCH-X250 features,
- 2022-06-12 10:13:51下载
- 积分:1