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

Rockbox mail archive

Subject: Re: any way to distinguish Player/Recorder/FM at _runtime_ ?

Re: any way to distinguish Player/Recorder/FM at _runtime_ ?

From: Chris Holt <>
Date: Sun, 6 Jul 2003 16:34:10 -0400

On Sun, 6 Jul 2003 22:02:09 +0200 (MEST), wrote:
> Hi,
> I've completed my decompressing boot loader for the flash. Since it is
> dual-boot (one permanent Rockbox image for safety, one to mess around
> with), I need to query the keypad during powerup. Currently I check for
> F1 pressed (will be Menu for Player), but this code differs across all
> 3 platforms. I don't really like to have 3 different builds for it, is
> there some trick how I can find out by e.g. probing around (not by
> reading flash values)?
> Jörg

So with F1 pressed we load the permanent Rockbox image? That's an
ingenious safety feature!

(sorry I can't help with model detection)
Received on 2003-07-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy