Download this file
1 2 3 4 5 6 7 8 9 10 11
#include "_coco.h" // Returns 0 if no key is currently pressed. // unsigned char asm inkey() { asm { jsr [$a000] tfr a,b // byte return value goes in B } }