Commit graph

689 commits

Author SHA1 Message Date
Dave Chapman
752faa4351 Patch #5157 by Rainer Sinsch - SID codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10237 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 18:33:12 +00:00
Linus Nielsen Feltzing
5f655c93f9 Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10208 a1c6a512-1295-4272-9138-f99709370657
2006-07-13 07:40:30 +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
6314387706 Ondio: better default battery capacity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10145 a1c6a512-1295-4272-9138-f99709370657
2006-06-21 23:08:48 +00:00
Jens Arnold
977169ea7a H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10128 a1c6a512-1295-4272-9138-f99709370657
2006-06-16 17:34:18 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Jens Arnold
a238ab9df8 Iriver: Moved the handling of the UDA1380 split gain (analog preamp + decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
2006-05-14 23:34:24 +00:00
Thom Johansen
a4bfe37c6c Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 22:55:24 +00:00
Dave Chapman
f79d35a25e ipods - First implementation of pcf50605_init() function. This enables the power-out in the Dock connector, which may help getting some accessories working - if they don't need to talk to the ipod via the Apple Accessory Protocol. Thanks to julius in IRC for testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9860 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 08:08:10 +00:00
Peter D'Hoye
67ff2624bf Recording buffer offset must be passed on to the firmware calls, not the other way around. Should fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:18:21 +00:00
Brandon Low
5286c7ddb8 Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and 2) nonobvious that its not copy safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 20:32:25 +00:00
Jens Arnold
f2897e8180 H300: Optimised PCF50606 driver, significantly reduces CPU power drain from the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:16:32 +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
Zakk Roberts
16a57e2e4f Also add a config-specific 'Default' value, this should fix the sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 13:07:21 +00:00
Zakk Roberts
b61e263219 Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:31:33 +00:00
Jens Arnold
3e5c701de7 Correct battery voltage and almost correct percentages for all ipods. Runtime still needs calibration (and improvement, of course).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9655 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 07:19:24 +00:00
Daniel Stenberg
d2848f3d72 moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
I also extended the iram size properly since the 5250 coldfire has 128K


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 10:37:37 +00:00
Zakk Roberts
2f943b054c Enabled the quickscreen for iAudio X5. Globally, REC enters the menu and holding REC enters the quickscreen. Also moved the quickscreen #define to model config files, which simplifies the checking for it and makes checking more consistent. Cleaned up keymappings in quickscreen.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9590 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 03:51:17 +00:00
Brandon Low
bf6f9c66a1 Enable AB repeat on ipods with 4g keypad, requires quick fingers or you get the context menu instead of a marker. Thanks to Mikachu on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9589 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 00:39:48 +00:00
Brandon Low
72232bdc66 Fix bad rebuffering bug, and kill the track_count variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9571 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 02:15:35 +00:00
Jens Arnold
4ac150e8d3 Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 09:08:38 +00:00
Dave Chapman
8204cd76a7 iPod: Enable dynamic CPU frequency changing on the 4G (both greyscale and colour) and the first generation mini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9548 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 12:16:27 +00:00
Jens Arnold
e3c21065fc Iriver remotes might also tick on H300, so offer the ticking reduction. H300 users: reset settings and reload from .cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9531 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 07:30:02 +00:00
Brandon Low
857db456af Fix seeking on swcodec, but probably break some cases of skipping. Another important rework here, buffer management is serialized along with most other operations on the audio thread. This has some minor performance issues on ipod that can lead to audio skips during buffer fill as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9529 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 04:07:06 +00:00
Hristo Kovachev
6eafd48cec Fix bug #5037, spotted by David Rothenberger, also increase the max threads' count by 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9512 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 08:33:20 +00:00
Brandon Low
33a62e8a8e More work on swcodec. No significant pcmbuf functions are called from the audio thread now. Do not be surprised if seek or skip behavior gets weird after this, but it Works for Me (TM), and is a significant step in the right direction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9510 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 04:27:16 +00:00
Thom Johansen
4a4ec511bc Hopefully working battery display on Nanos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9483 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 10:03:09 +00:00
Jens Arnold
295ec69717 Simplification for user timer on coldfire. We define TIMER_FREQ separately anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9479 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 01:16:11 +00:00
Jens Arnold
aff9a842e4 Backlight fading enabled for the mini 2G. Reeset & reload settings to avoid strange effects...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9441 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 21:29:12 +00:00
Jens Arnold
3a3304fa31 greyscale iPod LCD: Working display flip. * Correct register definitions for HD66753. * Correct 1/3 and 2/3 greylevels. * Some tweaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9414 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 23:48:03 +00:00
Peter D'Hoye
769f18be1d simulator stubs for iriver recording, iriver sims now have a recording screen (doesn't actually record!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9403 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 15:52:06 +00:00
Hristo Kovachev
8c15138008 Patch #4934 by Ralf Herz: Fixes
1) Backlight stays on when set to always off (at least on the iPods (signed/unsigned problem))
2) Buttons not working when the backlight is set to always off and turned on the "first keypress enables backlight only"


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9396 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 12:20:23 +00:00
Linus Nielsen Feltzing
b60ad8a95e Enabled RTC and virtual disk LED on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9380 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 08:40:00 +00:00
Jens Arnold
de6f7ec5af Adjustable CPU frequency is working on iPod mini 2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9370 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 21:15:31 +00:00
Jens Arnold
3c39c2b034 Move definitions to their proper place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9368 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 20:48:15 +00:00
Jens Arnold
7e0ea2153c iPod mini 2G: Define correct audio codec, and fix WM8731 driver to work with PP5020. Audio is working now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9367 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 20:18:02 +00:00
Miika Pekkarinen
d5c927d92f Actually enable the dircache for simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9366 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 19:18:45 +00:00
Jens Arnold
d3feb78e40 Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No sound, no buttons, and hangs at the boot screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 17:29:21 +00:00
Frank Dischner
75c3d0b9f1 Add support for loadable vkeyboard layouts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9347 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 16:21:42 +00:00
Linus Nielsen Feltzing
b7da52bb65 Some corrections of the TLV320 register bit definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9324 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:35:08 +00:00
Linus Nielsen Feltzing
fff7d6157d MCF5250 has IRAM too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9311 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 12:48:56 +00:00
Zakk Roberts
f639df3b8e Clean up the LCD Settings menu for some targets: hide the Contrast and Invert options for color LCDs; the Flip Display option is now only available on supported targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9300 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 02:00:35 +00:00
Daniel Stenberg
7441cbaaec Switched PLAY and REC for proper X5 operation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9267 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:20:27 +00:00
Miika Pekkarinen
a33d5d7926 Fixed the define in config.h and more tagcache alignment issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9266 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 18:36:31 +00:00
Miika Pekkarinen
e9721bff58 Use ROCKBOX_STRICT_ALIGN for all ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9265 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 18:24:36 +00:00
Hristo Kovachev
a70c6b9b1e Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 19:16:45 +00:00
Björn Stenberg
da5fb18bca New option: First keypress enables backlight only. Patch #2920 by Nicolas Pennequin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:47:24 +00:00
Thom Johansen
473fc2ba74 Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 by
Ralf Herz.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 13:04:49 +00:00
Linus Nielsen Feltzing
1c1915c0d1 Add X5 support to scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9168 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 14:40:07 +00:00
Linus Nielsen Feltzing
1b383a9745 Correct codec size for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9158 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 12:23:55 +00:00