Rockbox mail archiveSubject: Re: any way to distinguish Player/Recorder/FM at _runtime_ ?
Re: any way to distinguish Player/Recorder/FM at _runtime_ ?
From: Chris Holt <amiga2k_at_cox.net>
Date: Sun, 6 Jul 2003 16:34:10 -0400
On Sun, 6 Jul 2003 22:02:09 +0200 (MEST), idc-dragon_at_gmx.de wrote:
> 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)?
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