Mollusk
Sep 14 2005, 05:58 PM
It looks like I fell on a weird bug :
- Each time I used a modulo (%), like x = a%b; it return b...
- The same test on DS shows the correct answer though.
Any idea why ?
Robert
Sep 14 2005, 10:48 PM
Let's hope someone can contact Mic, as he hasn't signed on for a month.
mic
Sep 18 2005, 01:56 PM
If you have a.bin/.nds that does this, i can check it out.
Mollusk
Sep 18 2005, 02:01 PM
http://palib.pizz.biz/LargeMaps.zipBasicly : this example loads a map, maptile per maptile, using a modulo... On DS it shows normally, on Dualis it doesn't show right.... (always the same tile shown...)
Mollusk
Sep 18 2005, 02:14 PM
http://palib.pizz.biz/test.zipIn this example, you chose a, b, and it shows a%b... You'll see the correct result on DS, and the wrong one on dualis...
(don't chose b =0 though )
mic
Sep 18 2005, 05:09 PM
Well i extracted the modulo code from libgcc (which is also the one i found in your ROM) and ran it in Dualis - worked properly, so that doesn't seem to be the problem. So the bug most be occuring at a later point..
mic
Sep 18 2005, 05:47 PM
I had the division software interrupt mapped to the wrong number. Both demos now work.
Mollusk
Sep 19 2005, 10:11 PM
nice ! any idea when the next update will be then ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.