Tomer Shalev
8b904e2bb4
Text viewer: Replace macros with inline functions (which are about to be extended in the following commits)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25514 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:19:55 +00:00
Tomer Shalev
885863571f
Text viewer: Use exact width for lcd_fillrect (no actuall change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25513 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:15:24 +00:00
Tomer Shalev
c8ab419ed7
Text viewer: Make global variables static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:12:20 +00:00
Tomer Shalev
c56d2b50b3
Text viewer: Fix limit calculation in col_limit() which maximizes overlapping in wide mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25511 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:11:09 +00:00
Tomer Shalev
eeb0c088fe
Text viewer: Fix possible memory corruption
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25510 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:06:32 +00:00
Tomer Shalev
1709d72eb4
Text viewer: Documentation and code cosmetics (no functional changes)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25509 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 17:04:30 +00:00
Michael Sevakis
4e8704c387
Gigabeat S: Extend the upper temperature range for battery charging to 50C: OK and 45C: Resume. Currently extended disk activity can cause it to detect overtemp which doesn't quite seem correct. Add macros for the range so that they may be target-specific.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25508 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 06:26:18 +00:00
Jack Halpin
f25f17c5b6
sd-as3525v2: Set SD FIFO TX/RX watermarks once in init_controller() and leave them alone after that.
...
We only use DMA transfers so we should not need to change/reset the FIFO configuration.
Also add comment showing what we set as the TX/RX watermarks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25507 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 05:47:12 +00:00
Michael Sevakis
87eea33def
Gigabeat S (imx31): Begin voltage and frequency scaling code. For now, to avoid overdrive voltage, just lower core voltage to 1.35V since voltage scaling shouldn't be required for frequencies lower than 399 MHz (according to Freescale BSP, which set all working points to 1.35V for those frequencies). Perhaps battery life will improve as well (cross fingers :).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25506 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 03:43:48 +00:00
Tobias Diedrich
48789c5361
Remove vim option line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25505 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 03:27:23 +00:00
Torne Wuff
59463ba1e9
Fix typo in a bootchart message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25504 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 23:07:18 +00:00
Jeffrey Goode
bec9232857
Another small bookmark.c revision, no functional change, saves bin size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25503 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 22:49:06 +00:00
Jeffrey Goode
b2ba11201f
Bookmark.c cleanup, still no functional changes... yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25502 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 21:49:33 +00:00
Bertrik Sikken
ede9991649
Slovak language update
...
Flyspray: FS #11174
Author: Peter Lecký
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25501 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 20:20:47 +00:00
Bertrik Sikken
a9ffcb3516
Make array static const in apps/recorder/jpeg_load.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25500 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 19:37:41 +00:00
Tobias Diedrich
ea907b31ae
Detect C200v2 variant by reading A7, use A5 or A7 to control backlight and buttonlight depending on the result.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25499 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 18:32:47 +00:00
Jack Halpin
36c16ea05d
Sansa AMS: Split set_cpu_frequency() into 2 separate functions for as3525v1/v2 as the code is quite different for each model.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25498 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 17:22:57 +00:00
Jack Halpin
48477f06bf
AS3525v2: Set XPD to SD-MMC interface in sd_init() for HAVE_MULTIDRIVE.
...
XPD was being switched between SD-MMC interface and general i/o functions in the sd_enable() function similar to as3525v1.
Since the as3525v2's do not seem to use XPD as general i/o there's no need to switch it back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25497 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 17:22:51 +00:00
Jack Halpin
c0e416b1ff
SansaAMS: Only use INT_MCIO with as3525v1, it is unused in as3525v2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25496 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 17:22:45 +00:00
Rafaël Carré
e7dcec5dde
Revert unrelated part of r25491 : fuzev1 init code works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25495 a1c6a512-1295-4272-9138-f99709370657
2010-04-06 10:21:58 +00:00
Jeffrey Goode
7209c5d95c
Restructure some bookmarking code, preparatory to adding version info to bookmarks. Saves some bin size as a bonus. No functional changes yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25494 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 20:53:04 +00:00
Maurus Cuelenaere
371c330196
Add simple bootchart -> gnuplot shell script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25493 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:58:51 +00:00
Thomas Martitz
3f6e5668b3
Revert part of r25489 as it didn't fix the problem, that the CPU frequency debug screen shows the wrong frequency after boot, properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25492 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:20:56 +00:00
Thomas Martitz
02afc271c9
as3525v2: Move codec into iram freeing 1MB for the audio buffer and also a small decoding speedup (iram seems to be 50% faster than dram when boosted and the same when unboosed). 32k is still reserved for the core and can be readjusted if needed. Codecs don't appear to ever need the 1MB (usually <350k only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25491 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:18:15 +00:00
Thomas Martitz
527a2e64ab
Correct comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25490 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:11:50 +00:00
Thomas Martitz
2149199b90
Fuzev2: Use 40MHz as unboosted frequency. The lcd speed and ui responsiveness is good at this freq.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25489 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:09:51 +00:00
Thomas Martitz
c06a23da79
Add T for plugins to the advanced build options to build all test_* plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25488 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:09:47 +00:00
Jens Arnold
b012671acb
Set options so that the sim actually builds on Opensolaris. The build still throws hundreds of warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25487 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 16:07:39 +00:00
Jens Arnold
db2f0edfa9
Improve SDL detection, so that path order doesn't matter if both native SDL and cross-mingw32 SDL are present. Reduce code duplication as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25486 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 15:47:12 +00:00
Rafaël Carré
59dbdabb71
as3525v2: show the correct freqs in debug menu, CGU_PERI uses fclk as source
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25485 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 15:22:36 +00:00
Thomas Martitz
e4cda5ff2c
Fix yellow. Another function unneeded in the bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25484 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:23:30 +00:00
Thomas Martitz
ae69e92008
as2525(v2): We don't need yuv blitting/greylib support in the bootloader so don't compile it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25483 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:17:11 +00:00
Thomas Martitz
20003ec1c0
Add forgotten file (git was supposed to rename!).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25482 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:02:56 +00:00
Thomas Martitz
446a67698f
Fuzev2: Reduce code duplication by reusing Fuzev1 code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25481 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:01:44 +00:00
Andree Buschmann
95b03d2974
test_boost: fix r25464: button_get() can't be used with actions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25480 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 10:08:00 +00:00
Rafaël Carré
eefdd430f1
Fuzev2: YUV output adapted from Fuzev1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25479 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 07:47:31 +00:00
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