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

Re: AUX memory question



Matthew Russotto wrote:
> 
> In article <3A9583B6.2715D885@usb.com>, Dennis Jenkins  <dennis@usb.com> wrote:
> >Matthew Russotto wrote:
> >>
> >> I think you may have a problem because your auxiliary memory routines
> >> are in the zero page, and IIRC the same switch (ALTZP) switches the zero
> >> page and the language card.  Maybe you could use AUXMOVE to copy your
> >> routines (or parts thereof) over to the alternate zero page.  Then
> >> when you hit ALTZP you'd continue executing instead of crashing and burning.
> >
> >No problems.  I never swap pages 0,1.  I always leave those set to MAIN.
> 
> You misunderstand.  You HAVE to swap pages 0,1.  The same switch that
> swaps 0,1 also swaps the language card RAM.  So if you want to access
> that last 16K, you either need to be running somewhere outside 0,1 or
> you need to have a copy of your code on AUX 0,1.

AH!  That is exactly what I wanted to know.  I'll put my code in both
banks then, using AUXMOVE to load the stub.

-- 
dennis@usb.com                           Universal Savings Bank.

The three most dangerous things are a programmer with a soldering
iron, a manager who codes, and a user who gets ideas.