maxfierke / bootlib Goto Github PK
View Code? Open in Web Editor NEWA library I wrote in 2007 as a youngster for loading Nintendo DS binarys on various NDS flashkits.
A library I wrote in 2007 as a youngster for loading Nintendo DS binarys on various NDS flashkits.
==================== Description: ==================== bootlib is a library that aids in the booting of .nds files in programs. It includes: GBAMP Internal Loader SuperCard Internal Loader EZ-Flash IV (4) Internal Loader Chishm's DLDI Loader M3 Internal Loader ==================== Copyrights: ==================== bootlib 1.3b Copyright 2007 Max Fierke (TeenDev) load.bin Copyright 2007 Michael Chisholm (chishm) ==================== License: ==================== GPLv3 ==================== Requirements: ==================== * DevKitARM r20/r21 * 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(filename); 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 SuperCard Loader and EZ 4 Loader) * DragonMinded (For the SuperCard Loader)
bootlib.c
arm-none-eabi-gcc -MMD -MP -MF /f/OctoMenu/OctoMenu/build/bootlib.d -g -Wall -O3 -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -iquote /f/OctoMenu/OctoMenu/include -I/c/devkitPro/libnds/include -I/c/devkitPro/portlibs/nds/include -I/c/devkitPro/portlibs/armv5te/include -I/f/OctoMenu/OctoMenu/build -DARM9 -c /f/OctoMenu/OctoMenu/source/bootlib.c -o bootlib.o 2>&1 | sed -e 's/\(.[a-zA-Z]\+\):\([0-9]\+\):/\1(\2):/g'
f:/OctoMenu/OctoMenu/source/bootlib.c(166):22: fatal error: load_bin.h: No such file or directory
compilation terminated.
template.c
arm-none-eabi-gcc -MMD -MP -MF /f/OctoMenu/OctoMenu/build/template.d -g -Wall -O3 -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -iquote /f/OctoMenu/OctoMenu/include -I/c/devkitPro/libnds/include -I/c/devkitPro/portlibs/nds/include -I/c/devkitPro/portlibs/armv5te/include -I/f/OctoMenu/OctoMenu/build -DARM9 -c /f/OctoMenu/OctoMenu/source/template.c -o template.o 2>&1 | sed -e 's/\(.[a-zA-Z]\+\):\([0-9]\+\):/\1(\2):/g'
f:/OctoMenu/OctoMenu/source/template.c(1):21: fatal error: bootlib.c: No such file or directory
compilation terminated.
linking OctoMenu.elf
arm-none-eabi-gcc.exe: error: bootlib.o: No such file or directory
make[1]: *** [/f/OctoMenu/OctoMenu/OctoMenu.elf] Error 1
make: *** [build] Error 2
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.