[A83] Re: ON-button influence


[Prev][Next][Index][Thread]

[A83] Re: ON-button influence



Did anyone mention the specific flag yet? I dont see it in the Replied-To 
messages.  Before you exit the program, you should do: RES onInterrupt, 
(IY+onFlags)

-Jason_K

In a message dated 7/23/01 2:37:05 PM Central Daylight Time, 
kirk.meyer@colorado.edu writes:

> 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>
> 
> 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.
>