Staredit Network

Staredit Network -> Miscellaneous -> TI-83+ ON key press detection
Report, edit, etc...Posted by O)FaRTy1billion on 2005-07-04 at 13:36:44
Ok, I am making a program, and one of the functions is you press "ON" and the calculator turns off.
The only problem I am having is that I cannot find a way to make it so it detects you have pressed on.

I can make it so it detects any key pressed except ON and 2nd+ON.

I know you have to disable the ON break, but thats all I have. (And I have the turn off part)

So if anyone who knows anything that can help me, please put it.

(BASIC or ASM works, this program uses both tongue.gif)

EDIT: Also I have tried disabling ON break then using the 'getkey' in BASIC. Why should it work? Normally ON breaks. (In other words, it did not work.)

EDIT:
If you want, you can look through this for something like "kon" or something, but I have already looked a few time ('k' is for 'key'):
[codebox]kright equ 001h
kleft equ 002h
kup equ 003h
kdown equ 004h
kenter equ 005h
kalphaenter equ 006h
kalphaup equ 007h
kalphadown equ 008h
kclear equ 009h
kdel equ 00ah
kins equ 00bh
krecall equ 00ch
klastent equ 00dh
kbol equ 00eh
keol equ 00fh
;
kselall equ 010h
kunselall equ 011h
kltoti82 equ 012h
kbackup equ 013h
krecieve equ 014h
klnkquit equ 015h
ktrans equ 016h
krename equ 017h
koverw equ 018h
komit equ 019h
kcont equ 01ah
ksendid equ 01bh
ksendsw equ 01ch
kyes equ 01dh
knoway equ 01eh
kvsendtype equ 01fh
koverwall equ 020h
;
kno equ 025h
kkreset equ 026h
kapp equ 027h
;
kdoug equ 028h
klistflag equ 029h
menustart equ 02bh
;
kareyousure equ 02bh
kappsmenu equ 02ch
kprgm equ 02dh
kzoom equ 02eh
kdraw equ 02fh
ksplot equ 030h
kstat equ 031h
kmath equ 032h
ktest equ 033h
kchar equ 034h
kvars equ 035h
kmem equ 036h
kmatrix equ 037h
kdist equ 038h
kangle equ 039h
klist equ 03ah
kcalc equ 03bh
kfin equ 03ch
;
menuend equ kfin
;
kcatalog equ 03eh
kinputdone equ 03fh
koff equ kinputdone
;
kquit equ 040h
appstart equ kquit

