Commit graph

16902 commits

Author SHA1 Message Date
Jens Arnold
9737fc7c26 Iriver remote LCD driver: * Split out assembler parts. * Reintroduced the 2 transfer routine variants (low/high CPU clock), and made the version for high CPU clock a little slower because there were problems reported. The function can be slowed down more if there are still problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17006 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:57:37 +00:00
Marianne Arnold
01eb385f57 Bitmap strips for the iAmp theme with the necessary chanes to the .wps files. Add the missing codec icons and one small repeat icon, give 2 bitmaps an a little bit saner name ('l.bmp' > 'line.bmp' and 'i.bmp' > 'iAmp.bmp') and a little bit of code rearrangement for better readability. Proper mime-type for all and hopefully on first try this time. * Delete the iAmp directory on your player if you want to get rid of unused files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17005 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:46:33 +00:00
Michael Sevakis
5d230524d5 Toss-in a Gigabeat S keymap for pegbox. #error for an unsupported map.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17004 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:25:21 +00:00
Nicolas Pennequin
fdb1028cb1 Really fix the red this time, I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17003 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:04:00 +00:00
Nicolas Pennequin
6bef4f6549 Oops. Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17002 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:47:21 +00:00
Nicolas Pennequin
6aa36c66a3 Commit FS#8308 (Port of imlib2 based smooth scaling) by Jonas Hurrelmann. It could be made smaller by taking out some special cases, but I'm leaving them in for now because size isn't really a concern until we decide to move it into the core (if we ever do). test_resize now allows to choose between both resize methods for comparison. sliding_puzzle is made to use the smooth scaling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17001 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:30:50 +00:00
Michael Sevakis
9ba80c9641 Get device-specific code out of init_threads and add core_thread_init to be implemented for multicore devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17000 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:08:36 +00:00
Dominik Wenger
c2a01fdc7a rbutil: another misplaced connect call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16999 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 20:29:26 +00:00
Dominik Wenger
86a5d62f7b rbutil: ups moved a connect to the wrong place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16998 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:59:53 +00:00
Dominik Wenger
b235b1306e rbutil: move many more connect calls, mainly for safety.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:38 +00:00
Dominik Riebeling
94d65d837c when resolving filenames also take system and hidden files into account.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16996 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:24 +00:00
Dominik Wenger
1b637754fa rbutil: fix complete install: make sure signals are connected before calling the function emiting the signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16995 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:39:41 +00:00
Dominik Riebeling
a0e6641c10 progress indication should start at 1, not 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16994 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:07:53 +00:00
Dominik Riebeling
c3969ed4c5 create an UnZip derived class for zip file extraction to allow showing progress while unzipping. Makes the unzip process somewhat interruptable and the UI more responsible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16993 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 18:12:56 +00:00
Dominik Riebeling
5076dca58e Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 18:00:32 +00:00
Dominik Riebeling
2bcc5f782d make sure cachefolder is existent when enabling it using setCache(bool). Fixes cache not working properly if the cache folder didn't exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16991 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 17:20:13 +00:00
Jens Arnold
f75d409346 Forgot to set keywords.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16990 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 15:37:45 +00:00
Jens Arnold
c368bc7505 Test plugin for greyscle library calibration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16989 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 15:36:53 +00:00
Jens Arnold
94c6e6f337 1st/2nd Gen: Make backlight inversion adaption in the greyscale library work again. is_backlight_on() can now be called from COP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16988 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 15:15:44 +00:00
Jens Arnold
df8749d6d7 Adapt the remaining plugins to put the greyscale isr on cop. Now they can be used while playing music without making the audio stutter. Needs the new SHAREDBSS_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16987 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:59:31 +00:00
Marianne Arnold
cf6510567a Seems I overlooked the files which only have mime-type changes again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16986 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:55:09 +00:00
Marianne Arnold
034832b010 DancePuffDuo strips. The next theme to use bitmap strips including some cleanup (e.g. deleted reference to codec bitmaps in the 128x64 wps which were unused (and outside the screen anyways). Added missing codec icons and accurate mime-type for all. *Delete the DancePuffDuo directory if you want to keep the build clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16985 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:46:10 +00:00
Jens Arnold
f79bfcf1d7 PP targets: Make sure the COP cache is invalidated before loading a plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16984 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:26:39 +00:00
Michael Sevakis
4ab52c3456 Shorten the uncontended (expected) corelock_(try_)lock return path. Squeeze down corelock_try_lock by a couple instructions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16983 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 08:48:31 +00:00
Michael Sevakis
22c8a25f5f e200: Get the UNCACHED_ADDR macro and phys_fb_address use out of the lcd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16982 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 05:08:39 +00:00
Michael Sevakis
05099149f1 Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 04:34:57 +00:00
Dominik Riebeling
be698f086d make resolvePathCase work properly on windows, the drive letter needs special handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16980 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 23:49:23 +00:00
Dominik Riebeling
229c64ba67 Upon autodetection tell the user if an incompatible player model (newer Sansa / Nano) was found. Detection is usb based only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16979 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 21:48:54 +00:00
Dominik Riebeling
00a3e13b1f fix a stupid bug which made mountpoint detection based on folders non-functional on Ipod and Gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16978 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 18:59:54 +00:00
Dominik Riebeling
a5d749c15d the player name shouldn't include the manufacturer, m:robe entry repeated that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16977 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 18:21:36 +00:00
Jens Arnold
1d8312f996 Fix occasional crashes on greylib exit (LCD controller confusion) when running on COP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16976 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 09:38:59 +00:00
Jens Arnold
8f560bc2b5 Greyscale library: Always use reconstructing inversion, because it's legal to use unbuffered drawing functions in buffered mode, meaning that the chunky buffer might not be in sync with what's displayed. Mpegplayer does this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16975 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 08:56:43 +00:00
Rob Purchase
36f8fba209 Tick/IRQ driven ADCs for TCC780x. Solves the weird button behaviour mentioned on the D2 wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16974 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 23:43:31 +00:00
Jens Arnold
32bd0f8ab1 Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 22:13:53 +00:00
Marianne Arnold
391377725e ...and one more mime-type change...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16972 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 21:54:17 +00:00
Marianne Arnold
38d7c289ca Seems I overlooked a few bitmaps with only mime-type changes in the previous commit...boxes/backdrop-220x176.bmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16971 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 21:53:24 +00:00
Marianne Arnold
fcd57603a5 The next included WPS using bitmap strips: 'boxes', including some cleanup, small improvements and adding missing icons. (1) All colour ports now use a backdrop to free space in the image buffer (was really near the limit on e.g. the 320x240 screen). I tried to use the same colours as the already existing 220x176 backdrop. (2) The H300 now uses a viewport instead of the frame bitmap (gets rid of the bmp and better when lines need to scroll). For simplicity it's only one viewport so that the peakmeters are now only at viewport width and the time/date info is a bit off the screen's border though. (3) Complete codec icons (I could reuse the engineer2 ones), the repeat icons and added coloured rating bitmaps. (4) Small tweeks in the virtual led, progressbar and Archos background bitmaps. (5) Correct mime-type for all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16970 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 21:41:15 +00:00
Rob Purchase
91202e1804 D2: Adjustable backlight brightness (sometimes fails when boosted, suggests I2C timing needs adjustment). Tweak lcd_enable() to behave more like other targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16967 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 20:55:58 +00:00
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