文档介绍:2
1
2
1
第 28 卷第 11 期信息技术 VOL. 28 NO. 11
2004 年 11 月 INFORMATION TECHNOLOGY Nov. 2004
单片机系统中标准汉字库的生成及应用
周军1 , 蒋建军2
(1. 东北电力学院电力工程系, 吉林 132012 ; 2 新疆电力公司电力调度中心, 乌鲁木齐 830002)
摘要: 给出了一种标准硬件汉字库的生成方法, 介绍了硬字库中字模的结构, 给出了由汉字
机内码求字模首地址的计算方法。结合通用的液晶显示控制器 KS0108 , 分析了其显示 RAM 的结
构, 根据其与字库字模结构的不同, 给出了用 51 单片机汇编语言编写的字模转换子程序。
关键词: 汉字库; 单片机系统; 液晶显示
中图分类号:TN ,TP 文献标识码:B 文章编号:1009 - 2552 (2004) 11 - 0053 - 03
Design and application of standard Chinese character library in
single chip puter system
ZHOU Jun1 , J IANGJian jun2
( 1. Electric Power Engineering Department , Northeast Institute of Electric Power Engineering ,Jilin132012 , China ;
2. Power System Dispatching Center , Xinjiang Electric pany , Ulumqi830002 , China)
Abstract :A method of designing a hard standard Chinese character library is given. The structure of Chinese
character library is present and how to calculate the first address of a Chinese character pattern through its code
is discussed in this paper. As an example , a program written with 8051 assemble language that solves the dif
ferent structure problem between Chinese character pattern and display RAM of KS0108 controller is detailed
explained.
Key words :Chinese character library ; single chip puter system ; LCD display
0 引言的下降,又为标准字库提供了一个廉价的载体。本
文给出了一种用大容量存储器制作标准字
汉字液晶显示已经被广泛地应用于单片机系统 FLASH
库的方法,其特点是:可以制作任意字体的 16 ×