首页 | 本学科首页   官方微博 | 高级检索  
     

基于PC机的8253实验设计
引用本文:赵永标,周琴,张其林. 基于PC机的8253实验设计[J]. 商丘师范学院学报, 2014, 0(12): 66-69
作者姓名:赵永标  周琴  张其林
作者单位:1. 湖北文理学院数学与计算机科学学院,湖北襄阳,441053
2. 中建三局东方装饰设计工程有限公司,上海,200120
摘    要:Intel 8253是典型的定时计数器芯片,有着广泛的应用。要掌握其工作原理和编程方式,实验是必不可少的环节。设计了一个新颖的基于普通PC机的8253发声程序实验。发声程序需要音调和音长两个参数。音长一般通过软件延时实现,但软件延时存在不能精确定时的问题。针对该问题提出了一种利用DOS系统功能调用获取精确音长的方法。该实验既可以独立设为实验,也可以作为基于实验箱的实验的有益补充。

关 键 词:定时计数器  8253  实验设计  发声程序  音长

The experiment design of 8253 based on PC
ZHAO Yongbiao,ZHOU Qin,ZHANG Qilin. The experiment design of 8253 based on PC[J]. Journal of Shangqiu Teachers College, 2014, 0(12): 66-69
Authors:ZHAO Yongbiao  ZHOU Qin  ZHANG Qilin
Affiliation:ZHAO Yongbiao, ZHOU Qin, ZHANG Qilin ( 1. School of Mathematics and Computer Science, Hubei University of Art and Science, Xiangyang 441053, China; 2. Dongfang Decoration Design Engineering Co. , Ltd. of China Construction Third Engineering Bureau, Shanghai 200120, China)
Abstract:Intel 8253 is a typical timer/counter chip, which has extensive application.Experiment is necessary for students to grasp the working principle and control method of 8253.A novel sound-producing program experiment of 8253 based on PC was designed.The sound -producing program needed two parameters: tone and sound duration.The sound duration is generally generated by the time delay using software which, however, is not very precise.A method that could generate precise sound duration by using DOS system call was put forward.The designed experiment can be treated either as a separate one or as a supplement to the experiment based on experimental box.
Keywords:timer/counter  8253  experiment design  sound-producing program  sound duration
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号