I guess, you're right, but I'm just curious: Couldn't one also mod the
tk stuff to better use the available screen size?
a reasonable approach might be to state first what your
programs (applications) will need most.
there seem to be a fair number of tk-like graphical gadgets
on my ipod touch, for instance; but there are games there too
which are probably more interested in drawing.
what are the aims for the DS port?
there has been at least one alternative style of Tk implemented
that looked significantly different.
that's why there is <mkfile-$TKSTYLE in libtk/mkfile,
and TKSTYLE set in mkconfig.
TKSTYLE=std is just one possibility.
(not all things in mkfile-std were actually different for the alternative:
only 8 files.)
is not that I've been eluding that question,
but I've focused in testing and get more hardware working.
The idea that I've been pursuing is to add hardware/device support
as i felt it was needed and then try/test/debug it to see how it performs,
and based on that decide what to do next.
As an example one of the aims is being able to access the contents of
a inferno/ distribution
either from a sd card using dossrv/kfs or a remote fs served from a
emu instance over wifi.
If that's possible and works well, it would remove the need of having
all the files in devroot,
which would free ram (this could also be improved by using the
available memory expansions).
With storage+networking developing for Inferno on the DS
would become quite sane and seamlessly as it would only require:
1) getting/building a stable isds.nds (from downloads)
2) unpack the inferno/ distribution on a sd card.
3) develop your apps and test them on Inferno's emu
4) place them on the sd card and use them.
Another question that should be answered before thinking about apps
is to decide how to use the upper screen (non tactile)
in a way that remains compatible with the existing Inferno programs.
Anyway it's hard to adventure a deadline for the accomplishment of this goals,
--
salva
after spending a bit of time trying to get storage working on r4ds
it turned out that the partition on the sd card was not properly formated,
formatting it as a FAT16 (using `mkdosfs -F 16 /dev/sda1') fixed the problem.
So it's possible to use a 'local' partition on the sd card
as the root filesystem, with the contents of the Inferno distribution.
This removes the need of having all the files in devroot (RAM), see CONF=dds.
note that for storage the code doesn't use DLDI,
instead it uses the compiled-in support for the specific cards,
DLDI is only used in order to detect the card type which is usually
performed by the dldi-auto-patching loaders.
If there's no dldi-auto-patching use dlditool to patch the .nds file.
--
salva