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

Rockbox mail archive

Subject: Memory/Settings Creation Question

Memory/Settings Creation Question

From: Dave Jones <>
Date: Tue, 25 Feb 2003 10:49:52 -0600

Some newbie questions about memory:

I'd like to create a couple of new global settings for my Rockbox firmware.

I can't tell from the settings.c file if there is room for them in the
Config block saved to Ram. I would guess from my rudimentary knowledge that
this space is full.

Can I just add them onto the end of the Config block that is saved to disk?
If so, what is my offset? 0xFC + 260 bytes?

I plan on using two settings, 1 is a boolean setting (1 bit?) , the other
will have maybe 4 or 5 values (3 bit?)

I'd really appreciate a couple of quick pointers about how to set this up
and maintain compatibility and good coding style.



Dave Jones, Senior Project Consultant
HFP Acoustical Consultants Inc.
6001 Savoy Dr., Suite 115
Houston, Texas 77036
713.789.9400 (phone)
713.789.5493 (fax)
Received on 2003-02-25

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