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


Using hardware interrupts for timing visual displays and reaction-time key interfacing on the Commodore 64
Authors:Richard D. Wright  Michael R. W. Dawson
Affiliation:1. Centre for Cognitive Science, Department of Psychology, University of Western Ontario, N6A 5C2, London, ON, Canada
2. York University, Toronto, Ontario, Canada
Abstract:The use of hardware interrupts for presenting and timing visual displays and for controlling reaction timing on the Commodore 64 is described. The three sources of interrupts discussed are reaction-time keys interfaced through the user port to on-board hardware timers, the alarm of the 60-Hz real-time clocks, and the video raster. In a demonstration program, these interrupts are used to measure display durations, to change screen displays, and to coordinate the onset of reaction timing with the onset of screen changes. In addition, an externally generated interrupt caused by a keypress is used to control reaction timing independently of CPU operations.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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