Working on my ds lite (movie link)

2 views
Skip to first unread message

David Leimbach

unread,
Mar 26, 2008, 7:54:15 PM3/26/08
to inferno-ds


Kind of neat... clearly needs a little work, but it runs on real hardware :-)

I was so excited I dropped my camera!

Caerwyn Jones

unread,
Mar 26, 2008, 8:21:33 PM3/26/08
to infer...@googlegroups.com
so cool!

i got it running on dsemu but dsemu after the wm is loaded. I couldn't
get it running on desmume on several versions of it.
I also tried the hardware but it doesn't load.

what's the link for the desmume you are using Salva?

David Leimbach

unread,
Mar 26, 2008, 8:25:16 PM3/26/08
to infer...@googlegroups.com
Latest version of the SVN built today is what I have running.

Caerwyn Jones

unread,
Mar 26, 2008, 8:45:18 PM3/26/08
to infer...@googlegroups.com
OK. Working for me on hardware. So cool!!!

my fault earlier, i had some local edits.

Great work Salva!

David Leimbach

unread,
Mar 27, 2008, 12:21:59 AM3/27/08
to infer...@googlegroups.com
Yes indeed!  

Salva Peiró

unread,
Mar 27, 2008, 5:12:05 AM3/27/08
to infer...@googlegroups.com
I think we can improve it by using it.
So keep on using it and we´ll keep up the good work!

Right now the touchscreen bits would need to be reworked a bit,
as you have seen a proper calibration is needed. This is related
to the fact that _div (arm7/div.s) doesn´t work on the arm7.

So i´m using >> (logical shifts to / 2^n) as an approximation for it.
Getting it right would mean that the following bits would be working right:

- arm7/defaultARM7.c:/^startsSound
- arm7/touch.c:/^touchReadXY

those files can be reached online at:
http://code.google.com/p/inferno-ds/source/browse/trunk/

About the emu i´m using it´s desmume from desmume.org,
the code as it is on the repo should work on it, i´ve run it on Linux
and XP (probably also on mac).
I say it so because having an emu/debugger helps at doing quick test/fixes.

Moreover now that we have a critical mass of people wanting to run inferno-ds,
i know saying ´hey, get wifi working´ will not be realistic, i think
it would be better
to start with ´hey, give it a try at ipc fifos´ [fifos] which will
open room for more devices
and cleaner implementations of them: audio in/out, keys/buttons,
touchscreen, wifi, etc.
i remind you that there´re some good resources collected at the [wiki].

[fifos] http://www.double.co.nz/nintendo_ds/nds_develop7.html
[wiki] http://code.google.com/p/inferno-ds/wiki/TechnicalBackground

--
salva

Charles Forsyth

unread,
Mar 27, 2008, 7:38:08 AM3/27/08
to infer...@googlegroups.com
> to the fact that _div (arm7/div.s) doesn´t work on the arm7.

odd. it's just the usual div code we use on all the other arms,
and doesn't contain anything that's obviously unusual.

LiteStar numnums

unread,
Mar 27, 2008, 8:11:28 AM3/27/08
to infer...@googlegroups.com
This is pretty darn cool. Once WiFi is up, I'm excited about writing security & networking apps. Now, just imagine a Geryon cluster of these... =)

As to something of use now, I'll look into that list of issues this weekend to see if I've the time to poke any.

On Wed, Mar 26, 2008 at 6:54 PM, David Leimbach <lei...@gmail.com> wrote:



--
"By cosmic rule, as day yields night, so winter summer, war peace, plenty famine. All things change. Air penetrates the lump of myrrh, until the joining bodies die and rise again in smoke called incense."

"Men do not know how that which is drawn in different directions harmonises with itself. The harmonious structure of the world depends upon opposite tension like that of the bow and the lyre."

"This universe, which is the same for all, has not been made by any god or man, but it always has been, is, and will be an ever-living fire, kindling itself by regular measures and going out by regular measures"
-- Heraclitus

Salva Peiró

unread,
Mar 27, 2008, 8:13:47 AM3/27/08
to infer...@googlegroups.com

yes, i'll try get more details

probably running desmume on windows to see in what context it gets stuck.
and i don't figure out if there's some arm7 setup missing that is
required to perform _divs.

--
salva

Reply all
Reply to author
Forward
0 new messages