Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: the_mad_joob on December 09, 2011, 06:03:04 pm

Title: 8X+ > bcall question
Post by: the_mad_joob on December 09, 2011, 06:03:04 pm
Hey guyz...

While doing some debugging with my app, i discovered that every time an off-page call is made, ram page 1 address is loaded into port 7 (right before processing the off-page code).
On the other hand, port 7 doesn't seem to be altered when returning from the call.

So, i was wondering if os routine calls have the same behaviour...
Title: Re: 8X+ > bcall question
Post by: Xeda112358 on December 09, 2011, 07:20:03 pm
Ah, so you mean you were using the built in bcall() routine for apps? I do not believe this occurs with regular bcalls from my study of the code.

I had actually forgotten all about that side effect which is something I will need to deal with soon...
Title: Re: 8X+ > bcall question
Post by: the_mad_joob on December 09, 2011, 08:06:32 pm
Ah, so you mean you were using the built in bcall() routine for apps? I do not believe this occurs with regular bcalls from my study of the code.
Thx, and yeah, that's what i meant.

I had actually forgotten all about that side effect which is something I will need to deal with soon...
Trust me, put this info in the safest area of your brain because if it's overwritten, debugging can cost u a few hours =]
Title: Re: 8X+ > bcall question
Post by: Xeda112358 on December 09, 2011, 08:11:52 pm
Yeah, because I was planning to use other RAM pages there with a 2-page app and that wouldn't do D: