summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2006-06-06Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold26-136/+112
several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-03Remove previous fix as it seems to cause lock-ups when used with a remote.Peter D'Hoye1-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10037 a1c6a512-1295-4272-9138-f99709370657
2006-06-02Do not allow interrupts between the two calls that set the recording gain. ↵Peter D'Hoye1-0/+7
Fixes volume glitches when changing recording gain. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10031 a1c6a512-1295-4272-9138-f99709370657
2006-05-30Fixed incorrect memory allocation bug with tagcache.Miika Pekkarinen1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10023 a1c6a512-1295-4272-9138-f99709370657
2006-05-30Use correct file mode when creating files. Fixes task 5452Dan Everton1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10020 a1c6a512-1295-4272-9138-f99709370657
2006-05-27code policePeter D'Hoye1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9996 a1c6a512-1295-4272-9138-f99709370657
2006-05-18Oops, move out the define from the #ifndef SIMULATORHristo Kovachev1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9956 a1c6a512-1295-4272-9138-f99709370657
2006-05-18Use more proper default contrast for the iriver lcd remotes, also resetHristo Kovachev1-2/+3
the contrast in the same way as it is for the main screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9955 a1c6a512-1295-4272-9138-f99709370657
2006-05-16Iriver: Don't scroll remote LCD lines 'in the dark', i.e. with the remote ↵Jens Arnold1-1/+5
unplugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9951 a1c6a512-1295-4272-9138-f99709370657
2006-05-16Update dircache startcluster at file close when writing. Fixes bug when ↵Hardeep Sidhu1-0/+3
creating small files (dircache startcluster remains 0 because fat write doesn't occur until close). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9950 a1c6a512-1295-4272-9138-f99709370657
2006-05-14Iriver: Moved the handling of the UDA1380 split gain (analog preamp + ↵Jens Arnold5-32/+27
decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
2006-05-13Correctly test on volume id flagPeter D'Hoye1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9925 a1c6a512-1295-4272-9138-f99709370657
2006-05-12H1x0: Obey SPDIF power setting for monitoring SPDIF recordings as far as ↵Jens Arnold1-1/+6
possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9923 a1c6a512-1295-4272-9138-f99709370657
2006-05-12Iriver recording: Always route the signals through the coldfire audio ↵Jens Arnold1-19/+21
interface for monitoring. Advantages: (H1x0) Enables parallel analog and SPDIF monitoring of both analog or SPDIF sources. When recording from SPDIF, the SPDIF monitor signal is pure pass-through. (all) Digital clipping is now audible in the analog monitor signal. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9918 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported ↵Thom Johansen4-21/+175
recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Iriver: Don't power the UDA1380 WSPLL as we don't use it. This is required ↵Jens Arnold1-1/+1
according to the datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9913 a1c6a512-1295-4272-9138-f99709370657
2006-05-09Coldfire: Use the auto-align feature in conjunction with line reads for the ↵Jens Arnold1-2/+2
playback DMA. Saves a bit of memory bandwidth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9898 a1c6a512-1295-4272-9138-f99709370657
2006-05-07Ondio: (Hopefully) fix the occasional freezes during playback: Use DMA ↵Jens Arnold1-14/+14
channel 0 for MMC transfer. As it has higher priority than channel 3 (used for playback), the risk of serial receive overruns is minimised. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9885 a1c6a512-1295-4272-9138-f99709370657
2006-05-06Patch #5182 by Liberman Shachar - Vertical screen scroll bug fix (inverse ↵Linus Nielsen Feltzing5-11/+15
bar crop in vertical scroll) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9881 a1c6a512-1295-4272-9138-f99709370657
2006-05-03Fix fillrect calculation error for 'Screen scrolls out of view'. Fixes bug ↵Peter D'Hoye5-10/+16
5267. Also some minor code policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9871 a1c6a512-1295-4272-9138-f99709370657
2006-05-02ipods - First implementation of pcf50605_init() function. This enables the ↵Dave Chapman3-1/+15
power-out in the Dock connector, which may help getting some accessories working - if they don't need to talk to the ipod via the Apple Accessory Protocol. Thanks to julius in IRC for testing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9860 a1c6a512-1295-4272-9138-f99709370657
2006-05-02Oops, correctly calculate the interrupt number in UIE().Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9859 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Fix red bootbox builds with gcc 4.x and -Os. Save a bit of code by not ↵Jens Arnold1-69/+66
including the never called UIE0..UIE3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9857 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Properly set audio_is_initialized flag for swcodec devices ad use it when ↵Hardeep Sidhu1-1/+0
initializing crossfade. This should fix the problems with resuming playback at startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9853 a1c6a512-1295-4272-9138-f99709370657
2006-04-30Recording buffer offset must be passed on to the firmware calls, not the ↵Peter D'Hoye3-6/+10
other way around. Should fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30The recording buffer should not try to use the voice buffer, so map our ↵Peter D'Hoye1-2/+2
buffer after it. On swcodec targets, recording always uses this buffer so always notify the others that we did. Fixes bug 4754. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9841 a1c6a512-1295-4272-9138-f99709370657
2006-04-29Ooops. Fix red bootbox builds.Jens Arnold1-65/+69
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9833 a1c6a512-1295-4272-9138-f99709370657
2006-04-29SH1: Moved exception vector table generation and weak aliasing into an asm ↵Jens Arnold1-292/+232
block. Allows building with gcc 4.x git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9832 a1c6a512-1295-4272-9138-f99709370657
2006-04-29ATA driver: * Don't lie to gcc about which parameters the assembler ↵Jens Arnold1-188/+189
optimised loops touch. Fixes problems with higher optimisation levels. Some slight tweaks for SH1. * Prevent the assembler loops from being inlined as this is less efficient than having them in IRAM (only relevant at higher optimisation levels). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9828 a1c6a512-1295-4272-9138-f99709370657
2006-04-27While waiting further and better improvements, this fixes the bug toDaniel Stenberg1-6/+11
lcd_update_rect() I introduced previously. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9822 a1c6a512-1295-4272-9138-f99709370657
2006-04-26Replaced remaining '#pragma interrupt' with ↵Jens Arnold3-8/+8
__attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
2006-04-26H300: add a small delay between lcd enable and backlight on. Avoids a flash ↵Peter D'Hoye1-0/+1
at backlight on when using dark backgrounds. (fix for bug 4764) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9815 a1c6a512-1295-4272-9138-f99709370657
2006-04-25SH targets: Protect against a gcc 3.3.x bug triggered by -O2 or -Os, in ↵Jens Arnold1-0/+4
preparation for switching to -Os. Workaround could be removed again for gcc 3.4.x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9809 a1c6a512-1295-4272-9138-f99709370657
2006-04-24Use filesize instead of lseek to find the size of a file. Reduces disk ↵Frank Dischner2-7/+5
access and improves font loading time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9792 a1c6a512-1295-4272-9138-f99709370657
2006-04-24Ipods, X5: Proper backlight behaviour on buton unlock.Jens Arnold1-0/+25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9788 a1c6a512-1295-4272-9138-f99709370657
2006-04-24Show RoLo messages on remote.Jens Arnold1-1/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9787 a1c6a512-1295-4272-9138-f99709370657
2006-04-24Iriver: Reworked remote detection & init: * Monitor the remote type & try to ↵Jens Arnold1-36/+76
init the LCD for 20 seconds after plugin. Fixes wrong type detection & non-working LCD when plugging in slowly, and inits much faster if the remote is already plugged at boot (no delayed logo). * Don't try to init the LCD for a non-LCD remote in order to save CPU power. * More precise scroll timing, taking drawing time & other delays into account. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9783 a1c6a512-1295-4272-9138-f99709370657
2006-04-22First commit of reworking voice to be mroe stable on swcodecBrandon Low1-5/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
2006-04-20Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.Frank Dischner1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
2006-04-19Fix button driver for ipod mini 1G.Frank Dischner1-44/+58
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
2006-04-18Performance optimizations for tagcache commit. Still more left to be done.Miika Pekkarinen3-0/+83
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
2006-04-17Fix red buildsBrandon Low1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9710 a1c6a512-1295-4272-9138-f99709370657
2006-04-17Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and ↵Brandon Low2-0/+36
2) nonobvious that its not copy safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
2006-04-17Ooops^2Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9696 a1c6a512-1295-4272-9138-f99709370657
2006-04-16Ooops.Jens Arnold1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9694 a1c6a512-1295-4272-9138-f99709370657
2006-04-16H300: Optimised PCF50606 driver, significantly reduces CPU power drain from ↵Jens Arnold3-85/+346
the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
2006-04-16H300 (and H1x0): Improved button debouncing. Solves the possible 'fake ↵Jens Arnold1-4/+12
doubleclick' effect by not pretending no button is pressed if the reading is unstable. Now it uses the latest stable reading instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9691 a1c6a512-1295-4272-9138-f99709370657
2006-04-16Commit tagcache in background when possible (at least dircache enabled).Miika Pekkarinen4-11/+30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-15Also add a config-specific 'Default' value, this should fix the sim builds.Zakk Roberts21-19/+59
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
2006-04-15Move the battery min/max capacity to player config files and add an ↵Zakk Roberts21-42/+83
increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657