[Coco] PEEK for detecting CoCo arrow keys, etc.?

Robert Gault robert.gault at att.net
Fri Dec 19 16:28:23 EST 2014


Allen Huffman wrote:
> Does anyone remember the PEEK locations for detecting arrow keys (preferably one that works from 1980 CoCo 1 to CoCo 3)?
>

The last char read gets stored at $87 IKEYIM and that get special values for 
arrow keys. Look in the Unravelled series and your will see
$5E = up arrow
$5F = shift up arrow
$0A = down arrow
$5B = shift down arrow
$08 = right arrow
$15 = shift right arrow
$09 = left arrow
$5D = shift left arrow

Robert



More information about the Coco mailing list