Not sure why but when I compile assembly for z80 or ez80, the calculators will accept it but I am unable to select the programs. Also, the names of the programs will only be the first letter. Is there something I'm doing wrong?
Currently, I'm trying to use the assembly code found at http://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B88
This is the code that compiles successfully but the calculator won't use:
Code:
Currently, I'm trying to use the assembly code found at http://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B88
This is the code that compiles successfully but the calculator won't use:
Code:
.nolist
#include "ti84pce.inc"
.list
.org UserMem-2
.db tExtTok,tAsm84CeCmp
RawKeyHook:
.db 83h ; Required for all hooks
cp kAppsMenu ; was Apps pressed?
jr z,AppsKey
cp kPrgm ; was Prgm pressed?
ret nz
ld a,kAppsMenu ; change key to kAppsMenu
or a ; set NZ condition
ret
AppsKey:
ld a,kPrgm ; change key to kPrgm
or a ; set NZ condition
ret
ret