Re: A86: can one program be on two pages?


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

Re: A86: can one program be on two pages?





On Wed, 24 Jun 1998 20:24:37 -0400 Stephen Hicks <shicks@mindspring.com>
writes:
>
>rabidcow@juno.com wrote:
>
>> On Wed, 24 Jun 1998 10:16:28 -0400 Bryan Rittmeyer 
><bryanr@flash.net>
>> writes:
>> >
>> well, i said before (kinda hidden):
>> unless you switched _load_ram_ahl with one of those deals that loads 
>two
>> ram pages at once...  maybe: (might work, might not, anyone wanna 
>test
>> it?)
>>      call _load_ram_ahl
>>      out ($05),a
>>      inc a
>>      out ($06),a
>>      res 7,h
>>      set 6,h
>>
>> and end with
>>      out ($05),$0d
>>
>> that would load two ram pages.  i think it should work, hl would 
>point to
>> wherever just like if you called _load_ram_ahl.
>
>Doesn't the HL output of _load_ram_ahl assume that it's gonna be 
>loaded into
>the second paged area?  you'd probably have to sub $4000 (or xor $C000 
>should
>work)

that's what the res 7,h and set 6,h were for, maybe there's a better
way...

>> also, _conv_ahl $4633 gives you the ram page #, add $40 and send it 
>to
>> the port and you've got _load_ram_ahl.
>
>An OR would be faster :-)

really?  tell ti, they used add


>> -josh
>>
>> >
>> >--
>> >Bryan Rittmeyer
>> >mailto:bryanr@flash.net
>> >http://www.bridges.edu/horizon/
>> >
>--
>Stephen Hicks
>mailto:shicks@mindspring.com
>ICQ:5453914
>IRC/AIM:Kupopo
>Hopemage:http://www.mindspring.com/~shicks/




_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


Follow-Ups: References: