Brandon Low
461addf658
Disable backlight fade out for shutdown
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9500 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 19:19:28 +00:00
Linus Nielsen Feltzing
605c9674c1
Correct minimum value for TLV320 volume
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9495 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 18:26:00 +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
fcab617331
Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as apple. No more mirrored display when loading retailos, after a bootloader update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9478 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 00:55:16 +00:00
Daniel Stenberg
c16c727e54
killed warning due to comparison signed/unsigned
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9444 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 23:06:20 +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
Miika Pekkarinen
93b6a1d12c
Prevent two division by zeros and one problem causing a crash in the
...
mp3 metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 20:19:00 +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
e9da65356d
Ooops, iPod 3G used lcd_enable() to switch backlight. Blind fix, needs testing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9379 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 07:53:01 +00:00
Jens Arnold
8c6e737bfb
Greyscale iPod LCD driver: Fixed lcd_update_rect() to work properly for partial updates. Working display invert. Use register name macros. Some cleanup & optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9378 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 07:32:38 +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
afb944eee1
iPod mini 2G: Properly reboot into diskmode for USB access.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9369 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 21:00:24 +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
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
Jens Arnold
dc8de7ea3d
iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. Buttons working now, rockbox no longer hangs at boot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9364 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 18:14:08 +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
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
Linus Nielsen Feltzing
e62152ddf9
Better sound quality on the iAudio X5 using the correct MCLK frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9354 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 10:01:04 +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
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
Linus Nielsen Feltzing
029ff80235
iAudio X5 doesn't have bass and treble
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9338 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 08:47:04 +00:00
Linus Nielsen Feltzing
a145bf536f
Correct maximum and default volume for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9330 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:55:12 +00:00
Linus Nielsen Feltzing
cf0892fd79
Audio support for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9328 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:43:47 +00:00
Linus Nielsen Feltzing
a7db6e302f
First quick'n'dirty volume control for the iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9327 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:38:05 +00:00
Linus Nielsen Feltzing
d1a93d8a0c
Simplification and correction of the TLV320 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9326 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:36:59 +00:00
Linus Nielsen Feltzing
66a2952230
Enable I2C bus 1 on the iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9325 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:36:04 +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
Linus Nielsen Feltzing
e6876736d5
Correct IRAM attributes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9310 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 12:47:50 +00:00
Linus Nielsen Feltzing
a8c1fb55a4
Correct audio clock
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9309 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 12:47:10 +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
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
Brandon Low
2ff150793a
Even better LCD clearing for ipod color displays, clear to white, but after backlight off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9293 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 17:29:09 +00:00
Brandon Low
6599ff4308
Fix some math for ipod volume settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9291 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 16:05:51 +00:00
Brandon Low
5c950f4380
Reduce the appearance of volume change clicks by using the wmcodec's zero-cross detect feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9290 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 14:46:15 +00:00
Brandon Low
99538b73f5
Clear the display in a less intrusive way to the user's selected background _color_ (solid color ghosting is hard to detect)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9288 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 14:15:07 +00:00
Brandon Low
bdc52f4649
Code police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9287 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 14:14:06 +00:00
Brandon Low
ee4674852f
Patch 4819 from Robert Keevil to shutdown the codec and clear the LCD on ipod shutdown
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9286 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 13:36:51 +00:00
Daniel Stenberg
f4ac85ac06
ok, this is the correct PLAY/REC swap!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9270 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:41:58 +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
Jens Arnold
8083e8c0de
Fixed potential sample overflow in variable stereo width > 100% and karaoke mode, both hwcodec and swcodec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9263 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:41:36 +00:00
Dan Everton
358055ece9
Add TDRC tag from id3 v2.4 to fix year not showing in files tagged with id3 v2.4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9258 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 14:23:32 +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
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
Brandon Low
68af390d91
Unify pcm_playback code where applicable to make working with it a bit nicer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9251 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 18:41:42 +00:00
Dan Everton
f6bdfbdcd0
Add simulated battery drain to the simulator. Patch from Matthias Mohr (task 4886).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9247 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 14:31:44 +00:00
Björn Stenberg
e8a0990a51
Dummy is_backlight_on() for bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9232 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 14:18:22 +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
Jens Arnold
6a5ef8e742
Fixed loong-standing bug in mas_writereg().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9222 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 07:57:55 +00:00
Brandon Low
8307d0b388
Fix weirdness caused by not stopping buffering during pause, and generally use a more sane pause behavior on swcodec targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9221 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 02:38:57 +00:00
Christian Gmeiner
e7463a45ba
use logf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9205 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 14:02:43 +00:00
Brandon Low
b4d495c69f
Fix ipod 3g build that was broken (by me perhaps?)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9200 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 03:48:48 +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
Linus Nielsen Feltzing
930e315c64
Me silly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9189 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 15:17:17 +00:00
Linus Nielsen Feltzing
7d3e202293
Even more simulator fixes for backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9188 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 15:04:46 +00:00
Linus Nielsen Feltzing
9a6997753d
Fix simulator backlight for X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9186 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 14:33:07 +00:00
Linus Nielsen Feltzing
13618007b3
Backlight for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9185 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 14:17:45 +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
8f186803a5
USB mode for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9179 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 11:06:45 +00:00
Marcoen Hirschberg
d257683f3e
font caching fixes by Frank Dischner
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 09:53:27 +00:00
Linus Nielsen Feltzing
d0e8c57b77
Now the X5 LCD driver works as expected
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9177 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 09:50:35 +00:00
Thom Johansen
b0960aed11
Enabled channel configuration and stereo width option on software codec
...
platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9173 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 23:20:17 +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
c5c7421704
Make RoLo compile for X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9164 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 13:22:51 +00:00
Linus Nielsen Feltzing
8b61dd1cc5
Quick hack to make the application compile for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9160 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 12:29:30 +00:00
Linus Nielsen Feltzing
7664a4f7e0
Correct IRAM size for the iAudio X5 app
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9159 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 12:25:40 +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
Hristo Kovachev
b492cf4ac4
Removed an unneeded BUTTON_HOLD define for iPod 3G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 10:33:11 +00:00
Hristo Kovachev
f53f64a615
button.h cleanup, with the future "button action" thing in mind:
...
1) Main unit's button defines are from the LSB to the MSB (currently bits 0-9, 0x00000200), remote ones are from the 20th bit (0x00100000) downards to 10th(0x00000400);
2) Removed the BUTTON_REMOTE modifier, replaced with a bitmask of all of the remote buttons (where applicable, otherwise with 0), added a complementary BUTTON_MAIN bitmask;
3) Moved button modifiers:
- BUTTON_REPEAT: to bit 26 (0x04000000)
- BUTTON_REL: to bit 25 (0x02000000)
There are at least 4 bits free on all targets now: 21-24.
If we really need more free bits, it's possible to SHR remote buttons 1 bit more (freeing bit 20 too), and to change the SYS_EVENT bit with a bitmask (+2 bits).
4) Bumped up the min. plugin ver. (and sorted the plugin api struct), because the binary plugins with key input won't understand the new values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9149 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 09:36:13 +00:00
Thom Johansen
fce885d9ec
Turns out there's a processor mode actually called 'undefined'. Set up a
...
stack for this as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9125 a1c6a512-1295-4272-9138-f99709370657
2006-03-20 00:39:19 +00:00
Thom Johansen
3c7278f405
Reworked backlight fading by GPIO based PWM to work for other targets
...
than H1x0. iPod Nano and 5G backlight fading is enabled. To try for your
device, just define HAVE_BACKLIGHT_PWM_FADING in the relevant
config-xxxx.h file. NOTE: Will break your settings, so save a config
file first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9121 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 17:42:58 +00:00
Jens Arnold
bf3dba8628
Coldfire: Assembler optimised disk writing, speed increase ~36% on average.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9117 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 12:37:23 +00:00
Linus Nielsen Feltzing
2f438bb2da
H300: Properly initialize the backlight PCF50606 port pin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9113 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 07:14:46 +00:00
Brandon Low
dd5a85839e
Reduce code size and generally clean up the button driver more! * Add 'wheel repeat' functionality to prevent scrolling past the end of lists in a continuous scroll. Can release and resume scrolling to wrap to the top (4g, 5g, nano).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9110 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:12:28 +00:00
Brandon Low
5650b70517
Fix some problems with using USB_POWERED as a charging state separate from charger_inserted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9109 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:01:03 +00:00
Linus Nielsen Feltzing
415fab1ca3
Added iAudio X5 to the app linker command file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9106 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 23:06:45 +00:00
Brandon Low
ddf7c70a45
Real Time Clock support in the WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9105 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 22:42:02 +00:00
Linus Nielsen Feltzing
169cd33b37
iAudio: working PLL settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9104 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 21:29:17 +00:00
Brandon Low
0c620cc681
Improve button driver performance on ipod a bit by moving around queue checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:07:02 +00:00
Jens Arnold
14229df245
Fix s-t-u-p-i-d bug in the asm ata read routine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9098 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:03:36 +00:00
Jens Arnold
707ca4fe9e
Fix red bootbox build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9097 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:01:45 +00:00
Jens Arnold
06616783a8
Fix yellow build as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9094 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 19:43:35 +00:00
Jens Arnold
5a121270aa
Coldfire: Assembler optimised disk reading, speed increase ~40% on average.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9092 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 10:12:50 +00:00
Brandon Low
96e4946d9d
Hopefully correct charger connected detection for ipod video thanks to Herz's patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9090 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:16:56 +00:00
Brandon Low
d00d58896b
Patch FS#4841 from Ralf Herz, debug more io ports on the PP5020 based ipods
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9088 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:13:55 +00:00
Brandon Low
2457de11b6
Use plugged backlight timeout when usb powered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9086 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:07:51 +00:00
Jens Arnold
13c63de2c1
Iriver: Properly working remote type detection regardless of hold switch positions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9079 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 18:45:06 +00:00
Jens Arnold
cb9e316d4d
H300: Cut-down LCD init & working display flip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9078 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 15:42:06 +00:00
Thom Johansen
f18de23428
More sane define checking. To disable cpu boosting on ipods, just
...
commenting out the HAVE_ADJUSTABLE_CPU_FREQ line in the
config-ipodxxxx.h file will work now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9077 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 14:27:09 +00:00
Thom Johansen
4092029b3b
Don't paste when sleepy, kids.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9075 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:45:06 +00:00
Thom Johansen
4fead08e7b
We need to allow set_cpu_frequency in the bootloader for adjustable CPU
...
freq targets. Fixes red build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9074 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:44:55 +00:00
Thom Johansen
176b38f548
Remove tabs...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9073 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:13:49 +00:00
Thom Johansen
70ab7fc4e9
Assembler optimised swap32 for ARM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9072 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:05:39 +00:00
Thom Johansen
f6e856774c
CPU boosting support for ipod nano and video. The rest of the targets
...
are either untested or do not work with the current code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9070 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:02:13 +00:00
Thom Johansen
fa60e306d1
Remove tabs...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9068 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 00:18:22 +00:00
Thom Johansen
46de4c21fe
Add timer.c module support for ipods. Remove uneeded SIMULATOR check.
...
Introduce TIMER_FREQ define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9067 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 00:08:39 +00:00
Thom Johansen
f7b14efc7f
Some extra PP defines, and make some PP5002 defines consistens with
...
PP5020.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9066 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 00:06:11 +00:00
Brandon Low
ba2e8b163e
Fix red and yello build table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9062 a1c6a512-1295-4272-9138-f99709370657
2006-03-16 18:25:45 +00:00
Brandon Low
4b68f1e2a3
Proper charger input, usb and charger activity detection/reporting for ipod video
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9061 a1c6a512-1295-4272-9138-f99709370657
2006-03-16 17:34:37 +00:00
Miika Pekkarinen
451ee0b11c
Charging state reporting for iriver players. Values calibrated with
...
1900 mAh Ionity battery; might need recalibration with the stock
battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
2006-03-13 16:11:30 +00:00
Jens Arnold
06bc627c99
Removed lcd_roll() and lcd_remote_roll() functions. These functions were not really portable. Removed the only plugin that used lcd_roll(): Oscillograph. Oscilloscope offers everything that oscillograph did and more, in a portable way. * Bumped & sorted plugin API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8995 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 09:28:49 +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
Brandon Low
63ba93c9ca
Revert non-functional peakmeter fix, fix it for real? this time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8990 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 13:47:12 +00:00
Brandon Low
4431ab237e
Code policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8989 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 12:55:13 +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
Peter D'Hoye
ff862e19cc
Yet another recording peakmeter sensitivity fix: only reset peak values after they've been read
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8985 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 22:27:39 +00:00
Brandon Low
ca2dc0d4e5
Commit changed scale factor to match battery reading changes on ipod 5g
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8983 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 22:12:15 +00:00
Brandon Low
7bc5bc4b49
Fix peakmeter reading off the end of the buffer, thanks to petur
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8981 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 21:25:08 +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
Peter D'Hoye
5ecac908a2
Fix by Jvo Studer for bugreport #4799 . Recorded bytes counter wasn't updated with pre-recording bytes, causing an issue when file-splitting because of maximum filesize limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8979 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 18:39:45 +00:00
Dave Chapman
48e8e1d820
iPod 3G: Enable I2S interrupts for the main processor, not the COP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8971 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 08:49:52 +00:00
Linus Nielsen Feltzing
c11a68aee2
iAudio X5: Remote control buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8968 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 07:23:07 +00:00
Brandon Low
9c2b203025
Fix profiling compilation for non-m68k targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8967 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:37:52 +00:00
Brandon Low
ca9e8b6cf5
Use an 8 bit ADC read for battery reading on ipod, that provides better than centivolt precision any way, also enable charging, it seems to detect fine when charging by USB
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8966 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:36:22 +00:00
Brandon Low
c24569feee
Improve clarity, no functional change
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8965 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:32:34 +00:00
Brandon Low
e8196b3c79
Minor correction to irq masking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8964 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 22:59:41 +00:00
Dave Chapman
f556c95af1
That function prototype should never have been in CVS - it was just part of my testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8956 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 09:45:30 +00:00
Jens Arnold
4d9992d450
Fix lcd_roll() on H1x0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8955 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 08:09:52 +00:00
Brandon Low
9d75acbaf7
~2% performance improvement and some code cleanups for ipod video lcd update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8953 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 04:14:30 +00:00
Jens Arnold
19b45a4374
LCD extension library: Implemented scrolling for LCD depths below 8 bit. * Oscilloscope: Use new scrolling function, some minor optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8951 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 01:14:46 +00:00
Jens Arnold
761652abf7
Fixed dependency problem in compressed firmware build. (archos recorder v1)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8950 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 23:52:33 +00:00
Brandon Low
06d085a952
_Slight_ optimization of peak calculation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8949 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 23:10:24 +00:00
Linus Nielsen Feltzing
838a7020c7
ATA driver: Fixed a flaw in check_registers(), and added support for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8948 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:25:19 +00:00
Linus Nielsen Feltzing
c5c8883cc8
iAudio X5 target-specific ATA driver code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8947 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:19:34 +00:00
Linus Nielsen Feltzing
322cb14115
Adapted to compile with lostlogics recent ADC driver changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8946 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:15:24 +00:00
Linus Nielsen Feltzing
eed02bebcd
Add the target directory tree to the include path, and set the TARGET_TREE macro for the targets that use it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8945 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 12:45:45 +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
a4b45ee131
Additional minor button interrupt tweaks, in a completely unscientific way, this seems to make the 5g more responsive at 30mhz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8940 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 05:21:00 +00:00
Brandon Low
b5648000ba
Slight simplification of scroll button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8939 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 04:56:55 +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
a915771347
Make the ipod ADC driver more generic, preparing to share code between it and the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8934 a1c6a512-1295-4272-9138-f99709370657
2006-03-06 15:25:26 +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
0c886b7697
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8923 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 22:29:44 +00:00
Brandon Low
bb2f15ca7d
Finer grained irq masking, blocking for i2c, plus a mutex to prevent conflicting read/writes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8922 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 22:14:53 +00:00
Thom Johansen
149df9794e
Make better use of banked registers in FIQ mode to shrink the iPod FIQ
...
handler a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8920 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 21:16:57 +00:00
Brandon Low
780e8dd0ef
Fix other yellow builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8914 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:40:51 +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
Brandon Low
63c0d1dd9c
Basic battery monitoring for ipod 5g, should work on other ipods as well, but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:06:06 +00:00
Jens Arnold
8c50ff2788
More efficient button_read() for archos recorders and Ondios.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8908 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 09:07:03 +00:00
Jörg Hohensohn
ea5df70e46
Archos V1 recorder charging path #2927 by Alun Thomas
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8898 a1c6a512-1295-4272-9138-f99709370657
2006-03-04 09:48:53 +00:00
Jens Arnold
8ac3ae73c5
More 64bit simulator fixes, coinciding with the long policy this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 02:09:58 +00:00