FS#6972 - reduce code size for archos player

Attached to Project: Rockbox
Opened by Dave Hooper (stripwax) - Wednesday, 04 April 2007, 23:28 GMT
Task Type Patches
Category LCD
Status Closed
Assigned To No-one
Operating System Archos Player
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Just an idea. I'd think this would slightly reduce both static data and executable code size on archos player target. I replaced the table of bits (which is stored as chars..) in the charcell progressbar code with an array of precalculated row data, and took out many of the loops used to build the charcell since it can now be achieved using just copying (and shifting, for the progressbar itself).

Btw - I was inspired when going through the gwps diffs resulting from the new wps parser..
This task depends upon

Closed by  Marianne Arnold (pixelma)
Monday, 09 April 2007, 12:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  A different solution was committed recently