;
klinkio equ 041h
kmatrixed equ 042h
kstated equ 043h
kgraph equ 044h
kmode equ 045h
kprgmed equ 046h ; program edit
kprgmcr equ 047h ; program create
kwindow equ 048h ; range editor
kyequ equ 049h ; equation editor
ktable equ 04ah ; table editor
ktblset equ 04bh ; table set
kchkram equ 04ch ; check ram
kdelmem equ 04dh ; delete mem
kresetmem equ 04eh ; reset mem
kresetdef equ 04fh ; reset default
kprgminput equ 050h ; program input
kzfacted equ 051h ; zoom factor editor
kerror equ 052h ; error
ksolvetvm equ 053h ; tvm solver
ksolveroot equ 054h ; solve editor
kstatp equ 055h ; stat plot
kinfstat equ 056h ; inferential statistic
kformat equ 057h ; format
kextapps equ 058h ; external applications. new
knewapps equ 059h ; new apps for cerberus.
;
append equ knewapps
;
echostart1 equ 05ah
;
ktrace equ 05ah
kzfit equ 05bh
kzin equ 05ch
kzout equ 05dh
kzprev equ 05eh
kbox equ 05fh
kdecml equ 060h
ksetzm equ 061h
ksquar equ 062h
kstd equ 063h
ktrig equ 064h
kusrzm equ 065h
kzsto equ 066h
kzint equ 067h
kzstat equ 068h
;
echostart2 equ 069h
;
kselect equ 069h
kcircl equ 06ah
kcldrw equ 06bh
kline equ 06ch
kpen equ 06dh
kptchg equ 06eh
kptoff equ 06fh
kpton equ 070h
kvert equ 071h
khoriz equ 072h
ktext equ 073h
ktanln equ 074h
;
keval equ 075h
kinters equ 076h
kdydx equ 077h
kfnintg equ 078h
krootg equ 079h
kdydt equ 07ah
kdxdt equ 07bh
kdrdo equ 07ch
kgfmin equ 07dh
kgfmax equ 07eh
;
;
echostart equ 07fh
;
klistname equ 07fh
kadd equ 080h
ksub equ 081h
kmul equ 082h
kdiv equ 083h
kexpon equ 084h
klparen equ 085h
krparen equ 086h
klbrack equ 087h
krbrack equ 088h
kshade equ 089h
kstore equ 08ah
kcomma equ 08bh
kchs equ 08ch
kdecpnt equ 08dh
k0 equ 08eh
k1 equ 08fh
k2 equ 090h
k3 equ 091h
k4 equ 092h
k5 equ 093h
k6 equ 094h
k7 equ 095h
k8 equ 096h
k9 equ 097h
kee equ 098h
kspace equ 099h
kcapa equ 09ah
kcapb equ 09bh
kcapc equ 09ch
kcapd equ 09dh
kcape equ 09eh
kcapf equ 09fh
kcapg equ 0a0h
kcaph equ 0a1h
kcapi equ 0a2h
kcapj equ 0a3h
kcapk equ 0a4h
kcapl equ 0a5h
kcapm equ 0a6h
kcapn equ 0a7h
kcapo equ 0a8h
kcapp equ 0a9h
kcapq equ 0aah
kcapr equ 0abh
kcaps equ 0ach
kcapt equ 0adh
kcapu equ 0aeh
kcapv equ 0afh
kcapw equ 0b0h
kcapx equ 0b1h
kcapy equ 0b2h
kcapz equ 0b3h
kvarx equ 0b4h
kpi equ 0b5h
kinv equ 0b6h
ksin equ 0b7h
kasin equ 0b8h
kcos equ 0b9h
kacos equ 0bah
ktan equ 0bbh
katan equ 0bch
ksquare equ 0bdh
ksqrt equ 0beh
kln equ 0bfh
kexp equ 0c0h
klog equ 0c1h
kalog equ 0c2h
ktoabc equ 0c3h
;
kclrtbl equ 0c4h
;
kans equ 0c5h
kcolon equ 0c6h
;
knderiv equ 0c7h
kfnint equ 0c8h
kroot equ 0c9h
;
kquest equ 0cah
kquote equ 0cbh
ktheta equ 0cch
kif equ 0cdh
kthen equ 0ceh
kelse equ 0cfh
kfor equ 0d0h
kwhile equ 0d1h
krepeat equ 0d2h
kend equ 0d3h
kpause equ 0d4h
klbl equ 0d5h
kgoto equ 0d6h
kisg equ 0d7h
kdsl equ 0d8h
kmenu equ 0d9h
kexec equ 0dah
kreturn equ 0dbh
kstop equ 0dch
kinput equ 0ddh
kprompt equ 0deh
kdisp equ 0dfh
kdispg equ 0e0h
kdispt equ 0e1h
koutput equ 0e2h
kgetkey equ 0e3h
kclrhome equ 0e4h
kprtscr equ 0e5h
ksinh equ 0e6h
kcosh equ 0e7h
ktanh equ 0e8h
kasinh equ 0e9h
kacosh equ 0eah
katanh equ 0ebh
klbrace equ 0ech
krbrace equ 0edh
ki equ 0eeh
kconstea equ 0efh
kplot3 equ 0f0h
kfmin equ 0f1h
kfmax equ 0f2h
kl1a equ 0f3h
kl2a equ 0f4h
kl3a equ 0f5h
kl4a equ 0f6h
kl5a equ 0f7h
kl6a equ 0f8h
kuna equ 0f9h
kvna equ 0fah
kwna equ 0fbh[/codebox]
Next Page (1)