Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: maximum mod size?

RE: maximum mod size?

From: Nielsen Linus (ext) <"Nielsen>
Date: Mon, 17 Dec 2001 10:29:12 +0100

> This might be a stupid question, but what's the maximum mod size?

Since the flash size is 256K, I suspect that the code that
loads the firmware from disk and puts it into RAM expects it
to be less than 256K as well.

I would guess that the maximum mod size would be about 250K, since
the flash code sets the stack pointer at 250K from the start of
RAM, and I assume that the loaded firmware is put at the start
of RAM at 0x9000000, since the exception vectors are located
there.

> Is the mod loaded to RAM and executed? Does this mean that
> less mp3 caching space is available the bigger the mod gets?

Correct. The flash is not updated. This leaves us less RAM for
audio data buffering.

/Linus
Received on 2001-12-17

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