[Coco] Reading keyboard input without basic

Jason M oleribus at gmail.com
Wed Feb 10 07:20:13 EST 2016


Thanks for the info all.  Does anyone have more info on the available rom
routines and maybe an example of using one in assembly ?
On Feb 9, 2016 7:53 PM, "Brett Gordon" <beretta42 at gmail.com> wrote:

> Coco3 can do a key interrupt... but once it fires make sure you shut off
> the interrupt (via FF92 or FF93 ) for a jiffy or two, otherwise the key
> interrupt will fire non-stop until the user releases the key(s).  :(
>
> CoCo2 doesn't have a key interrupt.  So you'll have to poll every once in a
> while.  I usually use the VSYNC interrupt for this.  Basic has some pretty
> handy routines for scanning the keyboard, btw. (Manipulation of the
> "rollover" RAM is allows for some cool stuff btw...)
>
>
> Brett M Gordon
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list