[A83] Fw: Venus 1.5 R2


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

[A83] Fw: Venus 1.5 R2




This is some info about BASIC on the Ti83 I got from Tijl Coosemans.

btw, does somebody know what happens when you run a BASIC prog as
subroutine (for another BASIC program)? The TIOS then stores somewhere
which program it was execting, and how/where to return.

> Tijl Coosemans <tijl.coosemans@mail.be> in reply to my mail:
>
> Note: I'm not at home now, so I'm not sure if what I say is right...
> 
> > Some of the following adress will probably correspond to the AppVector
> > on the Ti83+:
> > 
> > 913Bh	; ???
> 
> A 9 byte ram area where at program startup the name of that (basic)
> program is stored. Venus copies that to OP1, runs _findProgSym and
> copies that program to 932Ah.
> 
> > 9146h	; Has something to do with returning of a BASIC prog
> > 9148h	; This one too...
> 
> 9144h: pointer to start (after size bytes, I think) of running (basic)
> program
> 9146h: pointer to last byte of program data.
> 9148h: pointer to currently interpreted byte.
> 
> It could be that 9146h and 9148h should be switched.
> 
> Venus makes 9146h and 9148h the same, so that when a program returns, the
> TIOS thinks the basic program (=the same program) has finished too.

	Henk Poley <><