论文部分内容阅读
本刊1991年第7期刊登了尹锋同志的一篇文章——“数据录入程序中汉字与西文状态的自动切换功能的设计与实现”(下称原文),笔者在此提出一点改进方案,以供商榷。在计算机内存RAM的某一区域中,系统设计者设定了一些特殊单元,这些单元的值能表示键盘某些键当前所处的状态。对IBM PC/XT/AT而言,用RAM0段存贮器的1047单元来反映字母键的状态,在大写字母输入方式时,该单元的第6位为1,在小写字母输入方式时,该单元的第6位为O。因此,若要切换成大写字母输入方式,只要把1047单元置成十进制64
In the 7th issue of 1991, there was an article published by Comrade Yin Feng - “Designing and Realizing the Automatic Switching Function between Chinese and Western Languages in Data Enrollment Program” (hereinafter referred to as the original), and I hereby propose a little improvement plan For discussion. In one area of the computer’s memory RAM, the system designer sets up special cells whose values represent the current state of some of the keyboard’s keys. For IBM PC / XT / AT, the state of the letter key is reflected by the 1047 unit of the RAM section memory, and the sixth bit of the unit is 1 in uppercase letter input mode. In the lower case letter input mode, The sixth bit of the unit is O. Therefore, if you want to switch to uppercase letters input method, as long as the 1047 unit into decimal 64