[A83] Re: Back to the home screen


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

[A83] Re: Back to the home screen




> Van: SUCKER from the old days <sucker_pvn@hotmail.com>
> 
> In my interrupt program, when apd occurs or with 2nd+on,
> I should go back to the home screen. How do I do that?
> For example: when I am in the prgm menu and do 2nd+on,
> the calc shuts down, _clrscrnfull, _homeup, and some _puts.
> But the calc thinks you're still in the prgm menu, so
> if you would press a number, that prgm gets on the home
> screen just like you want to run it. So what do I have
> to change to go to the home screen?

Oh hey, that's the thing they also needed to know on the Ti82, since there
the TIOS still *thought* you were on the prompt (there is no assembly exec
command on the Ti82). There seems to be a byte that specifies what task
('context'?) the system interrupt should execute.

I checked some things and came to the conclusion that the byte is located
at $815B on the Ti83, and is the same as $859A on the Ti83+. It should be
named cxCurApp. Here's a list:

40 = Homescreen (and menus)
41 = Link
42 = Matrix Edit
43 = Stat -> Edit
44 = Graph
45 = Mode
46 = Program Edit
47 = Program name input
48 = Window
49 = Y=
4A = Table
4B = Table Setup
4C = Ti83 : Check RAM menu
     Ti83+: About screen 
4D = Ti83 : Any of the delete menus
     Ti83+: Mem Mgmt/Del...
4E = ?
4F = ?
50 = ?
51 = Zoom factors
52 = Error
53 = TVM Solver
54 = Solver
55 = Statplot edit
56 = Stat -> Test edit
57 = Format

Just one thing I oversaw, the program menu is not in the list %-]
So I looked a bit furter, and found this (flagscan docs):

IY+11h - plotflag2      - Functions
===================================
Bit 0  - ???            - Unknown
Bit 1  - ???            - Unknown
Bit 2  - ???            - Unknown
Bit 3  - expr_param     - Unknown
Bit 4  - expr_writing   - Unknown
Bit 5  - Not Named      - 1 = Currently In The PRGM Menu  0 = Not in the
PRGM Menu
Bit 6  - ???            - Unknown
Bit 7  - ???            - Unknown

	Henk Poley <><