summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
...
* Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's ↵Dave Chapman2007-07-03
| | | | | | fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
* More PP502x clock setup rework. This should fix the freezes on PP5020 once ↵Jens Arnold2007-07-03
| | | | | | and for all. Enabled clock scaling for H10. * CPUFREQ_MAX changed to 78MHz * To be cleaned up soon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13767 a1c6a512-1295-4272-9138-f99709370657
* Improved CPU clock setup for PP502x. PP5020 and PP5022 are not register ↵Jens Arnold2007-07-02
| | | | | | compatible here, so define the PP5022 targets properly, and introduce a CPU_PP502x macro for easier family check. Improves stability on PP5020 (less freezing, tested with Mini G1) and reduces clock change penalty (500us on PP5020; uses the relock bit on PP5022). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13763 a1c6a512-1295-4272-9138-f99709370657
* Change unsigned long to uint32_t and long to int32_t to fix a crash in Nils Wallménius2007-06-30
| | | | | | | 64 bit sims. Make a couple of private functions 'static'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13743 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis2007-06-30
| | | | | | some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
* Shutdown and powermanagement cleanup: * Use the proper function for ↵Jens Arnold2007-06-29
| | | | | | determining whether the battery level is safe, and get rid of the extra one. Low battery warning now appears at 10% or less. * Don't delay shutdown artificially by 3 seconds due to low/critical battery warning. * Shutdown at critical battery level: Skip all disk-hitting housekeeping, make sure dircache stops, and don't mark disk as clean in eeprom. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13734 a1c6a512-1295-4272-9138-f99709370657
* FS#7361 by Rhino Tanga: Move the id3 tag buffer size into a #defineNicolas Pennequin2007-06-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13730 a1c6a512-1295-4272-9138-f99709370657
* current_tick really does need to be volatile since gcc can optimize away ↵Michael Sevakis2007-06-25
| | | | | | checking the value otherwise - found out the hard way. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13715 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7336 - scrolling lines don't stay coloured.Jonathan Gordon2007-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13682 a1c6a512-1295-4272-9138-f99709370657
* Give color targets the ability to display each LCD line a different color ↵Brandon Low2007-06-17
| | | | | | and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
* add missing defineMarcoen Hirschberg2007-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13650 a1c6a512-1295-4272-9138-f99709370657
* PP5024 (e200): There's more than one HI IRQ bit for enabling GPIO IRQs. Port ↵Michael Sevakis2007-06-17
| | | | | | A uses bit 32 and port F,H use bit 33. Please add futher GPIOx_IRQ/MASK defines and associations to pp5024.h as they are discovered. I guess the SD card patch will need a small update to properly detect insertion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13647 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius2007-06-13
| | | | | | | | | Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers functions to a plugin to make plugins link correctly when gcc calls mem* functions directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
* fix redChristian Gmeiner2007-06-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13623 a1c6a512-1295-4272-9138-f99709370657
* * changed pararmeter of audiohw_mute from int to boolChristian Gmeiner2007-06-13
| | | | | | | | | | * unification of init and close NOTE: audiohw_init is a void function now, because it never (can) fail okay from JdGordon@irc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13622 a1c6a512-1295-4272-9138-f99709370657
* some little more work on audio codec driver unification - more will followChristian Gmeiner2007-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13620 a1c6a512-1295-4272-9138-f99709370657
* Straighten out some audio path APIs and misc. audio stuff. Having recording ↵Michael Sevakis2007-06-08
| | | | | | is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
* Assumption about there being MPEG1-only samplerates available and therefore ↵Michael Sevakis2007-06-06
| | | | | | MPEG1-only bitrates for recording is no longer valid. Fix that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13579 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed ↵Michael Sevakis2007-06-06
| | | | | | integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman2007-06-05
| | | | | | an extremely CPU-intensive codec, and that the decoding speed is directly related to the compression level (-c1000, -c2000, -c3000, -c4000 or -c5000) used when encoding the file. Current performance is: -c1000 to -c3000 are realtime on a Gigabeat, -c1000 is realtime on Coldfire targets (H100, H300 and Cowon), and nothing is realtime on PortalPlayer targets (iPods, H10, Sansa). Hopefully this can be improved. More information at FS #7256. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13562 a1c6a512-1295-4272-9138-f99709370657
* e200: Add recording. Just from MIC right now and FM integration will happen ↵Michael Sevakis2007-06-05
| | | | | | soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
* Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell2007-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
* e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 ↵Michael Sevakis2007-06-03
| | | | | | afterall and verified independently. There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13538 a1c6a512-1295-4272-9138-f99709370657
* Revert changes to id3.h, removing those members from the struct made binsize ↵Nils Wallménius2007-05-30
| | | | | | increase almost 1KB on some targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13528 a1c6a512-1295-4272-9138-f99709370657
* Remove unused struct members and ifdef some for SWCODECNils Wallménius2007-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13527 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7228 by Dagni McPhee enable pitchscreen on sansaNils Wallménius2007-05-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13505 a1c6a512-1295-4272-9138-f99709370657
* ATA driver: * Support for drives with large physical sectors and no support ↵Jens Arnold2007-05-23
| | | | | | for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657
* make audiohw.h include the DAC header filesMarcoen Hirschberg2007-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13473 a1c6a512-1295-4272-9138-f99709370657
* red freeChristian Gmeiner2007-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13466 a1c6a512-1295-4272-9138-f99709370657
* * move audio settings into audio codec driversChristian Gmeiner2007-05-22
| | | | | | | | * add mas35xx driver for all mas35xx targets. Later mas35xx code from sound.c will move to this new driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
* Use bitmasks to define which inputs are available. Makes it easier to remove ↵Michael Sevakis2007-05-20
| | | | | | old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657
* Increase sansa volume range at the lower end. This seems to be necessary Antonius Hellmann2007-05-20
| | | | | | | now after the audio improvement: -40.5dB ... +6dB => -73.5 ... +6dB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13447 a1c6a512-1295-4272-9138-f99709370657
* Change i2c config on e200. Seems to speed things up somewhat.Michael Sevakis2007-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13403 a1c6a512-1295-4272-9138-f99709370657
* Make it possible to select the correct battery capacity on ipod video, ↵Nils Wallménius2007-05-15
| | | | | | default is the 30GB models 400mAh, discharge curve and runtime estimation is still no calibrated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13395 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat ↵Dave Chapman2007-05-15
| | | | | | LCD driver - they are both buggy (the wrong background colour was often seen, e.g. in the USB screen after using a plugin) and significantly slower than the standard implementations (which use the ARM-optimised mem* functions) in lcd-16bit.c. lcd_clear_update was 4.5 times slower with DMA when a backdrop is in use, and 12 times slower with DMA when no backdrop is in use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13392 a1c6a512-1295-4272-9138-f99709370657
* Messages queues must be guarded on both ends or else it's a race between ↵Michael Sevakis2007-05-12
| | | | | | detecting a message present and missing a wakeup on thread about to wait. Keeping IRQs from interacting with the scheduler would be preferable but this should do at the moment. Add more detailed panic info regarding blocking violations so we know who. Make panicf function well enough on Gigabeat and PortalPlayer targets. Move the core sleep instructions into a CPU-specific inline to keep thing organized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13374 a1c6a512-1295-4272-9138-f99709370657
* GPIO IRQ ready button driver for e200 series. Can't actually use them yet ↵Michael Sevakis2007-05-11
| | | | | | but their status is polled. Easy to switch over once that works. Cheapo acceleration added or else it would be too fast for selecting items. Too much scrolling might cause the PCM buffer to empty out - beware. ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13371 a1c6a512-1295-4272-9138-f99709370657
* Add in buttonlight brightness setting for the Gigabeat, and setup the ↵Karl Kurbjun2007-05-08
| | | | | | framework for future players that have adjustable button light brightness settings. Also fixed a bug in the backlight code when the brightness was set to 0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13356 a1c6a512-1295-4272-9138-f99709370657
* Basic gigabeat buttonlight support outside of debug menu FS#7112. Also ↵Karl Kurbjun2007-05-07
| | | | | | disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657
* Default HW_SAMPR_CAPS should be SAMPR_CAP_44, not 0.Michael Sevakis2007-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13323 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat: Remove the 8kHz for now because it doesn't seem to work too well. ↵Michael Sevakis2007-05-04
| | | | | | Also, HW_SAMPR_CAPS should always be defined for sim and target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13321 a1c6a512-1295-4272-9138-f99709370657
* No more ear doctor visits after powering/unpowering the Gigabeat. Cleanup a ↵Michael Sevakis2007-05-03
| | | | | | little too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13312 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with ↵Michael Sevakis2007-05-02
| | | | | | intended interface. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
* Add backdrop support for LCD remotes with depth > 1-bit. Only WPS backdrops, ↵Nicolas Pennequin2007-04-25
| | | | | | but the groundwork is laid for main backdrops too (all that's really needed are menus to set/clear them). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13263 a1c6a512-1295-4272-9138-f99709370657
* Make recording complain about every little file I/O problem (error on ↵Michael Sevakis2007-04-25
| | | | | | close() failure and fsync() failure). Why? I guess we will find out the disk is full about 1/2 sector sooner on average when the file APIs actually detect this correctly. :/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13262 a1c6a512-1295-4272-9138-f99709370657
* FS#7036: Power saving improvements for Sansa. Shutdown LCD controller when ↵Barry Wardell2007-04-23
| | | | | | backlight is off and shutdown ATA controller when the disk isn't being accessed. Frequency scaling is not enabled yet as it was apparently causing some problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13250 a1c6a512-1295-4272-9138-f99709370657
* e200: Make the wheel light timeout configurable (under settings > system) ↵Jonathan Gordon2007-04-22
| | | | | | (FS#7067) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
* Fix some very probable typo's.Barry Wardell2007-04-22
| | | | | | | | | CPU_INT_STAT is at 0x60004000, not 0x64004000. CPU_HI_INT_STAT is at 0x60004100, not 0x64004100. Fix wrong IRQ CLR addresses being used by system_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13238 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and ↵Karl Kurbjun2007-04-21
| | | | | | myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
* Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon2007-04-16
| | | | | | | http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657