### Heavy calculations on nds original

Posted:

**Thu Sep 22, 2011 6:03 pm**Hello,

I'm new here and i'm not sure where to post ... (Move the topic if i made a mistake)

I once made a mandelbrot viewer for my pc and wanted to port it to my nds.

I have already made some simple nds programs and have years of c++ experience.

My problem is the time it takes to calculate on the nds.

I was thinking and i thought:

"Well... the arm9 takes a lot of time, but how about the arm7? It sits mostly idle."

So, is it possible (without overheating the arm7) to make a adapted arm7 binary with a copy of the calculation algorithm?

I've read it's possible to use fifo to communicate between the two.

And i think is should be possible for the arm7 to do half of the calculations to speed things up, the faster arm9 then has more time to put things on screen and to sync them.

Can i do this without breaking/overheating the arm7?

The scheme give a symbolic (no programming knowledge required) representation of the idea:

Scheme:
Help please.

I'm new here and i'm not sure where to post ... (Move the topic if i made a mistake)

I once made a mandelbrot viewer for my pc and wanted to port it to my nds.

I have already made some simple nds programs and have years of c++ experience.

My problem is the time it takes to calculate on the nds.

I was thinking and i thought:

"Well... the arm9 takes a lot of time, but how about the arm7? It sits mostly idle."

So, is it possible (without overheating the arm7) to make a adapted arm7 binary with a copy of the calculation algorithm?

I've read it's possible to use fifo to communicate between the two.

And i think is should be possible for the arm7 to do half of the calculations to speed things up, the faster arm9 then has more time to put things on screen and to sync them.

Can i do this without breaking/overheating the arm7?

The scheme give a symbolic (no programming knowledge required) representation of the idea:

Scheme:

Code: Select all

```
arm9:
--point1
now at pixel (x,y).
send(x,y)->arm7
x+1
y+1
--point 2
now at pixel(x,y)
calculate(x,y)
plot x,y to screen
x+1
y+1
check for reply from arm7, yes: plot to screen and goto point 1
else: goto point 2
arm7:
--point 1
message from arm9?
yes:
-retrieve x,y
-calculate
-send x,y,value
do arm7 stuff
goto point 1
```