Commit graph

16814 commits

Author SHA1 Message Date
Rob Purchase
9b691d335a Split out the PCF5060x register defines into a common header and create a generic pcf50606.c using standard i2c read/writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16966 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 20:24:08 +00:00
Jens Arnold
ac9b92716a Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:38:46 +00:00
Jens Arnold
3183b9e534 Greyscale library: Put the backlight status on 1st/2nd Gen into the flags, saving a separate global.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16964 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:14:19 +00:00
Robert Kukla
1b335ae961 pegbox stuff
- background colour fix for small colour targets
- button define fixes (no scroll wheel on ipod, no impossible combinations etc)
- collapsed two defines into one for easier assignment and documentation
- make levels wrap and make level-1 optional (for targets with few buttons)
- updated manual accordingly
- a couple more screenshots


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16963 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 17:54:29 +00:00
Jens Arnold
8399749412 1st/2nd Gen: Backlight inversion needs to be protected from interrupts, because it can happen any time, even while the greyscale lib or something else is writing to the LCD from an ISR. Also make backlight inversion only hit the LCD if necessary. * Use register definition in the 1st..3rd Gen backlight drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16962 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 17:33:39 +00:00
Dave Chapman
aa9dbfef19 Add a comment to clarify how the WPS image buffer size is calculated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16961 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 12:32:37 +00:00
Robert Kukla
fc89f233c7 maybe that wasn't such a good idea
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16960 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 00:48:28 +00:00
Robert Kukla
f6f0c2f293 fixing red:
- add button defines for M3 & D2
- make screen dimension checking more strict in places
- correct button names
I'll have to think a bit about the best solution for ONDIO (and probably other) button combinations...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16959 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 00:33:59 +00:00
Dominik Riebeling
5f5dca72a9 Make USB ID handling recognize multiple values in the configuration. That way players using multiple PIDs can now get detected by any valid PID. Same applies to PIDs indicating a wrong player model.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16958 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 23:14:58 +00:00
Robert Kukla
b411ce677d FS#5725 - New Puzzle Game "PegBox"; with changes by myself:
- button definitions for m:robe 100 and sansa c200
- adapted graphics for m:robe 100
- use image size directly from auto-generated headers
- save data files in correct directory
- manual chapter (still missing most screenshots)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16957 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 22:43:39 +00:00
Jens Arnold
fbfe6d6674 Fix the PP5002 interrupt controller register definitions. The PP5002 interrupt controller matches the first half of the PP502x interrupt controller (the actual interrupt bits are different though).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16956 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 21:48:41 +00:00
Nicolas Pennequin
fe9eb68ec0 Fix FS#8513 (Playback occasionally repeats a track when rebuffering occurs) and hopefully others by essentially reverting r16019, parts of r16425 and most bugfix followups. This means we're back to having a desynchronized playlist index in the WPS. audio_check_new_track() needs a serious rework before we can make improvements in that area without breaking things.
playlist_checkend() isn't used anymore but I'm not removing it for now because it might prove useful later on.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16955 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 21:40:07 +00:00
Daniel Stenberg
6118a54aa2 welcome Bertrik!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16954 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 21:11:35 +00:00
Marianne Arnold
23f90373a1 Cleanup the next WPS bitmap directory by using bitmap strips for the 'ipodVOL' theme which is only made for targets with a 160x128 screen... This also adds a missing repeat icon, integrates the statically displayed vol.bmp into the already full screen sized background picture so it's not needed anymore, deletes an unnecessary bitmap (blank.bmp) and simplifies the code a little bit. * Again: delete the 'ipodVOL' directory before updating the build keeps it clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16953 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 20:31:47 +00:00
Dominik Wenger
1363881148 rbutil:let autodetection::detectUsb also use the rbsettings object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16952 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 20:05:13 +00:00
Nicolas Pennequin
8143f49876 Oops; I forgot one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16951 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 17:56:04 +00:00
Nicolas Pennequin
33f522de8b Migrate the buffering code to the new events system.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16950 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 17:51:53 +00:00
Marianne Arnold
81efd6c36d More WPS bitmap strips work to cleanup the directory: engineer2 with the needed changes in the WPSs files (only a 160x128 and a 128x64 version exist). Completed the codec and the repeat mode icon sets. - Remember to remove the 'engineer2' directory on the player before unzipping a new build if you want to keep it clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16949 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 17:49:08 +00:00
Nicolas Pennequin
a3ed95247c Fix an issue introduced by r16930 where rebuffering would happen one track too early because track were counted after moving to the next one instead of before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16948 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 15:30:42 +00:00
Steve Bavin
b24ed65faf Simplify pcmbuf_beep() a little, should be no functional change but it seems to mysteriously change the PortalPlayer 'keyclick beep of death' problem into a 'barely-there keyclick' problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16947 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 14:24:37 +00:00
Linus Nielsen Feltzing
0ab1a3b801 Small fix to be able to use F3 to quit the F3 quick menu on the Archos Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16946 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 13:38:24 +00:00
Nicolas Pennequin
73a71a4712 Move audio_set_elapsed to mpa.c, as recommended by the TODO note. Please correct me if affecting ci->id3->elapsed directly (ie without using ci->set_elapsed) is wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16945 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 12:13:03 +00:00
Robert Kukla
f51f98e134 m:robe 100
- lcd driver tidied up and optimised 
- lcd flip and inverse display enabled 
(based on logikdax driver and work by lowlight)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16944 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 11:08:38 +00:00
Jonas Häggqvist
abd09919ca Sync Danish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16943 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 08:43:17 +00:00
Nils Wallménius
a216c66b42 Remove obsolete comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16942 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 07:47:23 +00:00
Jonathan Gordon
34196edb60 fix FS#8841 - scrolling doesnt work when using cursor seelction icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16941 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 04:41:42 +00:00
Jens Arnold
aae436d3b1 Make the measured LCD scanrates from the greylib known to the scanrate test plugin (and only that this time).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16940 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:48:42 +00:00
Jens Arnold
02580851ad Revert... stupid svn doesn't complain when passing -m twice :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:45:23 +00:00
Jens Arnold
01a106dbfa Make the measured LCD scanrates from the greylib known to the scanrate test plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:42:21 +00:00
Jens Arnold
d5f37b2235 Ooops, overlooked the no-backlight stubs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16937 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:28:08 +00:00
Jens Arnold
5c87a98b97 Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16936 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:16:14 +00:00
Daniel Stenberg
cdae493f96 FS#8842 by Thomas Martitz, thanks!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16935 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 21:28:15 +00:00
Dominik Riebeling
3bb88b6190 Fix issues with file-based bootloader installation:
- resolve the path with real case. Fixes errors on case-sensitive OS.
- unset internal error after the (silent) creation of a backup copy. The error isn't checked and if one occured the file renaming afterwards would fail.
- make some wiki links nicer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16934 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 21:17:35 +00:00
Marianne Arnold
eb015961e0 Convert UniCatcher to using bitmap strips (the actual graphics could be reused from iCatcher, including the addition of the missing codec icons). To tidy up some more, the 160x128 greyscale version also uses a backdrop graphic instead of two seperate bitmaps now. Delete some unused bitmaps which either were a copy of the iCatcher directory and accidentally kept or were there in preparation for a port to smaller screens. In case of the latter and someone picks this task up again - those can easily be pulled from an earlier revision and added again. * Reminder: don't forget to delete the 'UniCatcher' directory in '.rockbox/wps' before installing a new build if you want to keep your installation clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16933 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 19:03:00 +00:00
Jens Arnold
b073f0cfc1 LCD driver tweaks for greyscale iPods: * Use 1/7 bias, 5x step-up and the highest step-up frequency on all 1st..3rd gen iPods, simplifying the driver this way. The default contrast for those iPods has changed - reset settings in case the display becomes unreadable. * Set n-line inversion drive to 9 lines, improving image quality on 1st..3rd gen iPods somewhat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16932 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 19:01:16 +00:00
Nicolas Pennequin
bb40e6ed15 Fix a possible (though unlikely) deadlock condition spotted by jhMikeS. It would involve both the buffering and the audio thread sending synchronous messages to one another.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16931 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 17:18:15 +00:00
Nicolas Pennequin
03b54c29d7 Fix for FS#8601 by pondlife: the disk no longer spins up on a track change when dircache is disabled. This issue was introduced by me in r16019 by adding a call to playlist_peek() in audio_check_new_track(). This fix adds a new playlist API call to work around the problem until we find a better solution. There are also a few simplifications and comment corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16930 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 17:04:59 +00:00
Jonathan Gordon
43df8374e5 remove some really old and out of date code... (drawing API changed about 3 times since this code was last touched)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16929 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 10:07:22 +00:00
Michael Sevakis
dd88663fe0 gigabeat S: Set the tick speed correctly (calced from clocking regdump). Use bit #defines instead as well. Throw a header in the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16928 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 05:17:05 +00:00
Michael Sevakis
404a204e58 Gigabeat S: Add some more register #defines to use later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16927 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 00:33:02 +00:00
Marianne Arnold
3ee79776aa Manual: a few tweaks to the installation chapter. (1) Applied FS#8540 by Marc Guay - Move some warnings about MSC mode (and similar) which were now hidden below the automated install description to the beginning of the installation chapter. (2) Change the 'enable voice support' description to account for the fact that the voice files are now provided in zips with the proper file structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16926 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 00:19:06 +00:00
Frank Gevaerts
fd6b8a0cb1 add Martin Ritter to CREDITS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16925 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 21:03:50 +00:00
Marianne Arnold
ad1d1b58fa Last part of bitmap strips for iCatcher: the 'big coloured' icon set for the 320x240x16 and the 240x320x16 displays, including the necessary changes in the .wps files and again adding the missing codec icons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16924 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:56:38 +00:00
Dominik Riebeling
3e860a0bc0 Fix some quotation marks. Thanks to Alexander Levin for pointing it out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16923 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:53:07 +00:00
Frank Gevaerts
688f8decf4 Clean up the way empty transfers are sent in error cases.
correctly zero out all data that gets sent to the host
I'm just committing this. The actual work was done by Martin Ritter (thanks)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16922 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:36:51 +00:00
Dominik Riebeling
92717eb9ed Implement a function to resolve a given path case-insensitively. This is needed by file-based bootloader installs on case-sensitive systems. Bootloader installation not updated yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16921 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:30:41 +00:00
Dominik Wenger
0a73b16a93 rbutil: fix closing of installwindow after successful install.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16920 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:22:45 +00:00
Jens Arnold
1f75bd5a8e Use a better place to enable the interrupts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16918 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 18:53:34 +00:00
Dominik Wenger
2016ab4c96 rbutil: let rbutil use the new voice.zip files. Also make the download cache working again. (make sure to connect signals before calling getFile() ).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16917 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 18:02:56 +00:00
Jens Arnold
e249ecc85b iPod 1st..3rd Gen and Mini 1st Gen fixes/improvements: * Remove the unnecessary 'reverse' parameter from handle_scroll_wheel() (a remnant from IPL that's not needed in rockbox), and make it static. * Wheel power saving on 1st Gen needs to disable the respective GPIO interrupts as well, otherwise every wheel check might fire interrupts. Make wheel power saving more self-contained as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16916 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 17:52:22 +00:00