Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Shazane Koronova on August 15, 2007, 11:25:00 am

Title: Disabling keys
Post by: Shazane Koronova on August 15, 2007, 11:25:00 am
I'd like to disable the ON key while running a game so the loops cannot be broken...

Is this possible in Basic?  If it's something I would have to write in Assembly then has anyone already written such a method?
Title: Disabling keys
Post by: Speler on August 15, 2007, 11:41:00 am
This cannot be done in pure Basic (at least in a controllable manner).  Here's an asm subroutine that does this for you however: http://www.ticalc.org/archives/files/fileinfo/330/33039.html

Note:  Do NOT use this unless you are sure your program is completely bug free.
Title: Disabling keys
Post by: kalan_vod on August 15, 2007, 02:36:00 pm
Great program, just make sure you have an exit :Ptongue.gif...
Title: Disabling keys
Post by: DJ Omnimaga on August 15, 2007, 04:19:00 pm
yea true i remember trying a program jbirk on uti made like this back in 2003 and forgot to add an exit in rl3 XDsmiley.gif