View Full Version: Disabling keys

Omnimaga: The Coders of Tomorrow > Calculator help and support > Disabling keys


Title: Disabling keys


Shazane Koronova - August 15, 2007 10:25 PM (GMT)
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?

Super Speler - August 15, 2007 10:41 PM (GMT)
This cannot be done in pure Basic (at least in a controllable manner). Here's an asm subroutine that does this for you however: linky

Note: Do NOT use this unless you are sure your program is completely bug free.

kalan_vod - August 16, 2007 01:36 AM (GMT)
Great program, just make sure you have an exit :P...

DJ Omnimaga - August 16, 2007 03:19 AM (GMT)
yea true i remember trying a program jbirk on uti made like this back in 2003 and forgot to add an exit in rl3 XD




* Hosted for free by InvisionFree