Date : Sun, 09 Apr 2006 22:41:47 +0100
From : dominic beesley <dominic@...>
Subject: [Fwd: Re: Contikit anyone?]
Subject: Re: [BBC-Micro] Contikit anyone?
Date: Sun, 09 Apr 2006 20:53:20 +0100
From: dominic beesley <dominic@...>
To: Anders Carlsson <anders.carlsson@...>
References: <000001c65bfe$28d11650$6401a8c0@...>
<Pine.WNT.4.64.0604092005460.-566397@...>
It's coming out at about 19k for me without networking - (and thats with
the CLibrary in ROM). I'm hoping to get this down a bit but don't think
I'll be able to do much better.
So I'd like the contiki code to be in two roms and the clibrary in
another two. Leaving most of normal ram free.
The trouble is getting calling between different ROMS to work. I don't
think my original posting was clear. I need to call between several
different roms and each rom needs to call the OS. What is the correct
way of making sure the OS reselects my ROM? I've tried poking &f4 but
the OS seems to ignore this and returns back into the ROM I've got
selected as the language.
Cheers
Dom
Anders Carlsson wrote:
> On Sun, 9 Apr 2006, Mark Usher wrote:
>
>> Also good that we could possibly put it in a ROM image on the Beeb.
>
>
> The Contiki base system, without networking, takes about 15K on most
> 6502 based systems (using the current cc65 compiler). Add the uIP
> module and I think we get around 25-30K, take or give.
>
> The actual network hardware drivers, the selected window system (CTK)
> and all applications are loaded dynamically off a diskdrive or so.
>
> So yes, putting the base system in a ROM slot would probably free up
> RAM for the dynamic parts and applications.
>