Author Topic: 8X+ > bcall question  (Read 2751 times)

0 Members and 1 Guest are viewing this topic.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
8X+ > bcall question
« 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...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: 8X+ > bcall question
« Reply #1 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...

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: 8X+ > bcall question
« Reply #2 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 =]

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: 8X+ > bcall question
« Reply #3 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: