文件名称:TypingGame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:258.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
打字游戏设计
采用DOS功能调用(INT21H)中的AH=2CH得到系统时间,系统时间除模26得随机数,在此基础上加上基准字母,就可以得到随机字母。再利用BIOS功能调用中的INT10H AH=02H、06H、09H、0AH就可以控制字母的下降及判断字母的正确与否。利用8253的方式2进行计时和8259A中断就可以控制每10分钟打印,而打印则采用并行接口芯片8255A与中断芯片8259A以中断方式打印。-Typing game design using DOS function calls (INT21H) in the AH = 2CH get the system time, system time, except for 26 were random numbers, on this basis, with reference letters, it can be random letters. Re-use BIOS function calls in the INT10H AH = 02H, 06H, 09H, 0AH can control the decline in the letters and the letters to judge right or not. The use of 8253 means 2 for timing and 8259A interrupt can control every 10 minutes to print, while the print is applied parallel interface chip 8255A and 8259A interrupt chip to interrupt printing.
采用DOS功能调用(INT21H)中的AH=2CH得到系统时间,系统时间除模26得随机数,在此基础上加上基准字母,就可以得到随机字母。再利用BIOS功能调用中的INT10H AH=02H、06H、09H、0AH就可以控制字母的下降及判断字母的正确与否。利用8253的方式2进行计时和8259A中断就可以控制每10分钟打印,而打印则采用并行接口芯片8255A与中断芯片8259A以中断方式打印。-Typing game design using DOS function calls (INT21H) in the AH = 2CH get the system time, system time, except for 26 were random numbers, on this basis, with reference letters, it can be random letters. Re-use BIOS function calls in the INT10H AH = 02H, 06H, 09H, 0AH can control the decline in the letters and the letters to judge right or not. The use of 8253 means 2 for timing and 8259A interrupt can control every 10 minutes to print, while the print is applied parallel interface chip 8255A and 8259A interrupt chip to interrupt printing.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TypingGame.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.