[comp.sys.amiga] HiTek keyboard: software fix for lost chars

ISCOVE%UTOROCI.bitnet@ugw.utcs.utoronto.ca (09/22/89)

Here is a simple if inelegant fix for earlier B2000 systems with
HiTek keyboards that lose the first character typed after a
system reset.  The definitive fix is supposed to be removal of
the 1000 pf capacitors C910 and C911 from the motherboard (and
may be done by dealers under warranty).  But the following
software kludge works fine on my system (rev 4.4 board).  It
simply involves insertion of two short commands into the
startup-sequence.  From a powerup start, issue a KBD_CLEAR
followed by a KBD_RESET command to the keyboard.device.  From
subsequent warm reboots (the KBD_CLEAR having once been given
during the original powerup), issue only the KBD_RESET command.
Stick to these rules, anything else on my system leads to a
crash.  Enclosed are two short programs 'clear' and 'reset',
which simply issue the KBD_ commands to the keyboard device
using standard system device protocol.  'Clear' is invoked in
my startup within the 'if not exists RAD:c ..... endif' section
that sets up the RAD: .  'Reset' is invoked at the end of the
startup just before 'endcli'.


begin 644 clear
M```#\P`````````!```````````````V```#Z0```#8L>``$D\E%^0```%A'P
M^0```&A)^0```+A.KO[:*4``$"),3J[^GB!*(DMP`'(`3J[^1$J`9@``'B)+@
M(TP`#C-\``4`'$ZN_C@B3$ZN_I@B2TZN_CYP`$YU:V5Y8F]A<F0N9&5V:6-E&
M`````````````````````````````````````````````````````````````
M`````````````````````````````````````````````````````````````
M``````````````````````````````````/L`````P`````````(````#@``(
*`!0````````#\@``)
``
end
size 280


begin 644 reset
M```#\P`````````!```````````````V```#Z0```#8L>``$1?D```!61_D`+
M``!F2?D```"VD\E.KO[:*4``$"),3J[^GB!*(DMP`'(`3J[^1$J`9APB2R-,L
M``XS?``!`!Q.KOXX(DQ.KOZ8(DM.KOX^<`!.=6ME>6)O87)D+F1E=FEC90``3
M`````````````````````````````````````````````````````````````
M`````````````````````````````````````````````````````````````
M````````````````````````````3G$```/L`````P`````````&````#```#
*`!(````````#\@``'
``
end
size 280


Norman Iscove  iscove@utoroci  (bitnet)