Commit graph

19584 commits

Author SHA1 Message Date
Michael Sevakis
e1e8101837 Gigabeat S: Place SDMA code load address starting in uninitialized section address and copy it to the plugin buffer since it only needed very early in initialization. Will save about 6K in RAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19963 a1c6a512-1295-4272-9138-f99709370657
2009-02-10 11:34:15 +00:00
Michael Sevakis
ca07873607 Gigabeat F/X/S do not need '-mlong-calls' since they do not use IRAM for code which will save a good bit of bin size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19962 a1c6a512-1295-4272-9138-f99709370657
2009-02-10 09:27:20 +00:00
Jens Arnold
0358d9b382 Simulate backlight for colour targets. Implements the idea from FS #9884, but uses SDL alpha blending. Display is dimmed to 1/3 for targets with transflective LCD, and set to black for others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19961 a1c6a512-1295-4272-9138-f99709370657
2009-02-10 01:23:18 +00:00
Jens Arnold
abc3edcb95 GCC suggests parentheses so give it some (aka fix yellow).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19960 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 23:48:58 +00:00
Jens Arnold
309a3c4590 More compact screendump routines for core and greylib. The core routine might be a little slower for vertically packed mono and greyscale displays, the greylib one should be faster in all cases. * Reduce stack usage of greyscale screendump on the Clip* Rename a macro in the bitmap LCD simulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19959 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 23:34:44 +00:00
Marianne Arnold
a12c2d59ad Xobox - clear display for all. Fixes problem on colour screens with one or both dimensions not being a multiple of 8 (e.g. the Nano's screen height) where parts of the statusbar or background image stayed on screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19958 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 23:21:35 +00:00
Daniel Stenberg
dca7d391f1 make sure plugin.lds is not processed when building sims since it isn't used for anything then!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19957 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 18:31:56 +00:00
Daniel Stenberg
1f3d667b1a do the #error for unknown CPU in the cases we're not building a sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19956 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 16:18:07 +00:00
Daniel Stenberg
293ca3eaad don't do #error if no CPU define was found since we don't set it on simulator
builds!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19955 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 15:56:01 +00:00
Maurus Cuelenaere
04c7379ac5 Onda VX747: commit some parts to get apps/ to compile (more will follow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 10:02:38 +00:00
Michael Sevakis
f7a06dd6fc Gigabeat S: Try to save some power. Implement lcd_enable and turn off LCD DMA channel when backlight is off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19953 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 07:01:46 +00:00
Michael Sevakis
9f5687c9e6 Gigabeat S: The PCM lockout routines needed a bit of polishing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19952 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 03:13:04 +00:00
Jens Arnold
305d86d045 Fix red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19951 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 00:47:20 +00:00
Jens Arnold
0d935ce75e Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 00:32:59 +00:00
Michael Sevakis
94537f954e Gigabeat S: Implement an SDMA API and use it in the PCM driver. Some other miscellaneous adjustments to recording and PCM buffer to accomodate use of physical addresses and cache coherency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19949 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:32:41 +00:00
Andrew Mahone
0222d0a5eb align frontmost edge of slides with plane of display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19948 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:17:21 +00:00
Andrew Mahone
c02e469bbb simplify zo calculation a bit, "zoom" the center margin value and add term for zo to offset calculation, so that margins are still correct when zooming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19947 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:17:15 +00:00
Michael Giacomelli
755ddc9fc2 Commit fix suggested by Siaoru Lee in FS#9776. Fixes a bug in our ASF parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19946 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:05:15 +00:00
Andrew Mahone
f9b7572c1b extract LIBMTP_VERSION from header, and use that to set -DOLDMTP when building sendfirm, rather than trying to build each way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19945 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 16:59:06 +00:00
Nils Wallménius
040bb7a8f5 Oops, fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19944 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 11:28:54 +00:00
Nils Wallménius
5a55772201 Small code reuse improvement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19943 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 11:09:55 +00:00
Andrew Mahone
eda5ed0624 rewrite of pictureflow renderer with 3D projection, this will allow many possible tweaks in the future, such as moving only the center slide "closer", changing the angle of side slides, etc, while
keeping the same meaning for the center margin and spacing settings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19942 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 22:18:26 +00:00
Nils Wallménius
ef726cee67 Fix compilation of sendfirm with 0.3.x versions of libmtp and keep a (hacky) fallback for building with the older 0.2.x also fix a pair of 64 bit warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19941 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 21:00:18 +00:00
Frank Gevaerts
7ae9c8d5ce Fix building of tools/database/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19940 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 19:59:51 +00:00
Dominik Riebeling
af58ec63b6 Display cache path using native directory separators in configuration dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19939 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 15:59:20 +00:00
Maurus Cuelenaere
c33209e1b9 Add optional logf display helper function for bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19938 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 13:52:03 +00:00
Maurus Cuelenaere
3f109f595c Onda VX747: enable USB in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19937 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 11:25:35 +00:00
Bertrik Sikken
3c7e299cf3 Simplify conditions for including serial port support (it's now HAVE_SERIAL). This should save a little binsize and RAM for target that don't have/use a serial port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19936 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 11:15:30 +00:00
Michael Sevakis
4d3a020f27 Gigabeat S: Move the LCD framebuffer address so that DRAM can be mapped flat between physical and virtual addresses. NO BOOTLOADER UPDATE SHOULD BE NEEDED. The firmware image now handles low-level system setup as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19935 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 10:09:13 +00:00
Robert Menes
f747d9d39e Fix English usage in Appendix E.2.2; thanks to the sharp eyes
of Nick Sant (evilnick).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19934 a1c6a512-1295-4272-9138-f99709370657
2009-02-06 17:13:32 +00:00
Andrew Mahone
79c25649b7 use a table-free clz on coldfire, where it benchmarks a bit faster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19933 a1c6a512-1295-4272-9138-f99709370657
2009-02-06 05:43:00 +00:00
Maurus Cuelenaere
a7738a3526 Fix red and yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19932 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 22:03:35 +00:00
Maurus Cuelenaere
ee1e8be37f Creative ZVM:
* Re-enable USB
 * Acknowledge EP0SETUP packets
 * Spin disk down when no files get loaded in the bootloader
 * Clean up/fix some other stuff


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19931 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 21:47:54 +00:00
Maurus Cuelenaere
e1aee31878 Fix MIPS ffs implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19930 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 21:36:11 +00:00
Bertrik Sikken
e3927102ba Enable radio for sansa m200v4.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19929 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 20:23:37 +00:00
Michael Sevakis
4c2909c917 Gigabeat S: Fix the Yes/No screen 'Yes' buttons. r19909 got them wrong and broke the main one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19928 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 20:00:29 +00:00
Bertrik Sikken
ea7f143096 FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 input that carries the analog radio signal on ams sansas.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19927 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 19:57:18 +00:00
Thomas Martitz
d8662489dc Fix FS#2533, apple appearing late in the snake plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19926 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 14:22:04 +00:00
Jonathan Gordon
6db3aace59 Fix a wrong check in lamp, spotted by DerPapst
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19925 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 02:47:15 +00:00
Thomas Martitz
dd13730112 Minor quickscreen and pitchscreen fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19924 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 00:14:52 +00:00
Maurus Cuelenaere
e8da447729 Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators under Windows using MingW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 20:59:27 +00:00
Maurus Cuelenaere
b0a3a563a1 MIPS memset: use a bigger buffer (yields more performance)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19922 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 20:18:30 +00:00
Maurus Cuelenaere
d5827d5f9a MIPS:
* Add missing mmu-mips.h change

Onda VX747:
 * Correct USB power handling
 * Improve NAND handling
 * Other minor fixes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19921 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 17:37:05 +00:00
Maurus Cuelenaere
9b13a5d151 MIPS:
* Add assembly optimised variants for memcpy, memset and find_first_set_bit
 * Add option to map_address in MMU to set caching algorithm


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19920 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 17:33:19 +00:00
Nils Wallménius
01bd736e00 Fixes and tweaks for the 'Advanced topics' chapter of the manual, closes FS#9806
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19919 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 14:22:35 +00:00
Jonathan Gordon
3f879eb6ae fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19918 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 05:22:03 +00:00
Jonathan Gordon
08e3ebbf8c Temp fix for the statusbar disappearing for a fraction of a second when the WPS is first opened
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19917 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 04:49:43 +00:00
Antonius Hellmann
0852527d5f Hopefully fixes the 'two byte inserted bug' of #FS8663. Combination of Martin Ritters and my findings on the issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19911 a1c6a512-1295-4272-9138-f99709370657
2009-02-03 20:21:02 +00:00
Michael Sevakis
3cf148945e Remove struct spinlock to cleanup some mess and simplify. It's only used in boosting for multiprocesors and a pure two-corelock heirarchy will do just fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19910 a1c6a512-1295-4272-9138-f99709370657
2009-02-03 12:16:45 +00:00
Michael Sevakis
e2a169bce5 Gigabeat S: Get remote keymaps up to snuff and working. Do a couple tweaks on main unit ones. Cleanup keymap file a bit. Fix main button scanner to not clobber remote button. Fix a bug in actions.c where 'LAST_ITEM_IN_LIST' didn't really terminate scanning immediately. It would do an additional call into get_context_map and silently pick up ACTION_STD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19909 a1c6a512-1295-4272-9138-f99709370657
2009-02-03 10:55:30 +00:00