Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. NFlib or
NightFox's lib is a library written in the C programming language,
developed to facilitate programming for the Nintendo DS. It is based
upon devkitARM and libnds. It contains functions that ease the use of
backgrounds, sprites, collision detection, and more. It is possible to
load up to 32 backgrounds to RAM from files using the FAT filesystem or
the Nitro filesystem. The pixel size of backgrounds must be in multiples
of 256. The background system also supports extended palettes and can
have up to 16 palettes of 256 colors. The VRAM configuration allows the
use of 96 Kilobytes for tiles and 32 Kilobytes for maps.