Well,i've managed to disable the program, app, and memory button on my calculator. For some reason it disabled the enter button also. I can still use enter on menus, but not on the homescreen. I put in a keypress combination to uninstall the keyhook, but it didn't work on my real calculator, although it did on the emulator. I overwrote my faulty code (so i don't know if i can find a loophole in my program), and i overwrote the program on the calculator with one that would uninstall the hook (so i could use last entry to run it), but yea i can't press enter. I guess if there's a way to remotely reset my calculator, that'd be great. Ti connect's restore merely sends files to the calculator.
Edit: I was able to undo the changes i made to the faulty code. I'll add comments to it now.
keyhook: ; this routine will be the keyhook add a,e ; you will need this for any keyhook. It's needed for the op-;code PUSH AF ;save key portloop1: ld a, $df out (1), a in a, (1) push af ld a, 'B' b_call(_PutMap) pop af ld hl, start-keyhook+appbackupscreen push hl cp %11111101 ret nz pop hl ld a, $FB out (1), a in a, (1) ld hl, portloop1-keyhook+appbackupscreen push hl cp %11111011 ret nz pop hl ld a, $DF out (1), a in a, (1) ld hl, portloop1-keyhook+appbackupscreen push hl cp %10111101 ret nz pop hl ld a, 'A' b_call(_PutMap) b_call(4F6Fh) pop af ret
edit: oh, let me try that