Search found 42 matches

by Tramboi
Thu Dec 06, 2007 9:13 pm
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Okay I fixed the last bug in the ASM scalers so it works now. At last :) (And I couldn't resist scrapping a few more cycles: it should be around 5 ms per frame which seems pretty good to me) What is supposed to work and how relating to the debug console? What should I test exactly, Neil? Even when t...
by Tramboi
Thu Dec 06, 2007 9:15 am
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Does that mean that the games run slower even when the CPU scaler is disabled (because the asm routines are disabled)? Yep, but hopefully soon either all the ASM routines will be working, either I will cherry pick which routine is in ASM and which isn't and that will be back to normal. From the log...
by Tramboi
Thu Dec 06, 2007 12:05 am
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Victory! At last it works without any glitch in Maniac Mansion (didn't test any other game yet). The ARM scalers don't seem to conform to the behaviour of the C++ ones so I disabled those for now. Which disabled optimized versions of asmDrawStripToScreen and asmCopy8Col in the process... hum... I pu...
by Tramboi
Wed Dec 05, 2007 8:08 pm
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Re: Graphics don't seem right

DJWillis wrote:Have you tried the port, still needs work ;).
Sadly I don't have the money right now to buy "Yet another toy", but I'd love to find one under the christmas tree!
by Tramboi
Wed Dec 05, 2007 8:07 pm
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Re: Graphics don't seem right

What glitches are there? Nothing related with the scaling routine itself but more with the context. The first line is garbage, which seems to me like a DMA/D$ incoherence, or something like that... Last time I checked, I found several bugs but nothing that fixed it. And I don't have a debugger, I c...
by Tramboi
Wed Nov 28, 2007 11:21 pm
Forum: Nintendo DS Port
Topic: Graphics don't seem right
Replies: 40
Views: 30244

Re: Graphics don't seem right

Hi everybody, there *is* a software scaler that is nearly working and has been optimized by Robin "I-write-plenty-of-ARM-code-and-I-like-it" but you have to tweak the sources, build your own binary and live with the glitches. By the way, sorry I don't have much time for investigating the issue and f...
by Tramboi
Fri Feb 23, 2007 11:18 am
Forum: Nintendo DS Port
Topic: Compile Directions
Replies: 15
Views: 16574

Tramboi, are you sure that a table lookup is faster than doing the arithmetic? As far as I know, shifts that are inline with another instruction are free on the ARM9. Can't get much faster than that! Good work on the scalar so far! Yep, if we ditch accuracy for performance and use Max's approximati...
by Tramboi
Thu Feb 22, 2007 2:05 pm
Forum: Nintendo DS Port
Topic: Compile Directions
Replies: 15
Views: 16574

Hi Fingolfin, you're right, avoiding the div-by-5 (which is a rounded div, so in fact it is more a x -> (x + 5) / 10 in C terminology) would lead to many nice optimizations, but I'd love to go the furthest possible with "exact" computations to preserve the original colors :) Yet, f0(x, y) = (4x+y) /...
by Tramboi
Thu Feb 22, 2007 10:00 am
Forum: Nintendo DS Port
Topic: Compile Directions
Replies: 15
Views: 16574

Hi guys, and welcome aboard krunkster! I put a bit of energy into optimizing the scaler in C++ (no ARM assembly yet) with various techniques, and for now I can't get better than the version on the trunk (33 ms) I'm open to any new approach (not asm yet just higher-level optis) so come on guys flood ...
by Tramboi
Wed Sep 27, 2006 10:43 am
Forum: Nintendo DS Port
Topic: Development process
Replies: 4
Views: 4979

Since the hardware scaling solution only allows for a 50% blend between pixels, I don't reckon it would do a good job of scaling from 200 to 192, but a horizontal software scaler would still be good. You're right but I was hoping saving a bit of CPU this way and just thrashing a few lines :) There ...
by Tramboi
Tue Sep 26, 2006 8:44 am
Forum: Nintendo DS Port
Topic: Development process
Replies: 4
Views: 4979

Thanks for the replies! I checked with all current emulators, and had no chance. Sigh, would have made things so much easier :) I tried DSFTP to upload code to the DS, it works, the throughput is quite low (around 35 kB/s), but no meddling with the mechanical parts is probably a good thing. I notice...
by Tramboi
Fri Sep 22, 2006 7:28 pm
Forum: Nintendo DS Port
Topic: Development process
Replies: 4
Views: 4979

Development process

Hello agentq, I'd love to play with the ScummVM DS port to practice a bit of ARM, since I have just got myself the nifty hardware to do such a thing (M3 Lite Micro SD) I have a few questions about compiling, running and testing ScummVM DS. 1) make does give only one .nds file. What is the relation w...