KeyboardExtend 0.03
-------------------

Written by Darren Salt


This module gathers modifier information for each byte inserted into the
keyboard buffer. It will return this information for the last byte read and
removed from the buffer, whether via a single-byte read or a block read.

The following call is provided:

RemV (vector &15)

Entry: R0 = R1 = -1
Exit:  R0 = description of the last key removed from the keyboard buffer:
		  Left	Right
	    Shift  b0	 b3
	    Ctrl   b1	 b4
	    Alt	   b2	 b5
	    also b8..b15 = the internal key code (or 255).

(R0 needn't equal -1 on input, but this is a good value for testing to see if
the extension is present.)


It should be noted that this module is a horrible hack...


History
-------

0.03 (17 Aug 1998)
  Ensures that its buffer is empty if it notices an empty keyboard buffer

0.02 (03 Aug 1998)
  Preserves R1 across keyboard interrupt code.
  No longer restores flags from saved PC in buffer flush code (cnpv).

0.01 (29 Jul 1998)
  Original version.
