Re: [cc65] Fast multi-key keyboard input on C64?

From: Agent Friday <64subnet1gmail.com>
Date: 2010-11-30 01:27:41
On Sun, Nov 28, 2010 at 4:00 PM, Stefan Wessels <swessels@email.com> wrote:
> Is the only way to do this to use the row/column checks on the CIA
> ports ($DC00 & DC01)?  Using cgetc, as well as looking at location
> 197 doesn't work - only 1 key pressed.

Yes, and I don't think you can get what you need by calling the
Kernal keyboard scan routines either.  Maybe you can re-use parts of
them.  The built-in scanning only cares to know about any 1 key
pressed; if you hold down 2, one of them takes precedence (either
the first one encountered, or the last, don't remember which).
Someone has posted enhanced scanning routines on codebase.org.
Go there and serach for:
    key scan

// Agent Friday
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 30 01:27:48 2010

This archive was generated by hypermail 2.1.8 : 2010-11-30 01:27:50 CET