gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > ARM9 and ARM7 running concurrently?

#38655 - Series-8 - Wed Mar 30, 2005 12:24 am

Can the DS's CPU's run concurrently, and if so how is communication handled? shared RAM? special registers?

This would be useful for many applications... DS Linux, emulation and perhaps even heavy duty 3D games with complex (well for a handheld) physics.

Say for example the ARM7 (33Mhz) could be running a SNESAdvance port with the ARM9 handling the other tricky stuff (DSP, SPC, SuperFX, runtime ROM decompression).

So far all the demos I've seen have only used the ARM9 CPU, or am I mistaken?

has anybody looked?

#38656 - Darkain - Wed Mar 30, 2005 12:31 am

Series-8 wrote:
Can the DS's CPU's run concurrently, and if so how is communication handled? shared RAM? special registers?

This would be useful for many applications... DS Linux, emulation and perhaps even heavy duty 3D games with complex (well for a handheld) physics.

Say for example the ARM7 (33Mhz) could be running a SNESAdvance port with the ARM9 handling the other tricky stuff (DSP, SPC, SuperFX, runtime ROM decompression).

So far all the demos I've seen have only used the ARM9 CPU, or am I mistaken?

has anybody looked?


both CPUs are active at the same time. the ARM7 handles the touch screen and X/Y buttons.
_________________
-=- Darkain Dragoon -=-
http://www.darkain.com
DarkStar for Nintendo DS

#38663 - DekuTree64 - Wed Mar 30, 2005 1:42 am

Darkain wrote:
both CPUs are active at the same time. the ARM7 handles the touch screen and X/Y buttons.


And that bugs the heck out of me. It's like, 'how many GBAs does it take to read a touch screen? Two! Hahaha!1!!!!111!1!'
Series-8 is right, proper use of the ARM7 has some awesome possibilities.

For communication, the demos around now are doing it with a designated memory area (IPC.h in NDSLIB).
Dualis has that IPC struct layout hardcoded into it, so it can trick the ARM9 binaries into thinking the ARM7 is feeding them touch screen info.

Hopefully more demos will start doing cool stuff with the ARM7 here in the next few days when the PassMes have reached their designated coders :)
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku


Last edited by DekuTree64 on Wed Mar 30, 2005 1:48 am; edited 1 time in total

#38664 - Darkain - Wed Mar 30, 2005 1:45 am

i doubt it. because of the fact that it seems like sound and comms are only accessible by the ARM7, this will be its main focus.
_________________
-=- Darkain Dragoon -=-
http://www.darkain.com
DarkStar for Nintendo DS

#38694 - FluBBa - Wed Mar 30, 2005 2:23 pm

Well, it would be perfect to emulate the SNES sound chip/DSP in the ARM7 then...
_________________
I probably suck, my not is a programmer.

#39005 - Series-8 - Sun Apr 03, 2005 2:22 am

Well it may have been a typo...or intentional.

if the ARM7 can handle the 65C816, thats great. What I'm worried about is the DSP, SuperFX/MarioChip/SuperFX2/Other wierd SNES chips that take MUCH more processing power to handle.

I figure by the time people get code running on the PSP the DS will have alphas of many emulators and lots of games/demos, even if there are no commercial DS-flashcarts made.
The nifi-multiboot will be easier to figure out 'from the other side', speaking of which...

Can the PassME have a serial port added in the future? 3 thin wires hanging off the PCB would be enough right? (minimalist RS232...well not really since its 3V or 5V or whatever... not 12V...)

I think it would be useful for packet logging/transmission of arbitrary data over the DS's WiFi system. So that it can be used to figure out how the Nifi works and to eventually allow non-modded/ no PassME equiped DS's to load user made games/programs from 'server' DS's.

Spread the demos and free games to those outside the DS development community. (get everyone else hooked...heh)

Sorry for the rambling post... I like to type or something.

#39032 - ampz - Sun Apr 03, 2005 10:54 am

Series-8 wrote:
Well it may have been a typo...or intentional.

if the ARM7 can handle the 65C816, thats great. What I'm worried about is the DSP, SuperFX/MarioChip/SuperFX2/Other wierd SNES chips that take MUCH more processing power to handle.

Who cares about SNES when there is a chance that the DS is powerful enough to make a semi-decent emulation of the world's #1 sound chip: The SID.

#39040 - tepples - Sun Apr 03, 2005 5:37 pm

GBA can already emulate the 2A03. Who needs the SID?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#39051 - ampz - Sun Apr 03, 2005 10:36 pm

tepples wrote:
GBA can already emulate the 2A03. Who needs the SID?

2A03 is a squeeky beeper in a Nintendo toy. SID is a legend.

#39055 - tepples - Sun Apr 03, 2005 11:01 pm

ampz wrote:
SID is a legend.

There is no legend without Zelda.

Anyway, let's take SID discussion to another thread, shall we?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.