i just committed some code to enable the second (upper) lcd display.
this just in from the commit message:
configure second lcd screen, and the inferno logo on it.
the second screen is also a frame-buffer like device: 16-bit pixels
(5 bits for each color of rgb, and a transparency (which we don't
use). the framebuffer starts at 0x6200000. it is 256x256 pixels.
the screen is 192 rows high, so we don't use the lower rows (the
visible part can be changed by setting a register).
the hard part was finding the erroneous defines for the bits that
enable power on the 2d subsystem for the second sceren, in lcdreg.h.
right now, the inferno logo is built-in, in file logo.c. we probably
won't need it for long, as we want to display something more useful
on that secondary screen. :) i tried reading the image file from
#/, but that failed with locking (i tried it with k(open|read|etc),
before schedinit(), that's probably not allowed). the image file
is currently only ~8kb, due to using a simple run-length encoding
scheme (1 byte count, 2 bytes pixel).
i also uploaded a new kernel:
http://inferno-ds.googlecode.com/files/ids-r98.nds
it has the touch calibration patch and of course the second screen. it
also has wm/keyboard and a few more programs than the previous kernel i
uploaded. not all programs in the menu work though, so don't get too
excited just yet. :)
i also made a photo of my nds running this kernel, it is available at:
http://inferno-ds.googlecode.com/files/infnds-logo-small.jpg
note: firefox wants me to download the image above. this probably means the
content-type isn't set to something useful by google, so i made it (less
permanently) available at my own webserver too, which browsers should
just display:
http://www.ueber.net/who/mjl/tmp/infnds-logo-small.jpg
best regards,
mechiel
yes, it looks so good that now it's on the main inferno-ds project page:
http://inferno-ds.googlecode.com/, take a look and see it by yourself.
--
salva
just an explanation of the above:
the idea is to improve the first impression of people who reach the
project site,
we're keen to know about feedback: improvements & suggestions are welcome
--
salva