www.retrosoftware.co.uk
http://www.retrosoftware.co.uk/forum/

PAGE and BBC B+
http://www.retrosoftware.co.uk/forum/viewtopic.php?f=11&t=832
Page 1 of 1

Author:  DaveF [ Wed Jul 03, 2013 10:45 am ]
Post subject:  PAGE and BBC B+

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?

Author:  TomW [ Wed Jul 03, 2013 5:12 pm ]
Post subject:  Re: PAGE and BBC B+

Should be okay if you're just running from DFS.

Author:  DaveF [ Wed Jul 03, 2013 5:26 pm ]
Post subject:  Re: PAGE and BBC B+

Ace, cheers Tom

Author:  jgharston [ Fri Jul 05, 2013 8:15 pm ]
Post subject:  Re: PAGE and BBC B+

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

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/