Commit graph

4548 commits

Author SHA1 Message Date
Karl Kurbjun
d3d0b26421 Work in progress fixes to the remote button handling. Now the remote can be unplugged and then plugged in and it will work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15628 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 06:44:35 +00:00
Barry Wardell
34288fea43 FS#8157: H10 RTC alarm with some changes by me. The settings keymap had to be changed slightly, but it seems to work better for all setting screens with the new keymap. Thanks to
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15620 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 16:53:31 +00:00
Barry Wardell
e18125eec2 FS#8155: Proper initialization of E8564 RTC (used in H10). Also fixes FS#8154 - Shutting down fails when RTC alarm is active. Thanks to Przemyslaw Holubowski for the bug report and fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15619 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 16:13:39 +00:00
Jonathan Gordon
166aaf7b74 Accept FS#8139 - Correct assumed current consumption for iPod Video
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15614 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 07:39:46 +00:00
Jens Arnold
f4c5c6aa62 Fix bootloaders, and the backlight-modded Ondio build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 19:19:38 +00:00
Jens Arnold
ef12b3b5c6 Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 18:49:53 +00:00
Robert Kukla
1ba1c684cb Fix FS#8138 - Gigabeat clock time is lost at midnight on Saturdays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15594 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 11:46:27 +00:00
Michael Sevakis
d970c3d054 Portal player i2c driver: More struct spinlock phaseout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15593 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 07:58:54 +00:00
Barry Wardell
93b021b7f6 Hopefully fix line-in recording on PortalPlayer targets (H10 in particular).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15590 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 23:41:54 +00:00
Magnus Holmgren
56b8e99c10 When unpacking a 16-bit color value to 24 bits, repeat the high bits of each component rather than the low bits. This makes the RGB value displayed in the color picker (and in settings files) more accurate. E.g., when using the reported color in a background, it will no longer be dithered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15589 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:31:38 +00:00
Karl Kurbjun
be1283dbac Fix M:Robe define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15587 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:07:17 +00:00
Karl Kurbjun
69b678e154 Fix bootloader build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15586 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:06:34 +00:00
Nicolas Pennequin
5cfd27a9cd Revert Karl's r15581, r15582 and r15583 because they caused serious problems on the Gigabeat (can't load plugins or codecs).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15585 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 20:50:44 +00:00
Karl Kurbjun
da293caa16 Fix an error in the calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15583 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:24:32 +00:00
Karl Kurbjun
4d75f03e0c Add a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15582 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:17:16 +00:00
Karl Kurbjun
1b3dac9042 Setup the gigabeat so that iram is faked in a different spot since the normal iram location does not seem to be working. This lays the groundwork to get rolo running.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15581 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:13:09 +00:00
Michael Sevakis
6e36ac547c H10: Touch-up the audio source switching a bit. Actually fix my earlier errors when enabling recording from Line/FM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15580 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:11:23 +00:00
Karl Kurbjun
31ea780ee0 Seperate the Gigabeat F/X crt0.s, cleanup some #ifdefs in app.lds, add an extra reg to the debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15579 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 17:58:13 +00:00
Barry Wardell
c495cdae59 FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing the hard work in figuring out how to communicate with the tuner.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 16:00:33 +00:00
Nicolas Pennequin
9d4bed7ff0 Album art support. Based on FS#3045, but heavily modified to adapt to MoB and for cleanness.
The cover pictures are loaded from external bitmaps. JPEG and embedded art are not supported. The pictures will only be drawn on the main display. There is no resizing but it is possible to specify the WPS bitmap size in the bitmap names (e.g. cover.100x100.bmp).
The bitmaps are stored in the main buffer and read directly from there. Currently, duplicate bitmaps will simply be present several times in the buffer, but this will be improved.
To enable for a target, #define HAVE_ALBUMART in its config file.
For more information, see the wiki page: http://www.rockbox.org/wiki/AlbumArt.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15572 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:29:37 +00:00
Jonathan Gordon
28dfb54eeb change the SCREEN_ROTATE define to be more meaningful, and set the mr500 orientation to landscape by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15567 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 04:48:33 +00:00
Karl Kurbjun
59a2862347 Show some more registers in the debug screen, fix the touchscreen when SCREEN_ROTATE is set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15566 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 03:31:24 +00:00
Nils Wallménius
d430955e15 Add gigabeat S files to FILES and sort entries under target/arm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15564 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:17:39 +00:00
Karl Kurbjun
d185f9eba8 Fix the Gigabeat red and move it's hw specific code into the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15562 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 23:13:27 +00:00
Karl Kurbjun
0082da7515 Add some forgotten files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15561 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:16:15 +00:00
Karl Kurbjun
d3c0a7f169 Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Barry Wardell
0d8111cb39 Split radio i2c drivers into target tree where they belong. No changes to binaries produced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15558 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 19:14:01 +00:00
Nils Wallménius
da8f854d61 No need to have this variable for targets that don't use it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15534 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 15:37:39 +00:00
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