KEYCODES.ASM

This program will display the keycodes of any single key pressed on the TI-84+ (except "ON" and "ENTER").

The Assembler Program (z80)

#include  "ti83plus.inc"

#define   progStart   $9D95

.org      progStart-2

.db       $BB,$6D

waitForUserCSC:

    xor a

    bCall(_GetCSC)

    cp $09

    jr z, endit

    cp $00

    jr z, waitForUserCSC

    ld h, $00

    ld l, a

    bcall(_DispHL)

    bcall(_NewLine)

    jp waitForUserCSC

endit:

    ret


The TI-84+ Machine Code

AsmPrgm
BB6DAFEF1840FE092810FE0028F426006FEF0745EF2E45C3959DC9

To use the machine code, you still need to compile it using AsmComp( and execute it using Asm(.