Re: [cc65] Question on 1351 mouse

From: <silverdr1wfmh.org.pl>
Date: 2010-02-17 23:59:03
On 2010-02-17, at 21:31, Greg King wrote:

> The driver prevents the keyboard from interfering by changing the
> keyboard's output port into an input port while the driver reads its
> controller device.  That disables a wire that is left active by the
> Kernal.  That wire is used by the STOP-key to break out of BASIC
> programs -- CC65 programs don't use that feature.  The wire is shared by
> these keys:
> STOP, "Q", Commodore, Space, "2", CTRL, Left-Arrow, and "1".  I listed
> them, in order, from bit 7 over to bit 0.  The rightmost five keys can
> look like joystick switches.
> 
> The driver prevents the mouse/joystick from interfering by "blinding"
> the keyboard scanner while any button/switch is active.

How does it distinguish between key and button/switch activation? E.g. between SPACE and LMB/FIRE in control port I?

-- 
SD!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Feb 17 23:59:12 2010

This archive was generated by hypermail 2.1.8 : 2010-02-17 23:59:14 CET