<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 09 Apr 2006 22:49:49 +0100
From   : Phil Blundell <philb@...>
Subject: Re: [Fwd: Re: Contikit anyone?]

On Sun, 2006-04-09 at 22:42 +0100, dominic beesley wrote:
> Its more a case of reliably getting code to call back and forth across
> multiple roms. cc65 has the concept of a "far" pointer which I can use
> but my bank switching code seems to get ignored by the OS and every time
> I call an OS routine it puts back whichever ROM it thinks is best!

Are you updating the OS soft copy of the sideways RAM select register in
page zero?  If you just bash the (write-only) bank select hardware
directly without updating the soft copy, this would certainly cause the
problem you describe.

p.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>