[comp.sys.atari.st] Keyboard Scanning

adp@csug.cs.reading.ac.uk (Andrew Pollard) (08/09/90)

Hello,
 I wonder if anybody out there could help me with a small problem. I want to
scan the ST keyboard directly, ie obtain from it the codes for keys up and down,
and (possibly) bypass the usual keyboard scanning routines. I need to do this to
find out when keys are pressed simultaneously.
 I noticed a bios (xbios ?) call that returned an address of a pointer table to
various input routines (such as mouse, MIDI, input etc).
 Is it just possible to save the keyboard vector (the last one?), plug in my own
for a while, and then reset the original vector on exit? What, if any, special
properties does one of these vector routines require? Will it be possible to
still use a debugger (MONST2) to trace the program even when the keyboard input
routine has been moved, and if not what could be done?
 Any help will be appreciated, source code or explanations, either emailed
directly to me, or on the net.

Thanks,
 Andrew

===============================================================================
| Andrew Pollard            | adp@uk.ac.reading.cs.csug                       |
| Dept of Computer Science  | adp%uk.ac.reading.cs.csug@uk.ac.nsfnet-relay    |
| Reading University        |                                                 |
| England                   |                                                 |
===============================================================================