Commit graph

23949 commits

Author SHA1 Message Date
Yoshihisa Uchida
78aced2831 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24881 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 13:08:31 +00:00
Yoshihisa Uchida
eee06b696d sorry, I forget tools/database/SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24880 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 12:23:20 +00:00
Yoshihisa Uchida
dc8ae3e38e fix red.
tools/database: add SMAF codec.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24879 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 12:11:39 +00:00
Yoshihisa Uchida
45e009a364 add SMAF codec (.mmf extension)(FS#10432)
This codec supports only wave data (ADPCM and PCM).
It does not support MIDI, picture, and movie.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24878 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 11:46:29 +00:00
Yoshihisa Uchida
aa58715a54 libpcm: deletes PCM_CHUNK_SIZE.
aiif.c/wav.c: deletes #include <inttypes.h>.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24877 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 11:30:16 +00:00
Jonathan Gordon
31fb4f6ff6 Change how touchscreen regions work slightly... "It modifies the behaviour of touch buttons to be more similar to the way gui buttons operate in desktop applications. Upon a touch press event, the button at the touch position is armed. Upon a touch repeat or release, the button at the touch position is triggered only if it is armed. Upon release (and wps entry), all buttons are disarmed. E.g. when you touch press on an empty area, then while pressing drag your finger on a button, then release the button, the button is not triggered."
Author: Jens Theeß 
Flyspray: FS#10982


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24876 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 06:19:25 +00:00
Jonathan Gordon
6c4b80c67b make the parser spit out filenames of images it cant load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24875 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 06:15:55 +00:00
Jonathan Gordon
0acb38b61c some minor changes to checkwps, shouldn't change anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 05:58:16 +00:00
Frank Gevaerts
14f066dc25 Fix voice with unset "lang" setting which was broken by r24816.
Maybe this isn't the proper fix, but it's a nasty bug for some people


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24873 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 21:58:04 +00:00
Jack Halpin
1c09c037f9 sd-as3525v2: Add some register bit descriptions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24872 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 21:31:54 +00:00
Tomer Shalev
9d268d796c Quickscreen: Hande case where not all quick settings are defines
This happens in Archos Recorder, see quick_screen_f3(), which caused crash
(FS#11037), due to top item not defined.
The commit explicitly sets items[QUICKSCREEN_TOP] to NULL, and also draws an
arrow only if the item is defined.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24871 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 21:30:16 +00:00
Frank Gevaerts
614fb41ddb Add -DDEBUG to the checkwps build. The tool is supposed to give debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24870 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 20:05:53 +00:00
Rafaël Carré
8ca62f32aa sd-as3525v2: correct CGU_MEMSTICK setting, shift divider
Add a note about the unknown clock register

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24869 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 07:08:33 +00:00
Rafaël Carré
e32e180244 as3525v2: share more of system_init() between the 2 SoCs
Differences remaining:
    - list of peripherals reset
    - CGU_PROC isn't modified on as3525v2
    - CGU_PLLA bits aren't known, but we use a known setting for 240MHz

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24868 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 06:59:58 +00:00
Rafaël Carré
01a6efc669 Clipv2/Clip+: no need for -mlong-calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24867 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 06:59:53 +00:00
Rafaël Carré
0af879c21a sd-as3525v2: unaligned transfers are handled properly (with memcpy)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24866 a1c6a512-1295-4272-9138-f99709370657
2010-02-23 01:00:21 +00:00
Dave Hooper
f7a30a4b08 kiss_fftr appears to perform two real-valued ffts in parallel -- so feed it only one signal of size N/2 (as opposed to splitting a single signal of size N into two interleaved parts which is what it seemed to be doing before)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24865 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 23:45:38 +00:00
Andree Buschmann
0b7dcd69c8 Remove tabs in firmware path (taking into account the original spacing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24864 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 21:24:09 +00:00
Andree Buschmann
3f5f3524d4 Change liba52 and libmad to the original 8-spaced tabbing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24863 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 21:02:57 +00:00
Andree Buschmann
398b37124e Remove all tabs within codec path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 19:44:05 +00:00
Teruaki Kawashima
c1bb06c3af plugin: implement highscore_show for player and use it in rockblox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 13:45:24 +00:00
Rafaël Carré
adf5bbdc46 Clip+: greylib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24860 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:35:51 +00:00
Rafaël Carré
233316914e Clip+: show the same real time in OF and rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24859 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:25:02 +00:00
Rafaël Carré
355f38d30a sd-as3525v2: use an uncached buffer, disable write for the moment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24858 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:02:20 +00:00
Rafaël Carré
0880349fa8 as3525v2: use iram (might need to be disabled for clipv2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24857 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:02:15 +00:00
Rafaël Carré
0358a7f9ae as3525v2: show I/O ports in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24856 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:02:10 +00:00
Rafaël Carré
a92a059abe Clip+: fix buttons driver
Do not use a static variable for buttons, else they're never reset
Remove unneeded code
Move GPIO_DIR setting to init function

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24855 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:02:05 +00:00
Rafaël Carré
ed55520985 as3525v2: do not modify CGU_PERI in rockbox.sansa
this prevented booting, we need to figure out CGU_PROC bits

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24854 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 08:29:02 +00:00
Rafaël Carré
9db0e78ac0 crt0: init correctly as3525v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24853 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 08:28:58 +00:00
Rafaël Carré
f1782602d0 Print correctly the rockbox logo for Clipv2/Clip+, not only Clipv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24852 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 08:28:55 +00:00
Rafaël Carré
21ac9d23d0 sd-as3525v2: working bootloader
check all error bits
only signal wakeup on data transfers, not on commands
trim down send_cmd

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24851 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:31:45 +00:00
Rafaël Carré
bb3a8291f2 Fix model number for Clipv2 & Clip+ (same than in scramble.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24850 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:31:40 +00:00
Rafaël Carré
b347245d7c as3525v2: init sdram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24849 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:31:37 +00:00
Jonathan Gordon
bb79c599d6 fix charcell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24848 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:25:13 +00:00
Jonathan Gordon
e6b202ed67 do r24817 betterer to make it more generic and stuff. Skins will always be in the .rockbox/wps/ dir so there is no real need to add lots of duplicated logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24847 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:19:42 +00:00
Teruaki Kawashima
56d29e8977 some changes to use of display_text.
* add parameter, wait_key to display_text().
 - set this true to wait button press after all words is displayed.
* use ARRAYLEN macro instead of #define WORDS
* add macro to indicate end of style array.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24846 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:17:15 +00:00
Jonathan Gordon
04067fd7a0 fix remote WPS loading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24845 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:05:16 +00:00
Teruaki Kawashima
d151371836 correct checking size in function get_image_filename.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24844 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 06:00:49 +00:00
Rafaël Carré
c36a644cc6 mkamsboot: use version.sh properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24843 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 05:41:09 +00:00
Rafaël Carré
c2c01ac34c Clip+ boots with iram mapped at 0x0, only the clipv2 is different
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24842 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 05:41:05 +00:00
Teruaki Kawashima
f11fd781d4 fix typo of wps and sbs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24841 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 05:16:11 +00:00
Rafaël Carré
31eda59720 as3525v2: build normal firmware properly (Clipv2/+)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:58 +00:00
Rafaël Carré
054253ab33 as3525v2: core_sleep()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24839 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:50 +00:00
Rafaël Carré
a012b185ac sd-as3525v2: working transfers, still awfully slow
not touching MCI_CTYPE (leaving bus width to 1) gives data transfers
ignore the hardware locked up while error bit for now
remove printf() helper & debug code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24838 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:46 +00:00
Rafaël Carré
1ae6307a5a sd-as3525v2: panic in case of error in the isr
Disable errors on response timeout since it can happen on SD_SEND_IF_COND
Disable errors on start bit error : it's ignored by the linux driver

No panic on my side with those 2 bits unchecked, but no transfer
completion either.
Note: the Linux driver doesn't implement DMA

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24837 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:49:57 +00:00
Rafaël Carré
c6af5c962d sd-as3525v2: describe interrupt mask bits
Reset DMA before transfers and check data transfer over bit in isr
Still no error or data transfer over conditions

Read the correct status register in isr : there is a masked interrupt
status register and a general status register

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24836 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:49:53 +00:00
Amaury Pouly
4832c3ce42 Fix a dircache NULL-pointer dereference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24835 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:48:54 +00:00
Andree Buschmann
28bc321dbb Remove CLIP_TO_15 from codeclib. Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24834 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:05:48 +00:00
Frank Gevaerts
84a4a1d5cc statusbar_position should also return enum statusbar_values if it's a macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24833 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:05:32 +00:00
Rafaël Carré
e9cd0f1c7a sd-as3525v2: no limits on the amount of sectors to transfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24832 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 22:01:37 +00:00