Historical News
[29.Oct.2005] Suprise, suprise
I promised you a suprise, and here you go. SgStair has released documentation on the Wireless hardware.
posted by Joat
[29.Oct.2005] A Few Updates
Information about the (now vastly outdated) template has been moved to the Historical page.
It is now reccomended that you grab libnds and devkitpro (http://www.devkitpro.org), although there are some silly register naming changes.
A few things around the site have been tweaked, and expect a big suprise later this weekend. For now, here is a smaller tidbit on how the Rumble Pak works, enjoy.
posted by Joat
[16.Feb.2005] NDS template project
Here is a DS project template. It demonstrates how to set up the ARM7 as a relay of information to the ARM9, and sets the background colors of the screens based on touch screen presses. To build:
- Get DevkitARM and MSys
- Check ndslib out of CVS
- Unzip the template to a project directory
- Open CommonMakefile.in and set the path of ndslib and DevkitARM (if not in your system path)
- Make in the project directory
A MSVC.net project file has been provided, but is completly optional. The Makefile system automatically grabs source files in the directories, and bin2o's resources in the resource subdirectories.
posted by Joat
For the new PassMe method, replace main() in template/boot/main.cpp:
int main(int argc, char ** argv) {
LoadBin(GETRAW(arm9_bin), 0x02004000, GETRAWSIZE(arm9_bin));
LoadBin(GETRAW(arm7_bin), 0x02380000, GETRAWSIZE(arm7_bin));
*(volatile uint32 *)0x027FFE24 = 0x02004000;
CallARM7();
while (1) ;
return 0;
}
edit by DarkFader
[14.Feb.2005] NDSlib released
ndslib is now up on SourceForge. It is only available as a CVS repository for the time being, a zip will be provided after the library stabilizes somewhat. To install, check out the project, make in the main directory, and follow the README in the startup directory. You'll need a recent version of DevkitARM and MSys (or any other packages that provides an arm-elf targetted GCC and common unix tools such as sh, gnu make, etc...) to build it.
Note: ndslib is very much in flux, use it at your own risk. Register names and general layout can and will change!
posted by Joat