|
|
Rockbox mail archiveSubject: Re: Random numbers et alFrom: Linus Nielsen Feltzing (linus_at_haxx.se) Date: 2003-04-09
Blue Chip wrote:
First of all, I'm sorry if I was too hard on you. I apologize.
> However, something like qsort, might benefit immensely. Maybe a more
Of course. No need to optimize code that doesn't need optimizing.
> By example: system.c is a true mystery to me.
Hehe, that file is a mystery to everyone (well, almost).
It sets up the interrupt vectors (yes, I know you know that). It makes
It declares interrupt handlers for all vectors, reserve_interrupt()
Example:
default_interrupt (IRQ6, 70);
This declares a weak alias IRQ6, that by default points to UIE70(). The
In mpeg.c, the IRQ6 function is defined:
#pragma interrupt
Now the linker uses the "real" IRQ6 function for the vector.
It is just a way of not having to edit the vector table when using an
> Given the application that your current random number generator is used
You may be correct. You are very welcome to examine this further and if
> It was never my intent to offend - I don't TRY to make enemies. I will
Sorry if you felt attacked. I feel responsible for that and I apologize
> Sounds far more interesting when put like that.
Not really, but is a simple lcd_invert_rect() call to create an inverted
If you really feel like doing some tricky code, try optimizing the
Or maybe optimize the lcd_write() code in lcd.c if you feel like hacking
/Linus
Page was last modified "Jan 10 2012" The Rockbox Crew |