It is currently Mon Oct 20, 2014 4:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PAGE and BBC B+
PostPosted: Wed Jul 03, 2013 10:45 am 
Offline
User avatar
 WWW  Profile

Joined: Thu Apr 03, 2008 2:49 pm
Posts: 277
Location: Antarctica
I'm doing a bit of compat testing, and while Panic works on a BBC Master, I've got a problem running out of memory on the B+ in the loader.

What I see is that PAGE is at &1F00 on the B+, and while it works to just do:
Code:
PAGE=&1900
CHAIN"LOADER"

I wonder if it's safe to do that?


Top
 
 Post subject: Re: PAGE and BBC B+
PostPosted: Wed Jul 03, 2013 5:12 pm 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 7:02 pm
Posts: 273
Should be okay if you're just running from DFS.


Top
 
 Post subject: Re: PAGE and BBC B+
PostPosted: Wed Jul 03, 2013 5:26 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Apr 03, 2008 2:49 pm
Posts: 277
Location: Antarctica
Ace, cheers Tom


Top
 
 Post subject: Re: PAGE and BBC B+
PostPosted: Fri Jul 05, 2013 8:15 pm 
Offline
 Profile

Joined: Sat Aug 22, 2009 7:45 pm
Posts: 34
DaveF wrote:
Code:
PAGE=&1900
CHAIN"LOADER"
I wonder if it's safe to do that.
Rather than smashing PAGE to an absolute address, it's better to dynamically move it by the amount that the program actually needs in the environment it is running in. See: http://mdfs.net/Info/Comp/BBC/ProgTips/DropPAGE.txt


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron