[A86] Re: Hybid ASM/BASIC Prog questions..


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

[A86] Re: Hybid ASM/BASIC Prog questions..




On Mon, 7 Jan 2002 16:20:26 +0100 "Henk Poley" <HPoley@DDS.nl> writes:
> 
> On the Ti82/83(+) there are some pointers (and a string) that will 
> tell you
> where (and what) the BASIC program is that called your assembly 
> program. Is
> there also something like that on the Ti85/86?

That information is stored on one of the stacks, I forget which.  There's
probably another place that also stores just the most recent basic
program, what's the address on the 82/3/+?  It's probably named the same
thing on the 86, or used the same way at least.

> If you use the ROM to load data from one RAM-page to the other, do the
> interrupts get disabled? Or should I do that myself if I have an IM2
> running in the background?

If it's loaded in a paged ram bank then you need to disable interrupts
yourself.  If it's in $c000-$ffff, I don't see why it would make a
difference.

The rom has no reason to disable interrupts.  The default interrupt
handler is in the non-paged rom area, and any calls it makes to paged rom
save and restore the previous page number.

-josh