Commit graph

24343 commits

Author SHA1 Message Date
Rafaël Carré
0f951b1de8 Fuzev2: use RGB565SWAPPED (pointed out by amiconn) => 91fps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25478 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 07:10:01 +00:00
Rafaël Carré
5b8aca84dc Fuzev2: don't reinvent the wheel: swap pixels with existing swap_odd_even32
It is equally fast and doesn't need an additional mask
Thanks to amiconn for pointing to it

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25477 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 06:35:23 +00:00
Rafaël Carré
69186f6f85 Fuzev2: write pixel swapping in assembly for a some speed up
Unboosted: 73 fps -> 87.5 fps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25476 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 05:41:51 +00:00
Rafaël Carré
7a90aa40c6 as3525v2: set PCLK correctly
PCLK doesn't use PLLA as a source but FCLK, so when changing FCLK with
CGU_PROC register, we must change PCLK as well with CGU_PERI register

Operate with 24MHz PCLK (and unboosted FCLK) for Clipv2/Clip+
Use 60MHz on Fuzev2 to keep the display fast enough (still slower than
Fuzev1 though)

µSD seems to function correctly now

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25475 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 04:48:43 +00:00
Rafaël Carré
0eb888b23a test_mem: fix r25464: button_get() can't be used with actions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25474 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 04:48:38 +00:00
Jeffrey Goode
b34fa9ed0e Fix capitalization in hotkey dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25473 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 01:20:57 +00:00
Michael Chicoine
5688dfcc80 Fix Clip keymap (manual) so that Clipv2 and Clip+ manuals build properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25472 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 23:45:34 +00:00
Dominik Riebeling
fa84c2fdbf Try to detect Wine.
Make the Windoes binary try to detect if it's running under Wine. Display a
warning if so, as Rockbox Utility is likely to fail in all kind of strange ways
when running on Wine. We do provide Linux binaries, so it's not even a good
idea to try running under Wine at all.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25471 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 21:08:17 +00:00
Marianne Arnold
c9532a2e30 Remove the Recorders and Players opt around the A-B part of the repeat mode tag because all targets can use A-B repeat now (and show this in the WPS).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25469 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 13:58:52 +00:00
Marianne Arnold
54e8e8c11c Refine the file formats table which explains what plugins are used to open which files so that the table is only included in manuals of targets which have the plugin...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25468 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 13:56:59 +00:00
Marianne Arnold
8fa6c881ec Cleanup goban.tex. My main goal was to get the button table code into a readable state - following the structure I suggested on ManualGuidelinesTalk. Put closing } on their own lines if they are around other (nested) opts or nopts, indented the same as the opening (n)opt. Also replacing the 'emph' used for the submenus with 'item' as well for consistency which also makes it possible to get rid of the forced linebreak.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25467 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 13:52:36 +00:00
Alexander Levin
6d4d736123 Make the displayed hotkey settings scroll (fix FS#11170)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25466 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 08:32:37 +00:00
Andree Buschmann
dc19fb37d5 Make test_mem.c and test_boost.c compilable on targets without BUTTON_UP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25464 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 23:14:25 +00:00
Frank Gevaerts
f8811835e0 use THREAD_ID_CURRENT instead of thread_get_current()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:43:36 +00:00
Rafaël Carré
6cbbd1a756 Clipv2: read hold switch correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25462 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:33:47 +00:00
Frank Gevaerts
2dbafc1086 Fix some forgotten storage_(read|write)_sectors() calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25461 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:18:16 +00:00
Frank Gevaerts
e07909a9c1 Don't define HAVE_IO_PRIORITY for the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25460 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:10:32 +00:00
Frank Gevaerts
376d8d577f Add IO priority handling. Currently all IO has equal priority, except the dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster.
Lots of the changes are due to changing storage_(read|write)sectors() from macros to wrapper functions. This means that they have to be called with IF_MD2(drive,) again.

Flyspray: FS#11167
Author: Frank Gevaerts


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25459 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:02:09 +00:00
Alexander Levin
ba7501513a No need to call the same function twice
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25458 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 21:28:19 +00:00
Alexander Levin
8802482e3e Make hotkey strings (question and confirmation) better localizable (FS#11171)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25457 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 20:59:35 +00:00
Rafaël Carré
e1a1df69fc Clipv2: fix grey lcd output
We can write to DBOP_DOUT in 8 bits mode : bits 7..0 are mapped to the
LCD, not bits 15..12 and 3..0 like on Clipv1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25455 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 17:10:44 +00:00
Alexander Levin
27f29904ec Restore wrongly deleted text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25454 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:25:10 +00:00
Alexander Levin
15e6d79f38 Small cosmetic changes to the hotkey description
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25453 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:20:49 +00:00
Thomas Martitz
c4c45b3f9e Move delta calculation up so that only the loop time counts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25452 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:14:23 +00:00
Alexander Levin
1cf1600b43 Properly set the keywords for the recently added file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25451 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:06:28 +00:00
Thomas Martitz
ef0cc085ad Memory benchmark plugin. Tests memory speeds and prints the kB/s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25450 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 14:04:50 +00:00
Rafaël Carré
83ffe43395 Clipv2: enable USB stack (and use correct product ID)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25449 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 09:45:46 +00:00
Rafaël Carré
40849cbeb0 Clipv2/Clip+: lower DEFAULT/NORMAL frequency from 60MHz to 24MHz
1 more hour of battery life measured on Clip+ : 16h30 with mp3 @192kbps
Fuzev2 frequency isn't changed because the scrollwheel is less
responsive below 60MHz

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25448 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 07:48:59 +00:00
Rafaël Carré
1c67444ed3 Clipv2: reboot to OF when USB is inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25447 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 05:45:44 +00:00
Rafaël Carré
722be53bf9 as3525v2: acknowledge USB connection/deconnection in SD thread
Fuzev2: detect USB connection and reboot to OF

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25446 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 05:42:54 +00:00
Rafaël Carré
d3bad5b1ca as3525v2: disable interrupts when writing to the PMU registers
Brightness changes on the Fuzev2 now work flawlessly
This might also explain why my Clip+ would sometimes "not boot", that
could have been because the backlight was not enabled at all.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25445 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 04:42:04 +00:00
Nils Wallménius
cfd245e527 'floor 0' files requiríng too much memory should no longer crash since the longjmp stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25444 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 03:37:27 +00:00
Jeffrey Goode
6a55b2307d Manual update for hotkeys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25443 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 23:37:07 +00:00
Dominik Riebeling
1cc1f4ee77 System Info: display OS X version number and architecture too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25442 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 21:32:51 +00:00
Dominik Riebeling
9fedc8187f Move utils.cpp functions into separate class and split it up.
Move class-less functions in utils.cpp into a new Utils class and make the old
functions static. This prevents clashes with system C functions. Rename some
functions to avoid macro problems (check() is a macro on OS X). Split out the
RockboxInfo class into a separate file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25441 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 21:24:19 +00:00
Jeffrey Goode
c5d9516a68 Manual update for keymaps, hotkeys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25440 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 20:11:11 +00:00
Dominik Riebeling
b470303311 Implement system proxy values retrieval on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25439 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 19:22:32 +00:00
Rafaël Carré
7a994c84c3 Only build alarm_menu.c if needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25438 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 17:35:29 +00:00
Tomer Shalev
910ce55a41 Manual: Document new 'alignment' option in text viewer, and remove now obsolete limitation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25437 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 16:45:33 +00:00
Torne Wuff
4e5f948049 Change bootchart to be "c" in configure, instead of "b" which clashes with the ondio backlight mod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25436 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 14:19:22 +00:00
Dominik Riebeling
98493fd398 Warn when selecting system proxy settings with invalid values.
Rockbox Utility doesn't support "proxy auto-config" (aka PAC) for system proxy
settings. This can result in users selecting system proxy and expecting it to
work even if their system uses PAC. While the configuration dialog displays the
proxy setting values retrieved from the system this is not totally obvious. Add
a message telling if the retrieved system proxy values are not useable. For now
this only checks if a proxy host and port are set which should catch the usual
cases when PAC is used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25435 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 10:59:38 +00:00
Jeffrey Goode
e53ede9b2b Fix someone elses yellow and red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25434 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 01:41:51 +00:00
Jeffrey Goode
ce6ec7fef8 Switch on hotkey on several targets. Stole the WPS Show Track Info key for most of them. Made up a free key for the rest.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25433 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 01:24:24 +00:00
Dominik Riebeling
d6543b71af Fix leaking file descriptors on error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25431 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 22:06:52 +00:00
Dominik Riebeling
0d6828e064 Fix multiple warnings when network is unreachable.
Don't listen to requestFinished() signals for background downloads. The
only information needed is the done() signal. Fixes multiple error
messages popping up on unreachable network.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25430 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 22:06:49 +00:00
Thomas Martitz
44e4839366 Fix test_boost boost handling. Also show the number of loops per second.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25429 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 17:50:36 +00:00
Rafaël Carré
eef7f343c2 Clip+: remove button_hold() : we use software hold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25428 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 17:24:14 +00:00
Rafaël Carré
2831acd538 fuzev2: enable plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25427 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 17:19:48 +00:00
Torne Wuff
52e528e057 Boot charting support.
Select (B)ootchart in advanced options in configure, and logf will record timings for various stages of boot, for performance comparisons. Format logged is:
BC:>function_name,123,80
where 123 is the line number, 80 is the number of ticks since boot. This can be loaded as CSV into a spreadsheet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25426 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 16:27:21 +00:00
Thomas Martitz
f376fd2f4a Fuzev2: Scrollwheel works like a charm :)
Move scrollwheel parsing function into separate file as it's reused.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25425 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 16:07:56 +00:00