论文部分内容阅读
近期广为流行的CCDOS 2.13F汉字系统,以其功能强支持多类显示卡而深得用户喜爱,但在使用中感到其装入16点阵显示字库的方法不如希望公司的UCDOS 1.0。我们在分析了UCDOS和2.13F后发现其获得16点阵汉字字模的方法有相似之处,只需将2.13F中的显示控制模块中取字模处的子程序稍加修改就可以使用UCDOS的字库装载模块,即可以装入压缩汉字库和不依靠虚拟盘而直接将显示字库装入扩展内存(如果有扩展内存)。在UCDOS中,要得到一个汉字的点阵字模,需将汉字机内码送入AX寄存器中,然后将AX的内容和7F7F进行“与”运算,接着执行6A软中断,点阵字模返回在ES:0000指向的内存中,而在2.13F中取字模采用将汉字机内码送入DX中,然后执行软中断7F,字模返回在DX:0000指向的内存区中。具
Recently popular CCDOS 2.13F Chinese system, with its strong support for many types of video cards and won the user favorite, but in use felt 16 hexadecimal font loading method is not as good as the company’s UCDOS 1.0. After analyzing UCDOS and 2.13F, we found that they have similarities in the method of obtaining 16 dot matrix Chinese character font. The font of UCDOS can be used only by slightly modifying the font program in 2.13F display control module Load the module, which loads the compressed kanji library and loads the display font directly into extended memory (if extended memory) without relying on the virtual disk. In UCDOS, to get a dot matrix font of Chinese characters, it is necessary to send the Chinese character code into the AX register, then AND the content of AX with 7F7F, then perform 6A soft interrupt, : 0000 points to the memory, while the font in 2.13F take the Chinese character code into the machine DX, and then perform a soft interrupt 7F, font returns DX: 0000 in the memory area. With