Re: A86: Re: stop


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

Re: A86: Re: stop






Dux Gregis wrote:

> Kirk Meyer wrote:
>
> > From: Scalp <scalp@bigfoot.com>
> > To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
> > Date: Sunday, March 08, 1998 5:44 AM
> > Subject: A86: stop
> >
> > |
> > |Sorry , but I still have questions...
> > |Is there a routine like "Stop" in basic that stop the program. Because
> with
> > |"ret", the program goes to the last label... and that sucks.
> >
> > use the command "jp _jforcecmdnochar" or something like that.  it
> performs
> > lots
> > of exits routines and you can use it anywhere in your program.
> >
> > |
> > |Thanx
> > |
> > |P.S. I still need the source of Property86 or a other prog like that
> >
> > the source for the next version of it may be posted on ticalc.org
> >
> > |P.S.2. Does someone dissassemble the Ti Demo prog, if so, how do they
> lock
> > |memory (like in Rascall), is it a Rom call or what ???
> >
> > yes, i have disassembled it.  it uses an interrupt routine to check at
> what
> > state
> > (i.e., what screen) the calculator is at.  if it is at a delete screen it
> > locks up use of
> > the ENTER key, etc.
>
> That's not true.  Rascall doesn't use any interrupt.  I think it sets a
> flag or
> something.  The demo program uses the interrupt to shorten the APD timer.
>

Actually, you are both wrong and you are both right :)
A "semi-interrupt" routine is called when you set a flag.  Whenever a key is
pressed, the OS calls this routine, which can tell what mode the calc is in by
looking some specific byte in memory.

Bill


Follow-Ups: References: