dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Feature added to load and execute application (mod/ajz) from Dir Browse
From: Linus G Larsson (
Date: 2002-08-07

Wow! Great feature - I didn't know we would be able to "hot-switch" the
firmware, but this just plain r00l3z - and it's a nice way of handling
games as well.

On Wed, 2002-08-07 at 11:15, wrote:
> This code allows the user to have multiple versions of the firmware on the
> disk.
> Turn the mp3/mu3 filter off in General Settings. Then browse to select the
> mod/ajz file that you would like to execute (doesn't have to be in the root).
> Press your "play" button and the firmware will be loaded and executed.
> I have several copies of the firmware using archosmmddyyhhmmss.mod where
> mmddyyhhmmss is the timestamp of the build. Switching between the versions
> only takes a few seconds. I have the Archos supplied version named
> archos503a.mod. Executing that file allows me to go back to the Archos
> firmware.
> There are two new routines added for this feature. One is in assembly
> language, violating the first rule of CONTRIBUTING, but writing
> self-relocating code in C would be very painful. I had both files in the
> firmware directory because that seems to be the only makefile that handles .S
> files.
> The attached zip file has the cvs diffs for tree.c and the makefile for the
> firmware directory, the two new routines, and the tree.c and firmware
> makefile that I have been using.
> I make a modified version of scramble that just adds the 6 byte header to the
> .bin file and I output to a .rbx file. If the extension is .rbx, the
> routines assume that the file has the 6 byte header and is unscrambled.
> These files load somewhat faster than mod/ajz files.
> I hope that this will persuade more people to try Rockbox since it allows you
> go back to the Archos firmware or to compare different versions of Rockbox
> without having to connect to a computer.
> Enjoy
> Randy Wood

Page was last modified "Jan 10 2012" The Rockbox Crew