Miika Pekkarinen
a85044bf9e
New scheduler, with priorities for swcodec platforms. Frequent task
...
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Jens Arnold
9d2f7b5c6d
Assembler optimised memset16() for ARM, by Thom Johansen. Should speed up LCD clearing and solid rectangle drawing on colour iPods somewhat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10900 a1c6a512-1295-4272-9138-f99709370657
2006-09-07 00:16:04 +00:00
Dave Chapman
657dcb5165
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:19:35 +00:00
Miika Pekkarinen
6523ba44a9
Fixed performance problems when initializing tagcache.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10754 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 09:24:20 +00:00
Miika Pekkarinen
5019b32620
Make sure dircache blocks correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10573 a1c6a512-1295-4272-9138-f99709370657
2006-08-14 19:03:37 +00:00
Miika Pekkarinen
954b732654
Initial support and use for EEPROM memory on H120 & H140 players when
...
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Miika Pekkarinen
d8ac607418
Tagcache: Fixed runtime stats not being gathered when tagcache is kept
...
on disk. Initial attempt to make tagcache thread safe. Replaced a few
direct buffer allocations with buffer_alloc from tagcache and dircache
where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10415 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 17:39:34 +00:00
Miika Pekkarinen
b40eb3d662
Fixed unicode buffer overflow issue (metadata parser crashed with some
...
mp3 files).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10324 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 18:12:57 +00:00
Linus Nielsen Feltzing
5a0cb68e43
Moved some assembly optimizations to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10318 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 11:16:03 +00:00
Miika Pekkarinen
9cd5c3e119
Tagcache update: Support removal of entries and no longer the need for
...
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657
2006-07-10 16:22:03 +00:00
Jens Arnold
7bbf53eae5
Simplify code...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10156 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 05:43:08 +00:00
Jens Arnold
f9b20914e6
volume_strip() now ignores multiple leading slashes like the rest of the path handling code. Fixes the stats plugin only counting the internal flash on Ondio, and other potential problems. Posix says multiple slashes are legal. * More precise volume name check.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10155 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 05:35:11 +00:00
Miika Pekkarinen
5127cfad1d
Fixed incorrect memory allocation bug with tagcache.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10023 a1c6a512-1295-4272-9138-f99709370657
2006-05-30 18:13:18 +00:00
Hardeep Sidhu
2436dbabe7
Update dircache startcluster at file close when writing. Fixes bug when creating small files (dircache startcluster remains 0 because fat write doesn't occur until close).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9950 a1c6a512-1295-4272-9138-f99709370657
2006-05-16 06:53:41 +00:00
Frank Dischner
bf64c45148
Use filesize instead of lseek to find the size of a file. Reduces disk access and improves font loading time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9792 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 16:02:44 +00:00
Miika Pekkarinen
fa893c6b88
Performance optimizations for tagcache commit. Still more left to be done.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 18:56:56 +00:00
Miika Pekkarinen
3b31346103
Commit tagcache in background when possible (at least dircache enabled).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Miika Pekkarinen
d489377d46
Fixed the file renaming/removing issue with dircache enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9649 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 21:14:13 +00:00
Thom Johansen
872797be0e
Make ASM memset for ARM return destination address, as is standard.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9519 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 15:41:07 +00:00
Hristo Kovachev
ffefe9237b
CP1251 is cyrillic, and not only russian codepage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9518 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 14:23:57 +00:00
Miika Pekkarinen
3881ce94bd
Dircache support for simulator also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9365 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 18:53:44 +00:00
Miika Pekkarinen
82f32e3f73
Do the dircache operation first to block properly when necessary.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9356 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 10:20:44 +00:00
Miika Pekkarinen
6ce466ea2c
More safety checks to dircache to block updates until cache is ready.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9339 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 09:38:45 +00:00
Miika Pekkarinen
2d93495df2
Boost open() performance on platforms with dircache. Tagcache initial
...
scanning now over 50% faster than before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9306 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 11:51:12 +00:00
Miika Pekkarinen
7c4e0c8730
Initial version of tagcache! There are still some bugs in the engine
...
and much more problems with the UI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 11:33:42 +00:00
Miika Pekkarinen
e4c0ef35fc
Don't stop dircache thread when charger is plugged in/removed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9193 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 17:09:13 +00:00
Jens Arnold
a738c3be31
Iriver firmware compatibility kludge: RTC year offset. The offset is chosen in a way to make leap years work correctly in rockbox; the original firmware will still be one year off but doesn't reset the date anymore. [We don't want to wait until 2016 ;-) ]
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8991 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 19:17:01 +00:00
Marcoen Hirschberg
ea4dea67ae
some unicode fixes by Frank Dischner
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8988 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 11:13:21 +00:00
Brandon Low
19f4c2a093
Improve ipod i2c driver somewhat by at least taking advantage of the in-device addressing in the pcf50605, also switch to a 10bit resistive divider for the ipod battery reading, this is easily configurable if it needs changing, or even to become a user/runtime setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8980 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 19:47:12 +00:00
Brandon Low
8348cebe9a
Fix red builds (with frustration)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8941 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 05:26:18 +00:00
Brandon Low
40d0d752aa
Make seconds flow evenly and further throttle RTC reads solution partially thanks to amiconn
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8938 a1c6a512-1295-4272-9138-f99709370657
2006-03-06 22:53:59 +00:00
Brandon Low
4a301c3275
Make the RTC read throttling work, thanks to herz42 on irc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8926 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 23:38:52 +00:00
Brandon Low
aab008053e
Fix some yellow builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8913 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:34:27 +00:00
Brandon Low
6668b65ef2
Move the RTC read throttling to a smarter place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8912 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:19:46 +00:00
Jens Arnold
7a0110eedd
TAB policed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8887 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 22:29:53 +00:00
Dan Everton
ccd0e7451d
Change rename() to set errno to EXDEV if a rename is attempted across volumes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8883 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 11:03:34 +00:00
Miika Pekkarinen
871575f0f0
Implement . and .. path in dircache to properly support moving files
...
to other directories without absolute destination path provided.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8866 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 11:41:35 +00:00
Thom Johansen
c85ad42c35
Didn't mean to commit this, revert.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8794 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:53:41 +00:00
Jens Arnold
c7ba2b518d
Fix silly bug that made it crash on iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8791 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:33:25 +00:00
Thom Johansen
374647f478
Fix stupid mistake.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8787 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:34:42 +00:00
Thom Johansen
ff493e081f
Commit correct file this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8786 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:03:20 +00:00
Thom Johansen
e94d262795
ARM optimised memset from Linux.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8785 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 18:52:08 +00:00
Jens Arnold
eb65f89f0e
Added memset16() for filling memory regions with 16 bit values, needed for upcoming 16 bit LCD driver opts. ASM optimised for coldfire.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8773 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:20:45 +00:00
Jens Arnold
d036e97d38
Added memmove() to the rockbox core. C implementation taken from newlib. Fully optimised ASM implementations for SH1 and coldfire, reusing the AMS memcpy code path for forward copying.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8601 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:00:58 +00:00
Tomasz Malesinski
91f08b5a24
Made %n not eat white space.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8557 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:39:12 +00:00
Miika Pekkarinen
de281db7e7
Now dircache should work on players requiring long aligned memory
...
accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8502 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 10:08:53 +00:00
Tomasz Malesinski
e8e0b241bd
Simple sscanf implementation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8444 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:35:04 +00:00
Jens Arnold
c05cd1676f
Better random number generator: Mersenne twiser with improved initialisation. BSD-style license.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8396 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 01:21:26 +00:00
Jens Arnold
a601fb8d19
More compact & straight-forward headbytes handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8255 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 12:17:11 +00:00
Miika Pekkarinen
a6a0c4b2d5
Now the file corruption bug when reading & writing the same file is
...
hopefully fully fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8251 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 20:44:41 +00:00