Jens Arnold
a50a80e1a3
Mini 2nd Gen: Almost doubled LCD update speed when not boosted (68.5->129fps @30MHz) by handling the serial LCD clock divider.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15524 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 06:52:48 +00:00
Michael Sevakis
57d71e4267
Add some CACHEALIGN_* macros and a helper function to assist in aligning data and buffers on PortalPlayer processors to cache line boundaries. They're noops when PROC_NEED_CACHEALIGN isn't defined. Go safe and increase the value to 32 since I'm not sure yet if 16 is sufficient - changing that is a one-liner. Add helper to plugin API which will be needed shortly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15523 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 05:17:20 +00:00
Stéphane Doyon
194a66ef83
Trigger an additional battery level announcement when the level
...
reaches 5% (FS#8112).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15522 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 01:18:13 +00:00
Jonathan Gordon
c14430a9c1
compile talk.c on hwcodec sim. it wont actually talk though
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15512 a1c6a512-1295-4272-9138-f99709370657
2007-11-07 09:28:07 +00:00
Karl Kurbjun
5db6b51759
Get the user timer working properly consequentially fixing doom without a hack.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
2007-11-07 05:30:31 +00:00
Jens Arnold
55398e934c
c200: Make microSD cards finally work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15493 a1c6a512-1295-4272-9138-f99709370657
2007-11-06 07:21:08 +00:00
Jens Arnold
20a39f485a
Get rid of some more inl/outl, and use the new macros for bitwise GPIO manipulation. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15492 a1c6a512-1295-4272-9138-f99709370657
2007-11-06 00:36:39 +00:00
Barry Wardell
03dd35db0e
Get rid of some more inl/outl. 0x70000084 seems to be GPO32_ENABLE.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15477 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 17:19:00 +00:00
Barry Wardell
4ef3e821cb
Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15476 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 16:12:13 +00:00
Barry Wardell
2d95fd524d
Get rid of some more inl/outl and use the new GPO32 define instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15474 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 15:48:59 +00:00
Barry Wardell
91bacf363a
Get rid of a couple of inl/outl since we have defines. Also use some other defines in place of magic values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15470 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 14:26:47 +00:00
Michael Sevakis
f29c4ccc6a
e200/c200: Take advantage of mutex recursion for the tuner driver and dump the awkward *_nolock stuff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15468 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 07:01:32 +00:00
Robert Kukla
6be390f210
make initialisation of buffer/unbuffer call backs consistent with FS#6639
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15464 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 23:58:23 +00:00
Jens Arnold
6fb4c53fb9
The GPIO interrupts are split into several port groups on all PP502x versions, so move those definitions into pp5020.h, and add the missing group. Make microSD hotswap detection work on Sansa c200. Note that microSD access itself does not work yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15460 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 13:22:17 +00:00
Jens Arnold
015f6286a8
Finally: HDD power control for all PP502x iPods (4th gen Grayscale, Color, Minis, Video). * Wait a short time after powering on the HDD on all disk based targets, as that seems like a good idea. Shorten the excessive wait on initial power on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15444 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 23:57:24 +00:00
Jens Arnold
33acc66256
* Add newfound GPO32 register to pp502x.h. * Introduce macros for the PP502x's atomic GPIO bit manipulation feature. * Remove clock setup related registers from debug screen, and add DEV_EN2, DEV_EN3 (to be verified) and GPO32 instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15443 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 22:47:27 +00:00
Steve Bavin
4d822319e9
Little tidy-up on previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15433 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 13:45:12 +00:00
Steve Bavin
8d03282f91
Fix recursion-stack overflow on simulator, also unify some variable names and make battery level changes more realistic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15432 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 13:21:40 +00:00
Jens Arnold
c9fca1e69c
Show exact CPU version on PP5002 targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15427 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 08:09:07 +00:00
Stéphane Doyon
da93299865
Accept FS#7910: spontaneously speak out the battery level when it falls
...
under 50%, 30% and 15%. Guarded by an option under voice settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15422 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 05:00:49 +00:00
Dave Chapman
21f0552947
TAB policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15407 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 08:43:56 +00:00
Catalin Patulea
f57ea9acd7
m:robe 500i port: Add backlight support to the main build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15404 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 06:13:43 +00:00
Karl Kurbjun
38548c7118
Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:21:34 +00:00
Catalin Patulea
574b1009a6
m:robe 500i port: Add support for the backlight client in the SPI subsystem
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15402 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:07:52 +00:00
Jens Arnold
9daf658ef1
iPod Video LCD driver: Reintroduce the simple method of waiting for update completion for use in the bootloader, because bootloaders don't enable interrupts and hence the tick task won't work. Slower than the full driver, but still faster than the old one, because it first transfers the data, and then polls the BCM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15399 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 01:18:14 +00:00
Jens Arnold
c888a9bebe
Bootloaders are single core... (aka fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15398 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 00:24:20 +00:00
Jens Arnold
ef8a7eaf2a
Major speedup of the iPod Video LCD driver. The internal update procedure of the BCM chip is now completely shadowed, handled by a tick task as necessary. Also fixes the occasional UI freezes due to stalled BCM updates by re-kicking it after a timeout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15397 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 00:07:45 +00:00
Dave Chapman
a4d48d0c0d
Button driver for Logik DAX, plus some changes to the debug info displayed in the bootloader build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15396 a1c6a512-1295-4272-9138-f99709370657
2007-11-01 23:38:57 +00:00
Michael Giacomelli
7127199230
Lets use the measurements Toni took months ago for the Sansa battery, instead of the using the Archos ones.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15389 a1c6a512-1295-4272-9138-f99709370657
2007-11-01 03:18:01 +00:00
Nicolas Pennequin
7f79564abc
Accept FS#8053 by Bertrik Sikken: playback.c and mpeg.c simplification by removal of last_track argument in track_(un)buffer callback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15384 a1c6a512-1295-4272-9138-f99709370657
2007-10-31 13:43:50 +00:00
Michael Sevakis
3c64ace573
Fix FS#8052 - kernel.c compilation errors when compiling for debug. Just some minor typos that got in with last minute SW corelock changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15380 a1c6a512-1295-4272-9138-f99709370657
2007-10-30 20:36:23 +00:00
Nicolas Pennequin
b583ff6e4b
Turn the DEBUGF messages into logf in the ID3 parser, so that by default they don't get shown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15364 a1c6a512-1295-4272-9138-f99709370657
2007-10-29 18:02:41 +00:00
Peter D'Hoye
bae8f4c316
More code police...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15353 a1c6a512-1295-4272-9138-f99709370657
2007-10-29 00:04:35 +00:00
Peter D'Hoye
bf9615f4e1
Code police, no functional changes (yet)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15352 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 23:44:49 +00:00
Nicolas Pennequin
9f6719ec56
Oops. The function should be static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15347 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 15:54:08 +00:00
Nicolas Pennequin
895eb984ac
Some genre strings must not be adjusted by adjust_mp3_entry. Thanks to PaulJam for the report.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15346 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 14:46:45 +00:00
Christian Gmeiner
fec406c7a2
add some informations about this file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15344 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 14:02:51 +00:00
Jens Arnold
b77893e4d5
C200: Reworked the LCD driver a bit, and fixed a bug with single column updates (was only visible in mandelbrot).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15343 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 13:16:05 +00:00
Jens Arnold
b05066de12
iPod Video: Further optimised LCD data transfer (5..6% speedup, but increase in FPS measured with test_fps is less), making use of the fact that the low address bits aren't decoded by the BCM. Major cleanup of the driver, and introduced register names.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15341 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 12:09:46 +00:00
Dave Chapman
28f6ae49ec
Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 11:08:10 +00:00
Jens Arnold
d3e101bd11
The iPod Video has the HW version at a different address in ROM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15338 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 01:00:18 +00:00
Michael Sevakis
c266204aec
e200: shorten some delays so the backlight turn on is snappier. Values seem to have a safe margin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15337 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 00:39:01 +00:00
Nicolas Pennequin
1839edf64a
Add queue_peek to the kernel (written by Mike Sevakis), and use it to improve upon my previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15336 a1c6a512-1295-4272-9138-f99709370657
2007-10-27 18:08:18 +00:00
Karl Kurbjun
0a632680e9
Some small cleanups and code for testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15312 a1c6a512-1295-4272-9138-f99709370657
2007-10-26 05:17:15 +00:00
Nils Wallménius
c9389e4ee8
Remove unused struct members
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15308 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 21:47:42 +00:00
Nicolas Pennequin
3e3c43c747
Finally commit Metadata on Buffer!
...
buffering.c and buffering.h implement the new buffering API. playback.c is translated to that API. For more information about the whole concept, see http://www.rockbox.org/wiki/MetadataOnBuffer .
There should be no major visible changes, but most existing bugs remain (though fixing them should be easier now that playback.c is a bit less complex) and there probably will be new ones. Please report any problem!
Next step is to adapt cuesheet support, which is partly disabled here, and of course fix as much bugs as possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15306 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 21:27:45 +00:00
Jens Arnold
06aca924f8
Further optimised the filter vector math assembly for coldfire, and added assembly filter vector math for ARM. Both make use of the fact that the first argument of the vector functions is longword aligned. * The ARM version is tailored for ARM7TDMI, and would slow down arm9 or higher. Introduced a new CPU_ macro for ARM7TDMI. Speedup for coldfire: -c3000 104%->109%, -c4000 43%->46%, -c5000 1.7%->2.0%. Speedup for PP502x: -c2000 66%->75%, -c3000 37%->48%, -c4000 11%->18%, -c5000 2.5%->3.7%
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15304 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 18:59:01 +00:00
Dave Chapman
347cd866b1
Rename TMS320DSC25 CONFIG_CPU value to DSC25 to prevent confusion with TMS320DM320
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15300 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 09:33:53 +00:00
Barry Wardell
3461027f26
FS#8022: AS3514 missing initialisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15298 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 09:15:31 +00:00
Barry Wardell
007563c93d
FS#8023: Use of AS3514 #defines instead of magic values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15297 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 09:03:47 +00:00