summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* Update dircache startcluster at file close when writing. Fixes bug when ↵Hardeep Sidhu2006-05-16
| | | | | | 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
* Iriver: Moved the handling of the UDA1380 split gain (analog preamp + ↵Jens Arnold2006-05-14
| | | | | | 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
* Correctly test on volume id flagPeter D'Hoye2006-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9925 a1c6a512-1295-4272-9138-f99709370657
* H1x0: Obey SPDIF power setting for monitoring SPDIF recordings as far as ↵Jens Arnold2006-05-12
| | | | | | possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9923 a1c6a512-1295-4272-9138-f99709370657
* Iriver recording: Always route the signals through the coldfire audio ↵Jens Arnold2006-05-12
| | | | | | 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
* Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported ↵Thom Johansen2006-05-11
| | | | | | 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
* Iriver: Don't power the UDA1380 WSPLL as we don't use it. This is required ↵Jens Arnold2006-05-11
| | | | | | according to the datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9913 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: Use the auto-align feature in conjunction with line reads for the ↵Jens Arnold2006-05-09
| | | | | | playback DMA. Saves a bit of memory bandwidth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9898 a1c6a512-1295-4272-9138-f99709370657
* Ondio: (Hopefully) fix the occasional freezes during playback: Use DMA ↵Jens Arnold2006-05-07
| | | | | | 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
* Patch #5182 by Liberman Shachar - Vertical screen scroll bug fix (inverse ↵Linus Nielsen Feltzing2006-05-06
| | | | | | bar crop in vertical scroll) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9881 a1c6a512-1295-4272-9138-f99709370657
* Fix fillrect calculation error for 'Screen scrolls out of view'. Fixes bug ↵Peter D'Hoye2006-05-03
| | | | | | 5267. Also some minor code policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9871 a1c6a512-1295-4272-9138-f99709370657
* ipods - First implementation of pcf50605_init() function. This enables the ↵Dave Chapman2006-05-02
| | | | | | 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
* Oops, correctly calculate the interrupt number in UIE().Jens Arnold2006-05-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9859 a1c6a512-1295-4272-9138-f99709370657
* Fix red bootbox builds with gcc 4.x and -Os. Save a bit of code by not ↵Jens Arnold2006-05-01
| | | | | | including the never called UIE0..UIE3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9857 a1c6a512-1295-4272-9138-f99709370657
* Properly set audio_is_initialized flag for swcodec devices ad use it when ↵Hardeep Sidhu2006-05-01
| | | | | | 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
* Recording buffer offset must be passed on to the firmware calls, not the ↵Peter D'Hoye2006-04-30
| | | | | | other way around. Should fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
* The recording buffer should not try to use the voice buffer, so map our ↵Peter D'Hoye2006-04-30
| | | | | | 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
* Ooops. Fix red bootbox builds.Jens Arnold2006-04-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9833 a1c6a512-1295-4272-9138-f99709370657
* SH1: Moved exception vector table generation and weak aliasing into an asm ↵Jens Arnold2006-04-29
| | | | | | block. Allows building with gcc 4.x git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9832 a1c6a512-1295-4272-9138-f99709370657
* ATA driver: * Don't lie to gcc about which parameters the assembler ↵Jens Arnold2006-04-29
| | | | | | 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
* While waiting further and better improvements, this fixes the bug toDaniel Stenberg2006-04-27
| | | | | | | lcd_update_rect() I introduced previously. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9822 a1c6a512-1295-4272-9138-f99709370657
* Replaced remaining '#pragma interrupt' with ↵Jens Arnold2006-04-26
| | | | | | __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
* H300: add a small delay between lcd enable and backlight on. Avoids a flash ↵Peter D'Hoye2006-04-26
| | | | | | 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
* SH targets: Protect against a gcc 3.3.x bug triggered by -O2 or -Os, in ↵Jens Arnold2006-04-25
| | | | | | 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
* Use filesize instead of lseek to find the size of a file. Reduces disk ↵Frank Dischner2006-04-24
| | | | | | access and improves font loading time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9792 a1c6a512-1295-4272-9138-f99709370657
* Ipods, X5: Proper backlight behaviour on buton unlock.Jens Arnold2006-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9788 a1c6a512-1295-4272-9138-f99709370657
* Show RoLo messages on remote.Jens Arnold2006-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9787 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Reworked remote detection & init: * Monitor the remote type & try to ↵Jens Arnold2006-04-24
| | | | | | 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
* First commit of reworking voice to be mroe stable on swcodecBrandon Low2006-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
* Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.Frank Dischner2006-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
* Fix button driver for ipod mini 1G.Frank Dischner2006-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
* Performance optimizations for tagcache commit. Still more left to be done.Miika Pekkarinen2006-04-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
* Fix red buildsBrandon Low2006-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9710 a1c6a512-1295-4272-9138-f99709370657
* Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and ↵Brandon Low2006-04-17
| | | | | | 2) nonobvious that its not copy safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
* Ooops^2Jens Arnold2006-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9696 a1c6a512-1295-4272-9138-f99709370657
* Ooops.Jens Arnold2006-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9694 a1c6a512-1295-4272-9138-f99709370657
* H300: Optimised PCF50606 driver, significantly reduces CPU power drain from ↵Jens Arnold2006-04-16
| | | | | | 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
* H300 (and H1x0): Improved button debouncing. Solves the possible 'fake ↵Jens Arnold2006-04-16
| | | | | | 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
* Commit tagcache in background when possible (at least dircache enabled).Miika Pekkarinen2006-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
* Also add a config-specific 'Default' value, this should fix the sim builds.Zakk Roberts2006-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
* Move the battery min/max capacity to player config files and add an ↵Zakk Roberts2006-04-15
| | | | | | 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
* Coldfire: Use the maximum possible i2c clock for the audio codec. Both the ↵Jens Arnold2006-04-14
| | | | | | UDA1380TT and the TLV320AIC23B can handle up to 400kHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9656 a1c6a512-1295-4272-9138-f99709370657
* Correct battery voltage and almost correct percentages for all ipods. ↵Jens Arnold2006-04-14
| | | | | | Runtime still needs calibration (and improvement, of course). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9655 a1c6a512-1295-4272-9138-f99709370657
* Fixed the file renaming/removing issue with dircache enabled.Miika Pekkarinen2006-04-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9649 a1c6a512-1295-4272-9138-f99709370657
* Another slight tweak.Jens Arnold2006-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9639 a1c6a512-1295-4272-9138-f99709370657
* H1x0/H300 remote LCD driver rework: * Completely fix remote LCD ticking for ↵Jens Arnold2006-04-11
| | | | | | H300, by not deasserting CS after every single access. CS deactivation is now handled with a 100ms timeout by the tick task. If this really fixes remote ticking for all H300s with 'reduce ticking' disabled, we should remove that option for H300. * Reworked ticking reduction for H1x0. Bytes are now send in sequence, without stretching every single bit, but longer pauses between bytes instead. Both CLK and DATA are handled in a way to minimise their potential to cause ticking (CLK active as short as possible, DATA always high outside of byte transfers, DATA high->low as close as possible to CLK low->high). * Driver is ~10% faster with 'reduce ticking' disabled, and ~65% faster with it enabled. (not @ 11 MHz) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9631 a1c6a512-1295-4272-9138-f99709370657
* 20% faster and one annoying lookup table cut outDaniel Stenberg2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9624 a1c6a512-1295-4272-9138-f99709370657
* New crossfeed complete with no volume reducing bugs. Feedback on all theThom Johansen2006-04-11
| | | | | | | | new options is appreciated. Thanks to Dan Everton for the settings/GUI code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9609 a1c6a512-1295-4272-9138-f99709370657
* moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boostDaniel Stenberg2006-04-11
| | | | | | | I also extended the iram size properly since the 5250 coldfire has 128K git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: More appropriate condition for the refresh timings.Jens Arnold2006-04-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9597 a1c6a512-1295-4272-9138-f99709370657