summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
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
2007-01-17Backing out the CPU boost for now. Found several issues from screen lines to ↵Steve Gotthardt2-1/+7
crashing during wav play and running oscilliscope, etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12037 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Back off CPU scaling to 300/200 due to reports of crashesGreg White1-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12034 a1c6a512-1295-4272-9138-f99709370657
2007-01-16Unroll loopsGreg White1-10/+77
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12029 a1c6a512-1295-4272-9138-f99709370657
2007-01-16fix commentMarcoen Hirschberg1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12024 a1c6a512-1295-4272-9138-f99709370657
2007-01-16add cpu frequency scaling to the gigabeat. default/normal: 100MHz, boosted: ↵Marcoen Hirschberg3-2/+33
300MHz git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12023 a1c6a512-1295-4272-9138-f99709370657
2007-01-16Fix inversevid mono drawingGreg White1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12022 a1c6a512-1295-4272-9138-f99709370657
2007-01-16Merge various drawmodes; revert to C for common codeGreg White1-59/+48
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12021 a1c6a512-1295-4272-9138-f99709370657
2007-01-16Changed pausing so entire chunk is finished and keeps I2S engine alignedSteve Gotthardt1-19/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12020 a1c6a512-1295-4272-9138-f99709370657
2007-01-15Turn off USB host and NAND flash controllerGreg White1-3/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12019 a1c6a512-1295-4272-9138-f99709370657
2007-01-15Remove bogus variables to fix warningsGreg White1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12016 a1c6a512-1295-4272-9138-f99709370657
2007-01-15Optimize transparent blit; optimize DRMODE_SOLID for mono bitmapsGreg White2-1/+164
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12015 a1c6a512-1295-4272-9138-f99709370657
2007-01-14Update battery capacity and discharge tables to reflect current battery ↵Greg White2-11/+11
benchmarks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12010 a1c6a512-1295-4272-9138-f99709370657
2007-01-14Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman5-9/+279
simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14Enabled zero crossing detection for volume changes in the WM8721/WM8731 ↵Jens Arnold1-2/+5
driver (iPod G3, iPod Mini G1/G2, Iriver H10). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12006 a1c6a512-1295-4272-9138-f99709370657