Re: [cc65] cgetc() and repeating keys

From: Payton Byrd <plbyrd1gmail.com>
Date: 2012-06-07 21:46:04
On Thu, Jun 7, 2012 at 2:43 PM, Ullrich von Bassewitz <uz@musoftware.de>wrote:

>
> On Thu, Jun 07, 2012 at 01:09:37PM -0500, Payton Byrd wrote:
> >    Is there a way to get cgetc() to repeat keys without having to lift
> your
> >    finger off the keyboard and retyping the key?
>
> cgetc uses the kernal ($E5B4 for the C64) and doesn't do anything with the
> repeat flag, so if you don't get a key repeat it must have another reason.
>
>
Finally got it working, but I had to POKE(0x028A, 0x80) right before
calling cgetc().  Something else is clobbering that register somewhere.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jun 7 21:46:37 2012

This archive was generated by hypermail 2.1.8 : 2012-06-07 21:46:40 CEST