A86: Re: 24-bit add?


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

A86: Re: 24-bit add?





if you don't need rom calls, you can swap one page to $4000 - $7fff and the
other to $8000 - $bfff; otherwise your routine to read the data will have to
swap pages, which might turn out slow


>
>Is there a call like add ahl,bde or something like that?
>
>Another question:
>If you have a string containing maps, and the string is about 20k, it is
>most likely to span pages, right? I've figured out how to check if it
>comes to another page. But what if a map starts at one page and ends at
>another?
>The maps are stored like this:
>
>.db 1,1,2,3,4,0,0,0,1
>.db 1,3,5,3,5,3,2,2,4
>     .
>     .
>and so on. They are 8 rows each.
>But if it begins at one page and I swap in that page and read 8 rows
>down, I will come to RAM page 0. Hoe to avoid this?
>
>Andreas Finne
>
>a_finne@hotmail.com
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com