文件名称:TypingGame
介绍说明--下载内容均来自于网络,请自行研究使用
打字游戏设计
采用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