Home

Awesome

FeOS v0.2-alpha

Introduction

FeOS is a free, open-source operating system for the Nintendo DS. Its aim is to provide a usable abstraction layer that builds on top of said platform. Because the Nintendo DS is a very resource-constrained platform, a port of a multi-platform OS is utterly pointless, even if said OS is designed for embedded platforms. Therefore, the OS must be specifically written for the DS.

Build prerequisites

You need the following in order to build FeOS:

Before building, you must set the FEOSSDK environment variable to point to the /sdk directory (if on Windows, you must use Unix-style paths, like /c/Users/.../gitrepos/FeOS/sdk).

Environmental Variables

The following Environmental Variables are available to configure FeOS:

NameFunctionDefault Value
FEOSSDKPath to /sdk directoryMUST BE USER-DEFINED
FEOSDESTBase path to place files with make install command${FEOSSDK}/../FeOS
FEOSBUILD_ALLComponents to build with the make all commandsdk lib apps

How to build FeOS (including the SDK)

cd to the directory this repo is in and type the following:

make install

When it's done compiling, transfer the contents of the generated FeOS folder to the root of your SD card.

How to transfer a FeOS module to the SD card

Use the following command to compile the project:

make install

The module might have dependencies on some libraries. If so, then repeat this procedure for them.

Demo applications

This repo contains some demo applications:

The command prompt

FeOS comes with a command prompt utility that is run on startup. It also ships with several Unix-like commands, courtesy of mtheall. Refer to the source code of each of them at /apps/unixtools for more information.

The command prompt provides these pseudo-commands:

You can create .cmd files, which contain a list of commands to run. In order to execute them, type this:

cmd <filename>

FeOS runs /data/FeOS/autoexec.cmd on startup, in a similar fashion to MS-DOS' autoexec.bat.

To do