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 > fprintf() over Wifi for quick debug

#96851 - ttursas - Sat Aug 05, 2006 11:19 pm

I just set up my Nintendo DS homebrew page (a game coming up later), and quickly ripped this out from my project:

http://users.tkk.fi/~vhelin/nintendoDS.html

"Stupid Wifi Debug NDS". It's not intended as a replacement for the wireless debugger, and it's really simple and stupid, but I use Emacs, and getting the DS to send the debug data to a fprintf-server running in my Linux dev box is all I need.

What it does? Well, on ARM9 you call a function to send a message to the server, and the server just fprintf()s it. :) You need to have dswifilib up and running in your DS program already...

And don't laugh. :) It's small and simple and stupid, just like its name implies. But could be handy for some of you.