[A83] Re: Back to the home screen


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

[A83] Re: Back to the home screen




Ok I think I understand what you're asking(I jumped in, in the middle of
this thread).  So you want to write a routine to switch to the homescreen no
matter where you are in tios (and you're having trouble in the case of
menus)?  I think you could load 0 into register a, then call loadmenunuml.
This will close the menu and bring you back to the app that is open
(grapher, prog editor, homescreen etc.).  Then you can change cxCurApp like
you were doing.  I think a better method of switching from the current
context (app) is to load the context App's number into register a then do
the rom call _newContext0 (i think _newContext without the 0 is pretty much
the same but doesn't restore the original rompage and sets kbdkey to 0) then
a call to the cxRedisp routine should finish it off(or just use your puts
routine you've got to redisplay).  See squish.inc for these equates.

Brandon Sterner

----- Original Message -----
From: "SUCKER from the old days" <sucker_pvn@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Wednesday, December 12, 2001 3:04 PM
Subject: [A83] Re: Back to the home screen


>
> It's a regular 83, but I do not think any of those
> things would work. But who knows, right ?!?
> (Are those things actually available on a 83(-)?)
>
>     SUCKER
>
> >are you workign with the 83+ or the 83?  Also have you tried the romcalls
> >_rstrUnderMenu, _LoadMenuNum, _LoadMenuNumL ?  Perhaps if you try loading
a
> >menu of value 0 (no menu) then you might exit back to the os.  If not
that,
> >have you you tried inputting a kclear to keyboard key storing locations?
> >This would exit the menu once you return to the tios's routines if there
> >was
> >a menu in the first place.
> >Brandon Sterner
> >
> >----- Original Message -----
> >From: "Patai Gergely" <patai.ti@freemail.hu>
> >To: <assembly-83@lists.ticalc.org>
> >Sent: Wednesday, December 12, 2001 1:23 PM
> >Subject: [A83] Re: Back to the home screen
> >
> >
> > >
> > > > You might want to try jumping to the address that is
> > > returned to after a normal
> > > > asm program returns (just thought of it and it might not
> > > work, but....)
> > > >
> > > Are you sure that this is a constant address?
> > >
> > > PG
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
>





References: