author Sam Lantinga <>
Wed, 16 Feb 2011 17:17:21 -0800
changeset 5328 f34a5f9ce9f6
parent 5289 1916a9e9714d
child 5423 b69fa50e80d7
permissions -rw-r--r--
Fixed bug 1122 (spinlock fails to compile with -march=armv4t)

Simple DirectMedia Layer for Nintendo DS

The devkitpro SDK available at
Read the information at
The necessary packages are devkitARM, libnds and default arm7.

-Building SDL-
After setting the devkitpro environment, type:
  make -f Makefile.ds

This will compile and install the library and headers into the proper libnds directories.
Additionnaly it will compile the general test, that you can run either on the DS or with desmume:
  desmume test/nds-test-progs/general/general.nds

Note that the port is very basic and incomplete.