"You will probably want some kind of RAM expansion in Slot-2 otherwise
you'll run out of memory very quickly, so you will only be able to run
simple text only programs."
how low-memory is inferno really? so far i've only ran inferno on
machines where memory is abundant.
mechiel
it could run charon under wm on 386dx/20 that had only 4mbytes of memory.
The nds RAM expansions memory are in fact memory ROM iirc,
and it seems that it can only be accessed using halfwords (16 bits).
Right now the RAM consumption comes from the devroot filesystem:
% i mk CONF=sds
% sed -n ' /DATA root[0-9]*len/ s/.* \$//p;' sds.root.s | awk '{sum
+= $1} END{print sum/1024, "kb"}'
415.002 kb
% i mk CONF=ds
% sed -n ' /DATA root[0-9]*len/ s/.* \$//p;' ds.root.s | awk '{sum +=
$1} END{print sum/1024, "kb"}'
1337.75 kb
This could be put in the ROM, but this should not be an issue once
devdldi.c is working.
> However, this doesn't really answer your question :-) Just thought I'd
> point out that you can get at more with hardware you probably already have
> for doing this sort of development/homebrew fun stuff.
>
> Dave
>
>
>
> On Mon, Mar 31, 2008 at 12:20 PM, Mechiel Lukkien <mec...@ueber.net> wrote:
> >
> > it seems you can put more memory in an nds than the default 4mb ram.
> > e.g. dslinux recommends this:
> >
> > "You will probably want some kind of RAM expansion in Slot-2 otherwise
> > you'll run out of memory very quickly, so you will only be able to run
> > simple text only programs."
> >
> > how low-memory is inferno really? so far i've only ran inferno on
> > machines where memory is abundant.
> >
> > mechiel
> >
> >
> >
>
>
>
> >
>
--
salva
more on this:
While trying caerwyn's sequencer.b and skini/midi player,
i was getting a lot of 'out of heap' errors. so i returned to this.
i was able to test one of the available memory expansions for the ds:
the Opera expansion pack [1], and seems that you can r/w 8/16/32 bits,
and it seems to be RAM memory as it's lost after poweroff/reset.
The memory is located at 0x09000000 and it's size is 12 Mb.
I've put some test code at archds.c:^/archconfinit which tries make this memory
usable by Inferno by filling conf.{base1 npages1}, but i haven't been
able to make it work
as the framebuffer/lcd becomes black and dark blue, so by default it
is disabled by setting:
conf.base1 = 0;
conb.npages1 =0;
any idea or suggestion on what i'm missing would be great