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

Rockbox mail archive

Subject: Re: Random numbers et al

Re: Random numbers et al

From: Blue Chip <>
Date: Wed, 09 Apr 2003 18:48:23 +0100

>First of all, I'm sorry if I was too hard on you. I apologize.

That is kind of you. Let us start again with our positive intentions in
tact :)

Thanks for the clarification of system.c - that's not to say that I'll
never ask of it again, but I think I have a good grasp of it now.

>>Given the application that your current random number generator is used
>>for, the code which you have, although an impressive generator, is (imho)
>>unnecessarily complex and memory hungry.
>You may be correct. You are very welcome to examine this further and if
>you can provide a smaller generator with a decent period we are all ears.

I will run some tests and post my results

>>Sounds far more interesting when put like that.
>>Is the last (rejected) solution available to look at?
>Not really, but is a simple lcd_invert_rect() call to create an inverted
>line in the browser. A quite slow operation, especially when the line
>isn't fitting exactly in an 8 pixel row.
>If you really feel like doing some tricky code, try optimizing the
>lcd_bitmap() code. We also want it to be able to draw bitmaps taller than
>16 pixels.
>Or maybe optimize the lcd_write() code in lcd.c if you feel like hacking
>some assembler. Every cycle counts in that one.

I will dig deep and see what I can find.

Speak soon,

Received on 2003-04-09

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