Mollusk Posted September 14, 2005 Posted September 14, 2005 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 Posted September 14, 2005 Posted September 14, 2005 Let's hope someone can contact Mic, as he hasn't signed on for a month.
mic Posted September 18, 2005 Posted September 18, 2005 If you have a.bin/.nds that does this, i can check it out.
Mollusk Posted September 18, 2005 Author Posted September 18, 2005 http://palib.pizz.biz/LargeMaps.zip Basicly : 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 Posted September 18, 2005 Author Posted September 18, 2005 http://palib.pizz.biz/test.zip In 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 Posted September 18, 2005 Posted September 18, 2005 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 Posted September 18, 2005 Posted September 18, 2005 I had the division software interrupt mapped to the wrong number. Both demos now work.
Mollusk Posted September 19, 2005 Author Posted September 19, 2005 nice ! any idea when the next update will be then ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now