Jens Arnold
f4c5c6aa62
Fix bootloaders, and the backlight-modded Ondio build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 19:19:38 +00:00
Jens Arnold
ef12b3b5c6
Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 18:49:53 +00:00
Nicolas Pennequin
8537cbf091
Add detection for a previously ignored error case: a conditional token is present but no conditional start token (e.g. "%?C%al|>"). This would cause an inifnite loop in the displaying code. Thanks to markun for making the mistake and reporting it ;)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15598 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 18:43:38 +00:00
Nicolas Pennequin
87e5b1193c
The error checking for bitmap handling in bufopen was serioulsy broken, as loading a huge bitmap showed. Fix it and reorganise the code slightly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15597 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 15:16:41 +00:00
Nicolas Pennequin
1480d078e7
Add an error check, just to be safe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15596 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 14:26:47 +00:00
Robert Kukla
e1c45d227b
FS#6944 - honour the default codepage setting when reading cue sheets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15595 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 12:39:56 +00:00
Robert Kukla
1ba1c684cb
Fix FS#8138 - Gigabeat clock time is lost at midnight on Saturdays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15594 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 11:46:27 +00:00
Michael Sevakis
d970c3d054
Portal player i2c driver: More struct spinlock phaseout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15593 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 07:58:54 +00:00
Nicolas Pennequin
81dedee7d0
Various album art improvements:
...
* Make the album art display tag static instead of dynamic, making it be drawn less often, which is good.
* Add the possibility of clearing the album art bitmap instead of drawing it, and use this abaility when the display tag is inside a conditional construct.
* Add the album art display tag to wps_debug.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15592 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 01:31:42 +00:00
Nicolas Pennequin
4963925767
Fix another NULL pointer dereference crash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15591 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 00:17:55 +00:00
Barry Wardell
93b021b7f6
Hopefully fix line-in recording on PortalPlayer targets (H10 in particular).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15590 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 23:41:54 +00:00
Magnus Holmgren
56b8e99c10
When unpacking a 16-bit color value to 24 bits, repeat the high bits of each component rather than the low bits. This makes the RGB value displayed in the color picker (and in settings files) more accurate. E.g., when using the reported color in a background, it will no longer be dithered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15589 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:31:38 +00:00
Nicolas Pennequin
e71bc67d94
Fix an issue that appeared in r15577, where skipping back to a track that has no audio data left, but still has its metadata and album art, would fail. The fix is to also clear the filesize member (as it should have been previously) to force a rebuffer when skipping back. To prevent the album art bitmap from flashing on the back skip, the whole track info struct is cleared when the track isn't needed anymore, i.e. after the PCM track change.
...
Also a slightly unrelated but trivial change: only load album art if it's not already loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15588 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:27:18 +00:00
Karl Kurbjun
be1283dbac
Fix M:Robe define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15587 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:07:17 +00:00
Karl Kurbjun
69b678e154
Fix bootloader build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15586 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 21:06:34 +00:00
Nicolas Pennequin
5cfd27a9cd
Revert Karl's r15581, r15582 and r15583 because they caused serious problems on the Gigabeat (can't load plugins or codecs).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15585 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 20:50:44 +00:00
Nicolas Pennequin
95db8f8022
Load the album art before the codec because find_albumart would yield to the codec, which would start requesting data before the audio handle is ready.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15584 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 20:09:13 +00:00
Karl Kurbjun
da293caa16
Fix an error in the calculation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15583 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:24:32 +00:00
Karl Kurbjun
4d75f03e0c
Add a comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15582 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:17:16 +00:00
Karl Kurbjun
1b3dac9042
Setup the gigabeat so that iram is faked in a different spot since the normal iram location does not seem to be working. This lays the groundwork to get rolo running.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15581 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:13:09 +00:00
Michael Sevakis
6e36ac547c
H10: Touch-up the audio source switching a bit. Actually fix my earlier errors when enabling recording from Line/FM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15580 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:11:23 +00:00
Karl Kurbjun
31ea780ee0
Seperate the Gigabeat F/X crt0.s, cleanup some #ifdefs in app.lds, add an extra reg to the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15579 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 17:58:13 +00:00
Barry Wardell
c495cdae59
FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing the hard work in figuring out how to communicate with the tuner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 16:00:33 +00:00
Nicolas Pennequin
496027d8bb
* Make the album art be updated on PCM track change, not codec track change (changes in audio_current_aa_hid).
...
* On codec track change, if not all the audio data is present, only get rid of the audio data and not all the track's handles. This will prevent alum art from disappearing on codec track change after resuming playback (changes in audio_check_new_track).
* Add audio_finalise_track_change() to handle what happens after the PCM track change (no functional change here).
* Add some comments about how the track transition works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15577 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 15:50:52 +00:00
Nicolas Pennequin
5e0e2391ff
Really fix red this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15576 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 13:28:24 +00:00
Nicolas Pennequin
a384fb6d8a
Fix red on the iFP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15575 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 13:15:36 +00:00
Nicolas Pennequin
e373ee859a
Set svn:keywords.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15574 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:57:52 +00:00
Nicolas Pennequin
cf37f4c079
Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15573 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:52:07 +00:00
Nicolas Pennequin
9d4bed7ff0
Album art support. Based on FS#3045, but heavily modified to adapt to MoB and for cleanness.
...
The cover pictures are loaded from external bitmaps. JPEG and embedded art are not supported. The pictures will only be drawn on the main display. There is no resizing but it is possible to specify the WPS bitmap size in the bitmap names (e.g. cover.100x100.bmp).
The bitmaps are stored in the main buffer and read directly from there. Currently, duplicate bitmaps will simply be present several times in the buffer, but this will be improved.
To enable for a target, #define HAVE_ALBUMART in its config file.
For more information, see the wiki page: http://www.rockbox.org/wiki/AlbumArt .
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15572 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:29:37 +00:00
Dave Chapman
f34720b163
Add James Espinoza for his work on the Gigabeat S port - he should have been added earlier
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15571 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:09:13 +00:00
Dave Chapman
fe16efdd0c
Initial version of mknkboot - a utility to replace "merge0.cpp" to insert a Rockbox bootloader into a Gigabeat-S nk.bin firmware update image. This was rewritten from scratch, but has been tested to produce output files identical to merge0.cpp.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15570 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:08:06 +00:00
Jens Arnold
b9f62e991d
Output both error number and description. * Another try to get svn:keywords right.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15569 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 08:44:48 +00:00
Jens Arnold
69f0da7b40
Add error handling to the vbscript's EXEC method, so we get more meaningful info if a required command like 'lame' is missing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15568 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 08:31:37 +00:00
Jonathan Gordon
28dfb54eeb
change the SCREEN_ROTATE define to be more meaningful, and set the mr500 orientation to landscape by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15567 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 04:48:33 +00:00
Karl Kurbjun
59a2862347
Show some more registers in the debug screen, fix the touchscreen when SCREEN_ROTATE is set.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15566 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 03:31:24 +00:00
Jonathan Gordon
50a8308ded
fix fs#8131 - if --debugwps is used with the sim, the mouse coordinates will be displayed in the console when it is clicked
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15565 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:50:18 +00:00
Nils Wallménius
d430955e15
Add gigabeat S files to FILES and sort entries under target/arm
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15564 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:17:39 +00:00
Nils Wallménius
0fd4c2e455
Rearrange logic in the synthVoice loop to do less tests and remove need of a struct member for a small speedup, move some memory lookups out of the loop for a small speedup, further cosmetic changes to the synthVoice function. Change isUsed to a bool for clearer logic and also a tiny speedup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15563 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:02:45 +00:00
Karl Kurbjun
d185f9eba8
Fix the Gigabeat red and move it's hw specific code into the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15562 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 23:13:27 +00:00
Karl Kurbjun
0082da7515
Add some forgotten files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15561 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:16:15 +00:00
Karl Kurbjun
d3c0a7f169
Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Dave Chapman
a5e4cc9e68
Document how to use tcctool in Windows, and include the appropriate .inf file for use with the libusb-win32 device driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15559 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 20:26:54 +00:00
Barry Wardell
0d8111cb39
Split radio i2c drivers into target tree where they belong. No changes to binaries produced.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15558 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 19:14:01 +00:00
Nicolas Pennequin
a677678e31
Fix a possible NULL pointer dereference I introduced in r15503 by making an unwise assumption. This would cause crashes on track skip in certain (very unlikely, I think) situations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15557 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 18:22:55 +00:00
Thom Johansen
a953e65dbd
Remove C++ style comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15556 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 15:43:40 +00:00
Nils Wallménius
d941ae242d
Improved font installation instructions by Alex Parker
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15555 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 15:31:56 +00:00
Thom Johansen
1730e406ed
Strip out a large unneeded portion of the Speex stereo decoding function, and port the rest of it to fixed point. Disable the unneeded stereo float decoding function. Correct the output buffer size and change some minor syntactic stuff in speex.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15554 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 14:57:49 +00:00
Nicolas Pennequin
ec6569ed22
Add read_bmp_fd and make the first parameter of read_bmp_file ("filename") const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15553 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 13:26:11 +00:00
Thom Johansen
d3ba403f60
Forgot these.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15552 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 01:30:52 +00:00
Thom Johansen
f32b7748dd
Remove unneeded file from SOURCES and partial SVN sync.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15551 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 01:26:21 +00:00