splash
Welcome
Max Fierke is a software developer, web developer, and graphic designer. This is his development blog.
Posted By Max on August 9th, 2010

The ACTA is an international trade agreement currently negociated by the European Union, the United States, Japan, Canada, South Korea, Australia as well as a few other countries, whose aim is to enforce copyright and tackle counterfeited goods (hence its acronym: Anti-Counterfeiting Trade Agreement). The main problem with this treaty is that all the negociations [...]

 

Bootlib

Attention: This library is outdated and no longer necessary except for backwards compatibility. This library was created during a transition time when Chishm’s loader did always get the job done. This no longer an issue as most flashcarts these days work with his loader.

Description
bootlib is a library that aids in the booting of .nds files in programs.

GBAMP Internal loader = Works
SuperCard Internal Loader = Works
Chishm’s Loader = Works
M3 Internal Loader = Works
EZ-Flash 4 Loader = Works

Feedback is much appreciated!

Compatibility

  • SuperCard Slot-2: Works
  • M3 Slot-2: Works
  • EZ-Flash IV: Works
  • EZ-Flash V: Works
  • SuperCard DS One: Unknown
  • R4/M3 Simply: Failed (Congrats to the R4 Team for the Worst DLDI driver ever made!)
  • MMD: Works
  • GBAMP: Works
  • All others: Probably Work

Features

  • Cart Detection
  • Automatic loader selection
  • Works in libnds and PAlib.

Copyrights
bootlib 1.3b
Copyright 2007 Max Fierke (TeenDev, max482wert, tondopie, TheOnlyEnglishRose)
load.bin
Copyright 2007 Michael Chisholm (chishm)

License

GPL v2

Requirements

  • DevKitARM r20/r21/r22/r23
  • libfat
  • libnds or PAlib

Usage

  • Refer to the included example for your prefered library (libnds or PAlib).
  • Include the bootlib directory in your project root (for the example project)

ARM9:

void bootnds(“path/to/.nds”);

ARM7:

void bootndsCheck();

  • Just call the above functions for each processor. The library features automatic cart detection and calls a different loader for each flashcart.
  • Add the *.bin into your arm9 “data” directory.

THANKS

  • Lick (Looking at the rebootlib source helped me make a structure for this library)
  • Chishm (For the Generic NDS Loader as well as the GBAMP one too. This would not be possible without libfat either)
  • Moonlight (For the M3/EZ4 Loader)
  • DragonMinded (For the SuperCard Loader)

Changelog:

1.3b:

  • Changed to GPLv2
  • Fixed EZ4 Loader

1.2:

  • Fixed EZ4 and M3 Loaders.
  • Fixed test application so it will not crash in the M3 OS.
  • Added a variable to detect bootlib version
  • Fixed a little arm7 compiling warning.

1.1:

    • Added EZ4 Detection and Loader
    • Cleaned UP the Code

1.0:

    • Added M3 Loader
    • Fixed SuperCard Loader

0.7

    • Inital Release

Downloads: