An ebook reader for the Nintendo DS and friends.
Go to file
2022-09-24 09:32:02 -04:00
.github Update c-cpp.yml 2022-03-09 15:18:50 -05:00
.vscode Fix missing titles in browser 2022-03-21 19:46:54 +00:00
etc Rename installation sourcedir 2022-03-19 09:53:57 -04:00
gfx Save indexed. 2020-12-06 19:39:20 -05:00
include Correct version 2022-03-21 15:58:23 +00:00
source Roll back harfbuzz 2022-03-22 12:58:27 +00:00
test Add CJK font 2022-03-19 14:16:26 +00:00
.gitignore Ignore more editor backups 2022-03-19 14:18:45 +00:00
activate Use toolchain vars 2022-03-19 09:50:11 -04:00
bootstrap Do not type random command into your computer 2022-09-24 09:24:32 -04:00
Doxyfile Add support for moxygen. 2020-12-06 16:29:42 -05:00
INSTALL.txt Update INSTALL.txt 2020-06-05 10:54:57 -04:00
Makefile Roll back harfbuzz 2022-03-22 12:58:27 +00:00
README.md Mention activating your shell 2022-09-24 09:32:02 -04:00

C/C++ CI

Herein lies the source code for dslibris, an EPUB ebook reader for the Nintendo DS, DSi and DSi XL.

Browser

Quickstart

A sample page

Releases

See the Releases section for a program ready to be DLDI patched and copied to your cartridge media. The release file also contains a file structure for books and fonts that you should also copy.

Installation

See INSTALL.txt or the Quickstart page in the Wiki.

Development

Prerequisites

We use devkitPro's toolchain for ARM, aka devkitARM.

Development is biased towards Debian-clan (eg Ubuntu) as a platform. You should also get far with macOS. CentOS and msys2 have also worked, but haven't been checked recently. Ubuntu under WSL would work too, but you'll be missing mount support for emulator testing.

The bootstrap script can speed up getting started after cloning the repo.

Some configuration exists for using Visual Studio Code.

Building

To build the program, assure devkitARM is available to your shell:

. activate

then

make

dslibris.nds should show up in the top directory.

See the Makefile for rules that apply DLDI for a few specific cases (R4, CycloDS Evolution, MPCF).

Debugging

$DEVKITARM/bin/arm-none-eabi-gdb and DeSMuME, using the latter's cflash image and ARM9 stub features.

See the gdb Make rule for a debugging process.

See Also

http://devkitpro.org

http://idpf.org/epub