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 > Capturing and outputting a frame

#112143 - djmcbell - Wed Dec 13, 2006 5:52 pm

OK, this is just a general topic following on from the "3D on both screens" topic (which I still haven't managed to get going).

Basically I'm looking at how to capture a frame and then display what's been captured on the next frame (3D and all). I know that there's the SetRegCapture but I can't get that to work, though I am wondering if it's the emulator (Dualis - I can't get iDeaS or DeSmuMU working on my system, they both crash when I try to load anything).

I think my code does capture into the REG_CAPTURE as it does call the SetRegCapture, but I've no idea how to display the stuff that's in REG_CAPTURE. Any help would be greatly appreciated, as this is driving me round the bend (and indeed up the wall, and wherever else things that send people mad tend to drive people, though how they get cars to drive up walls is beyond me).

EDIT - or, if it's at all possible, if there's a short way to get it simply to output what was on the last frame if there's a way around the capturing process.

#112148 - Sausage Boy - Wed Dec 13, 2006 6:52 pm

When using an advanced feature such as display capturing, you can definitely not trust any emulator.
_________________
"no offense, but this is the gayest game ever"

#112241 - djmcbell - Thu Dec 14, 2006 8:44 pm

Damn. So it looks like I'm screwed until I get a PassMe unit (which I hopefully should be for Christmas).

Ho-hum. It looks acceptable for the moment using the lcdSwap with the frame limiter turned off in Dualis. Guess that'll have to do for now.

Thanks anyway - I'll try the existing code from the other thread hopefully on the proper thing (by the way, the other demos - twopass and dual-screen 3D - also don't seem to work on Dualis or any of the other emulators I use - iDeaS and DeSmume).