New 3DS Emulator
gbatemp.net
gbatemp.net
Homebrew code.
> Is it possible for anyone to write 3DS code, compile it with GCC + friends, and run it on an off-the-shelf 3DS?
Yes. You need a flash cart for this. GBA Temp has a nice sub forum for this: http://gbatemp.net/forums/3ds-hacking-homebrew.201/
IIRC, some of the flashcarts have an Emunand feature that lets you play games requiring a newer version (i.e, 6.x) on a 3DS without updating your firmware from 4.x (4.x is required to support the current crop of flashcarts)
I couldn't find much, but it seems that a team called "Gateway" found a userland+kernel exploit that allowed everyone to run unsigned code on the 3DS. It got fixed a bunch of updates ago.
As for how, it seems that the documentation is very bad/completely missing, but from what I get you can write C, compile it with GCC for arm (https://launchpad.net/gcc-arm-embedded) and pass it with some tools to allow booting from the exploit. To interact with the hardware (eg draw to the screen) it seems you can just manipulate directly memory (see https://github.com/Aliakr18/mandelbrot/blob/master/source/me...)
Why not spend that effort writing games for an open platform like the web, or for iOS/Android and have the possibility to make money?
I'm not trying to criticize bunnei's work, I'm just generally curious if this is a "because I can" hacker project, or if there is actually a demand in the community to write DS games.
Developers do play games but mostly for debugging. Once an emulator is "done" they move on to a harder console. For example ppsspp was started by the same guy who started Dolphin. When I hung out on the ppsspp irc I found several other developers were present or former Dolphin devs.
The users tend to be very game-playing focused which is part of why the user&developer relationship is so strained.
Users are the pathological worst customers, the ones patio11 keeps mentioning, they are cheap and demand the sky. Meanwhile the developers are managing immense complexity and no one is getting a paycheck.
It makes everything much easier to understand when you hear of developers quiting. That anyone creates anything is amazing.
You might not be very surprised when you read what that effort directly gave me. Nothing! But Indirectly I grew my interests in Simulations, Video Games which lead to my discovery of a field called Machine Learning, AI and Robotics. I have no real job today, I am still getting ready for college, and I don't know what I will really do in the future. What I know is I can learn.