[A83] Re: ON-button influence
[Prev][Next][Index][Thread]
[A83] Re: ON-button influence
And the calc will shut down and crash (sort of) when you press 2nd+On.
>If you disable interrupts, you will not be able to use _getcsc. _getkey
just
>turns interrupts back on anyhow. _getcsc should not be affected by ON.
>_getkey will return 0 if on is pressed (it is the only way this happens).
>However, if 0 is returned from _getkey you still have to reset the flag.
>
>-----Original Message-----
>From: assembly-83-bounce@lists.ticalc.org
>[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Nick Reichert
>Sent: Monday, July 23, 2001 1:32 PM
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: ON-button influence
>
>
>
>Another way to fix your problem would be to disable interrupts with
>di
>and then, before your program quits, enable interrupts with
>ei
>Also, I believe that _getkey (and maybe _getcsc) are affected by the "on"
>button.
>Hope that helps,
>Nicholas Reichert
>
>
>----Original Message Follows----
>From: "TypeR unknown" <typerfuture@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] ON-button influence
>Date: Fri, 20 Jul 2001 16:41:46 +0200
>MIME-Version: 1.0
>X-Originating-IP: [194.69.25.81]
>Received: from [195.67.128.9] by hotmail.com (3.2) with ESMTP id
>MHotMailBD218E37005A400431A5C343800906000; Fri, 20 Jul 2001 07:42:16 -0700
>Received: from towerguard. (mx-1.sollentuna.net [195.67.128.9])by
>mx-1.sollentuna.net (Postfix) with ESMTPid AC66018029; Fri, 20 Jul 2001
>16:41:53 +0200 (CEST)
>Received: with LISTAR (v1.0.0; list assembly-83); Fri, 20 Jul 2001 16:41:53
>+0200 (CEST)
>Received: from hotmail.com (f15.pav2.hotmail.com [64.4.37.15])by
>mx-1.sollentuna.net (Postfix) with ESMTP id A0EE818020for
><assembly-83@lists.ticalc.org>; Fri, 20 Jul 2001 16:41:51 +0200 (CEST)
>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
>Fri, 20 Jul 2001 07:41:46 -0700
>Received: from 194.69.25.81 by pv2fd.pav2.hotmail.msn.com with HTTP; Fri,
20
>Jul 2001 14:41:46 GMT
>>>From assembly-83-bounce@lists.ticalc.org Fri, 20 Jul 2001 07:44:12 -0700
>Delivered-To: lists.ticalc-assembly-83@mx-1.sollentuna.net
>Message-ID: <F15ZhCl8aii08N8yxdZ00000f4a@hotmail.com>
>X-OriginalArrivalTime: 20 Jul 2001 14:41:46.0468 (UTC)
>FILETIME=[19F21A40:01C1112A]
>X-listar-version: Listar v1.0.0
>Sender: assembly-83-bounce@lists.ticalc.org
>Errors-To: assembly-83-bounce@lists.ticalc.org
>X-original-sender: typerfuture@hotmail.com
>Precedence: bulk
>X-list: assembly-83
>
>
>OK, this is the case.
>As one of my first programs I have made a very simple security program
>that will shut the TI-83 off if the wrong access code is given.
>This ofcourse will mean that the ON-button must be pushed to turn
>the calculator back on.
>The problem is that when you then enter the right access code and the
>calculator returns to the TI-OS a ERR:BREAK error is given, just like when
>you push ON with BASIC programme's.
>
>Can somebody tell me how to stop the influence of the ON-button so that the
>error message won't show up ???
>I know a few other programme'a who do this, so it must be possible, thanks.
>
>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
>