商丘师范学院学报
商丘師範學院學報
상구사범학원학보
JOURNAL OF SHANGQIU TEACHERS COLLEGE
2014年
12期
66-69
,共4页
定时计数器%8253%实验设计%发声程序%音长
定時計數器%8253%實驗設計%髮聲程序%音長
정시계수기%8253%실험설계%발성정서%음장
timer/counter%8253%experiment design%sound-producing program%sound duration
Intel 8253是典型的定时计数器芯片,有着广泛的应用。要掌握其工作原理和编程方式,实验是必不可少的环节。设计了一个新颖的基于普通PC机的8253发声程序实验。发声程序需要音调和音长两个参数。音长一般通过软件延时实现,但软件延时存在不能精确定时的问题。针对该问题提出了一种利用DOS系统功能调用获取精确音长的方法。该实验既可以独立设为实验,也可以作为基于实验箱的实验的有益补充。
Intel 8253是典型的定時計數器芯片,有著廣汎的應用。要掌握其工作原理和編程方式,實驗是必不可少的環節。設計瞭一箇新穎的基于普通PC機的8253髮聲程序實驗。髮聲程序需要音調和音長兩箇參數。音長一般通過軟件延時實現,但軟件延時存在不能精確定時的問題。針對該問題提齣瞭一種利用DOS繫統功能調用穫取精確音長的方法。該實驗既可以獨立設為實驗,也可以作為基于實驗箱的實驗的有益補充。
Intel 8253시전형적정시계수기심편,유착엄범적응용。요장악기공작원리화편정방식,실험시필불가소적배절。설계료일개신영적기우보통PC궤적8253발성정서실험。발성정서수요음조화음장량개삼수。음장일반통과연건연시실현,단연건연시존재불능정학정시적문제。침대해문제제출료일충이용DOS계통공능조용획취정학음장적방법。해실험기가이독립설위실험,야가이작위기우실험상적실험적유익보충。
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.