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: George Styles (
Date: 2002-08-07

Wow!!! this has GOTTA get into the CVS soon, this absolutely rocks :) can I
suggest that we use a special extenstion for loadable modules, so we can
have the directory filter on, and still see the loadable mods :)


----- Original Message -----
From: <>
To: <>
Sent: Wednesday, August 07, 2002 10:15 AM
Subject: Feature added to load and execute application (mod/ajz) from Dir

> 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
> mod/ajz file that you would like to execute (doesn't have to be in the
> 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
> 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
> files.
> The attached zip file has the cvs diffs for tree.c and the makefile for
> 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
> .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
> 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