anthes@geocub.UUCP (Franklin Anthes) (11/10/88)
I have written an interactive audio-visual program using a PC-XT, coupled with a videodisk and a digitized sound card. The spectator interacts with the audio-visual program through a specialized vandal-proof keyboard, which has no moving pieces, and therefore no tactile feedback. The problem is that spectator can unwittingly (sp?), or wittingly:-), send large amounts of characters to the PC. Once the keyboard buffer overflows the computer starts emitting a beeping sound, and my program grinds almost to a halt. This of course wreaks havoc with the audio-visual, since it relies highly on synchronisation between the videodisc and the digitized sound! What I tried to do was replace the keyboard interrupt routine, by a do nothing routine of my own, which I hoped would disable the keyboard while I wasn't using it. Unfortunately this approach didn't work (the machine locked up after 2 interactions with the spectator). Apparently my interrupt routine should read the characters from the keyboard before throwing them away... I haven't found any documentation on how to interract with the keyboard on the hardware level, so for the moment I'm stuck. Any ideas, suggestions, or source code:-) would be immensely (sp?) appreciated. BTW I'm using Turbo C 1.5, if that makes any difference? Bien le bonjour de la France! Frank Harper -- Frank Anthes-Harper Usenet: ....!ucbvax!decvax!uunet!mcvax!inria!geocub!anthes