summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2007-02-05Optimise EQ coef calculation routines for both speed and size. Move now ↵Thom Johansen1-2/+2
unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended. Tested quite thorougly, but as always, be careful with your ears. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05New PLL calculations to make sure that PLLDIV != 0. This seems to solve the ↵Linus Nielsen Feltzing1-12/+13
problem with the troublesome H140 batch from OutletMP3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12201 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix USB detection on ipods and other portalplayer targets - Rockbox now ↵Dave Chapman14-118/+504
correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix setting time on Sansa used to set the day to one day later than it Barry Wardell1-1/+1
should. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12196 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Enable FAT16 support for Sansa E200Daniel Ankers1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12195 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Work around a bug in the Sansa flash driverDaniel Ankers1-21/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12187 a1c6a512-1295-4272-9138-f99709370657
2007-02-03Backlight support for Sansa, including brightness. Thanks to Rene Barry Wardell3-0/+23
Peinthor and FS#6608. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12186 a1c6a512-1295-4272-9138-f99709370657
2007-02-03RTC support for Sansa.Barry Wardell4-1/+169
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12185 a1c6a512-1295-4272-9138-f99709370657
2007-02-03Removed unused 'mode' parameter from mkdir() for consistency with creat().Jens Arnold2-5/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-02Corrected the comments regarding USB chargingLinus Nielsen Feltzing1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12181 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold3-6/+5
ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Increase disk thread stack on the Sansa in line with the changes in r12093. ↵Daniel Ankers1-1/+1
Fixes the recent Sansa crashes. Thanks to Rene Peinthor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12177 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Fix dircache on simulatorsSteve Bavin1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12175 a1c6a512-1295-4272-9138-f99709370657
2007-02-01FS#4770 - Add USB charging for the H300 seriesSteve Bavin5-1/+77
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Power off on the Sansa more in line with how the OF does it (just change the ↵Barry Wardell1-1/+4
relevant bit rather than the whole byte). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12166 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Add power off for the Sansa. Thanks to Antonius Hellmann for figuring out ↵Barry Wardell1-0/+2
how using the Sansa emulator in FS #6524. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12165 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Finish putting all the code and data that depends upon ↵Michael Sevakis1-9/+19
HAVE_PRIORITY_SCHEDULING into the #ifdef blocks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12163 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Reverting the FAT32 driver change - it seems to have introduced a bugLinus Nielsen Feltzing2-66/+50
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12152 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Changed fat_getnext():Linus Nielsen Feltzing2-50/+66
1) Fixed a bug where really long filenames could be messed up if they spanned 3 sectors 2) Now uses 2 buffers instead of 3, without copying the buffers with memcpy() 3) Can now use aligned sector reads, first step towards iPod 5.5G 80GB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12151 a1c6a512-1295-4272-9138-f99709370657
2007-01-28Do not change backlight timeout and disk spindown timeout when battery is lowNils Wallménius1-22/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12137 a1c6a512-1295-4272-9138-f99709370657
2007-01-28FS#6554. Move bootloader code into a common file. Only PortalPlayer devices ↵Barry Wardell2-0/+6
(iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Fix red buildsDaniel Ankers1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12131 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Oops - fix PortalPlayer buildsDaniel Ankers2-10/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12129 a1c6a512-1295-4272-9138-f99709370657
2007-01-27More PortalPlayer I2C unification workDaniel Ankers3-54/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12128 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Fix a bug in the Sansa flash driver. Other bugs remain, as it does not pass ↵Daniel Ankers1-1/+1
the stress test yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12127 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Unify I2C driver for all PortalPlayer targetsDaniel Ankers3-162/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12126 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Clean up PP5002 I2C code (no functional changes):Barry Wardell5-38/+31
Move into target tree. Use #defines instead of inb/outb. Also restore comments in PP5020 I2C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12124 a1c6a512-1295-4272-9138-f99709370657
2007-01-27Clean up PP5020 I2C code (no functional changes):Barry Wardell4-50/+46
Move into target tree. Use #defines instead of inb/outb. Whitespace cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12123 a1c6a512-1295-4272-9138-f99709370657
2007-01-25adding NSF (NES music) codecAdam Gashlin2-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-24Assembler optimised ATA transfer loops for ARM targets. Only used for ↵Jens Arnold3-3/+366
PP5020/5021/5022 targets atm. PP5002 seems to have problems with it not directly related to the asm code itself, and the gigabeat doesn't profit from it, probably because the CPU isn't the bottleneck even without optimisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12099 a1c6a512-1295-4272-9138-f99709370657
2007-01-23Permanently enable powering down the disk when it's sleeping for supported ↵Nils Wallménius3-20/+6
targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657
2007-01-23Settings are now stored in /.rockbox/config.cfg instead of the hidden ↵Jonathan Gordon2-3/+3
sector. (FS #6557) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-22Fix broken buildsJonathan Gordon1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12088 a1c6a512-1295-4272-9138-f99709370657
2007-01-22Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() ↵Jonathan Gordon2-2/+64
calls from the debug menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12087 a1c6a512-1295-4272-9138-f99709370657
2007-01-21The code police strikes back, and some minor optimisations.Jens Arnold1-79/+85
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12086 a1c6a512-1295-4272-9138-f99709370657
2007-01-20Retimed the i2c delay loops since we can be boosted or notSteve Gotthardt2-18/+27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12084 a1c6a512-1295-4272-9138-f99709370657
2007-01-20On the H10 when we power the disk on again after spindown and poweroff we ↵Barry Wardell1-0/+1
need to give it a little while to turn back on before we should try to access it. This should fix problems with disk accesses when coming from a disk poweroff state (related discussion in FS#6421). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12081 a1c6a512-1295-4272-9138-f99709370657
2007-01-19Comment out an unused function and make another one static to save a few bytesNils Wallménius2-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12073 a1c6a512-1295-4272-9138-f99709370657
2007-01-19iPod G3: Touching the wheel now resets the poweroff timer the same way as on ↵Jens Arnold1-0/+1
the other iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12071 a1c6a512-1295-4272-9138-f99709370657
2007-01-18iPods: Touching the wheel now resets the poweroff timer, so the iPod no ↵Jens Arnold2-3/+5
longer shuts down unexpectedly while operating the wheel only, e.g. in the text viewer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12068 a1c6a512-1295-4272-9138-f99709370657
2007-01-18remove duplicate code and fix commentsMarcoen Hirschberg1-5/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12066 a1c6a512-1295-4272-9138-f99709370657
2007-01-18the gigabeat supports all frequencies but 64kHzMarcoen Hirschberg2-6/+43
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12065 a1c6a512-1295-4272-9138-f99709370657
2007-01-18Move mono DRMODE optimizations from Gigabeat to all 16-bit targetsGreg White2-154/+79
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12062 a1c6a512-1295-4272-9138-f99709370657
2007-01-18Prevent sysfont.h being regenerated during every build.Dave Chapman1-2/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12058 a1c6a512-1295-4272-9138-f99709370657
2007-01-17fix backlight on hold key settingMarcoen Hirschberg1-1/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12055 a1c6a512-1295-4272-9138-f99709370657
2007-01-17re-enable CPU scaling (between 100 and 300MHz again) with a new implementationMarcoen Hirschberg2-12/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12047 a1c6a512-1295-4272-9138-f99709370657
2007-01-17remove unused variable (fixes warning)Marcoen Hirschberg1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12045 a1c6a512-1295-4272-9138-f99709370657
2007-01-17sysfont.h is only needed by devices with bitmap displays.Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12042 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Make the build system create a sysfont.h which includes font information for ↵Barry Wardell2-0/+4
the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE. Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17increase the dircache thread size to hopefully stop it StkOv'ingJonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12040 a1c6a512-1295-4272-9138-f99709370657