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: First program
From: martin brook (vgrade_at_btinternet.com)
Date: 2001-12-13


Great job,

I know how hard it can be to get something built and executing on a new
piece of hardware, and with so little information.

Good luck with more developments.

----- Original Message -----
From: Tome Cvitan <cvitan_at_zworg.com>
To: <jukebox_at_cool.haxx.se>
Sent: Thursday, December 13, 2001 9:49 PM
Subject: Re: First program

> Hi there.
>
> I have been following the mailing list since the day it was set up, when
> a post on the coolmp3players forum mentioned Bjorn's page.
>
> I must admit that I don't get much from the messages you guys are
> writing, since I don't have any knowledge in these fields.
>
> Anyway, what I wanted to say was that it is great that you guys have
> managed to accomplish a program in such a short time, and that I look
> forward to futher progress. Personally I don't think I can contribute at
> this level, but just like Magnus says, if there is some kind of SDK
> released by someone, it would be possible for me (and probably many
> others) to contribute.
>
> /Tome
>
> jukebox_at_cool.haxx.se wrote:
> >
> > Gentlemen,
> >
> > It is with great pleasure I present to you my first program for the
jukebox,
> > the amazing 550-byte LED-flasher! Fun for the whole family!
> >
> > Copy the attached archos.mod to your jukebox and enjoy hours of
> > entertainment! :-)
> >
> > Here's the source code:
> >
> > ------
> > #define PBDR (*((volatile short *)0x05FFFFC2))
> >
> > int main(void)
> > {
> > while (1) {
> > int i;
> > PBDR ^= 0x40; /* toggle PB6 */
> > for (i=0; i<120000; i++);
> > }
> > }
> >
> > const void* vectors[] __attribute__ ((section (".vectors"))) =
> > {
> > main, /* Power-on reset */
> > 0, /* Power-on reset stack pointer */
> > main, /* Manual reset */
> > 0 /* Manual reset stack pointer */
> > };
> > ------
> >
> > Amazingly complex, isn't it? ;)
> >
> > /Björn
> >
>



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa