Commit graph

18920 commits

Author SHA1 Message Date
Jens Arnold
5b0d74a7d3 Get rid of unused return values, except the one from decode_chunk() which will be used in the dual core split.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19236 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 18:01:18 +00:00
Michael Sevakis
ffc6766a4d Add missing svn properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19235 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 17:47:42 +00:00
Rafaël Carré
97e907538a Sansa AMS: implement set_cpu_frequency()
Use a 24MHz peripheral clock instead of 64MHz for battery life

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19234 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 16:46:12 +00:00
Rafaël Carré
a39e4e9962 Sansa AMS: use non-busy wakeup to signal end of DMA transfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19233 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 16:02:00 +00:00
Rafaël Carré
aaaf609996 Creative ZVM : cosmetics
Use only UNIX line endings, remove trailing whitespace

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19232 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 15:38:10 +00:00
Michael Sevakis
888c3477bb Fix yellow and red. Maybe create some new.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19231 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:52:31 +00:00
Rafaël Carré
1735056864 Sansa AMS: kernel functions need the timer definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19230 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:42:40 +00:00
Rafaël Carré
a6ec0293cc Sansa AMS: correct timer definition (clk_main == 24MHz / 16)
make timer-target.h common to all AMS targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19229 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:40:57 +00:00
Michael Sevakis
888451fb0f Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:25:45 +00:00
Nils Wallménius
e73383ea32 FS#9580 by Thomas Martitz, split the two types of backlight fading into two seperate features and add correct description of the new one based on changing brightness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19227 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 13:17:18 +00:00
Steve Bavin
6d498d2831 Code police myself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19226 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 11:18:26 +00:00
Steve Bavin
4bde6daad0 Oops - fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19225 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 11:08:27 +00:00
Steve Bavin
b70f575023 Fix reds. Also note my r19221 commit message had a typo - shoudld have been e200/c200, not e100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19224 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 10:21:03 +00:00
Nils Wallménius
28f06901f7 Accept FS#9579 by Bartosz Fabianowski, fixing make zip when your build dir is not inside the source tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19223 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 09:36:34 +00:00
Steve Bavin
f4eb482202 ...and spell the property names correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19222 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 08:28:54 +00:00
Steve Bavin
f684726580 Add software backlight fading for E100/H300/X5/D2, by Thomas Martitz and others - see FS#6800 for credits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19221 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 08:26:13 +00:00
Michael Sevakis
756bcc4bd5 Fix misspelled function name. Thanks to Jens Arnold for noticing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19220 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 05:46:33 +00:00
Bertrik Sikken
3e965fd6c3 Enable display contrast setting and implement flip for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19219 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 22:29:17 +00:00
Björn Stenberg
a091d20ba0 Added 'keywords' and 'eol-style' properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 19:54:23 +00:00
Dominik Wenger
032b3d4691 m200v4: correct the BOOTDIR define, and invert the button check in the dualboot.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19217 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 18:17:41 +00:00
Michael Sevakis
ef60fdcb52 Add SVN properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19216 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 16:36:44 +00:00
Michael Sevakis
8d84a81a1e Fix c200 warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19215 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 16:31:24 +00:00
Michael Sevakis
3511d94031 Add register bit defines for as3514 and clean stuff up. Reduce poppiness at startup and shutdown (and even powerup for e200). Really, I can't honestly say it will help anything but an e200v1 but I'm sick of the noises. ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19214 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 16:16:06 +00:00
Rafaël Carré
2b39cb4b77 Sansa AMS bootloader: consider the bootloader finished
Be verbose only if a keypress has been detected.
Use enable/disable_irq() instead of inline assembly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19213 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 15:43:38 +00:00
Nils Wallménius
f10446aff7 Delete unused var and slight style police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19212 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 13:48:40 +00:00
Rafaël Carré
c1f90b1881 Sansa AMS: Use DMA for SD transfers (read and write)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19211 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 13:38:32 +00:00
Jens Arnold
d7e4e54bcb Reorder instructions to avoid pipeline stalls on ARMv6 wherever possible (sometimes using different registers to allow this). Speeds up the predictor by almost 20% on ARMv6 (overall speedup for -c1000 is 5%), and might also help a bit on ARMv5. ARMv4 speed is unaffected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19210 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 23:09:09 +00:00
Bertrik Sikken
7f521d3b1f Fix some svn:keywords and svn:eol-style in apps/keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19209 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 22:34:40 +00:00
Björn Stenberg
ad8d6031c1 Added support for configurable rockbox directory. FS#9567 by Alex Bennee.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 22:16:07 +00:00
Nils Wallménius
4c43f7be0a Rearrange the main synth loop a little and move some tests around for a ~5% speedup on c200, increase the output buffer size to make skips less likely, playback of simple midi files should now be mostly skip free on pp based players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19207 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 21:32:08 +00:00
Björn Stenberg
8486cb96c1 Preliminary button driver for Sansa Fuze. FS#9575 by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19206 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 20:51:05 +00:00
Björn Stenberg
3dcfe9ef71 Removed the DRAFT VERSION text.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19205 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 20:35:10 +00:00
Björn Stenberg
819378bf9d Renamed simulator disk directory from 'archos' to 'simdisk'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19204 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 20:32:57 +00:00
Rafaël Carré
68bf125feb Fix compilation of Clip simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19203 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 19:04:29 +00:00
Bertrik Sikken
c16effb4bf Fixed Sansa clip keymap for CONTEXT_SETTINGS. Use same keymap for CONTEXT_SETTINGS_TIME.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19202 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:47:49 +00:00
Rafaël Carré
48b4e5213b mkamsboot: dualboot button for Sansa Fuze
Sansa Fuze and e200v2 appear to have the same keymapping (except maybe for still missing buttons/wheel)
Thanks to Thomas Martitz for his finding

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19201 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:45:07 +00:00
Maurus Cuelenaere
11c63f2f22 Onda VX747: fix LCD bug by blocking lcd_update_rect() requests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19200 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:41:17 +00:00
Jens Arnold
3761c0108c Branch optimisation in both C (giving hints to gcc - verified using -fprofile-arcs and gcov) and asm files. Biggest effect on coldfire (-c1000: +8%, -c2000: +5%), but ARM also profits a bit (less than 1% on ARM7TDMI, around 1% on ARM1136).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19199 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:40:49 +00:00
Jens Arnold
66c0cf2eb1 Tweak the ARMv6 filter assembly a bit further.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19198 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:40:43 +00:00
Michael Sevakis
7bf4e7bda7 Simplify the wm8731 driver by adding a masked write function. Change _write_or/and to _set/clear. Reduce init sequence by initializing shadows to hardware defaults.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19197 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 15:26:39 +00:00
Jonathan Gordon
76e662b8e5 fix the e200r installer so it compiles again (storage rework broke it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19195 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 04:43:31 +00:00
Michael Giacomelli
5d21c8cb1d First part of FS#9570 by Antonius Hellmann. Disables power to the SD memory when not in use. Gives a sizeable power savings (4 mA by his measurement).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19194 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 03:59:21 +00:00
Jens Arnold
4c3a19f1b4 Fix test_codec precision. The old version effectively rounded the decode time up to full seconds (because of the rb->sleep(HZ)), so speed results from before this revision were more or less too low and 'stepped', especially for fast codecs and short test tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19193 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 23:54:27 +00:00
Bertrik Sikken
fda2e32d42 Use volume buttons instead of left/right button to control volume in WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19192 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 23:36:18 +00:00
Bertrik Sikken
0cd64abe25 Rename BUTTON_VOLUP to BUTTON_VOL_UP in definition of BUTTON_MAIN for Sansa Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19191 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 23:16:23 +00:00
Björn Stenberg
b69be10d98 Use BOOTDIR and BOOTFILE defines instead of hardcoded path and file. FS#9559
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19190 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 22:07:48 +00:00
Bertrik Sikken
078753395d Implement a basic uncalibrated battery reading for all as3525 targets with a lithium battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19189 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 15:00:44 +00:00
Bertrik Sikken
7ff34c4012 Disable plugins for Sansa Clip because plugins won't build yet for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19188 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 12:30:40 +00:00
Bertrik Sikken
763aacc311 Initialise mutex before using it in as3525-codec.c, also use mutex for single codec register accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19187 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 12:24:47 +00:00
Michael Sevakis
baf4b6102d Change the test_sampr plugin around to use a constant pitch + white noise which makes it more informative about the hardware state. Add a volume control for targets without a separate one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19186 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 08:19:55 +00:00