Subject: Re: New bootloader
To: Ian Fry <Ian.Fry@sophos.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm26
Date: 08/02/2001 13:03:27
On Thu, 2 Aug 2001, Ian Fry wrote:

> On Wed, Aug 01, 2001 at 11:46:55AM +0100, Ben Harris wrote:
> > Probably the easiest way to do this would be to wrap it up in a module that
> > stuck it in ResourceFS, along with a suitable !Boot, and then set RISC OS
> > up to boot from ResourceFS (like NCs do).
>
> Surely there is a restriction here? It'll only work on RISC OS 3 or later, as
> RISC OS 2 doesn't have ResourceFS, and DeskFS (I think that's what it was
> called) is read-only.

Yeah.  I think your suggestion of using the start entry point is right.
If nothing else, that entry point can copy the code to 0x8000 and run it
there, but I'll see if I can work out how to make GCC's PIC work in a
module.  This might take a little while.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>