summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2007-06-08Straighten out some audio path APIs and misc. audio stuff. Having recording ↵Michael Sevakis
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
2007-06-07e200: Better sync of display enabling and display update. The display would ↵Michael Sevakis
be remain stale after being turned back on with no screen activity. Block out the fiddling with DMA when writing to driver framebuffer. Melts seem too rare to catch now. There seems to be no significant advantage from an appearance point of view to be meddling around with the transfer anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13582 a1c6a512-1295-4272-9138-f99709370657
2007-06-07increase the SD stack.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13580 a1c6a512-1295-4272-9138-f99709370657
2007-06-06Assumption about there being MPEG1-only samplerates available and therefore ↵Michael Sevakis
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
2007-06-06Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed ↵Michael Sevakis
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
2007-06-05Apply FS#7183. Also change to use documented ways to avoid inlining of ↵Magnus Holmgren
functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13564 a1c6a512-1295-4272-9138-f99709370657
2007-06-05Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman
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
2007-06-05e200: Fix errors from recording addition and a warning that comes up when ↵Michael Sevakis
fixing the errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13558 a1c6a512-1295-4272-9138-f99709370657
2007-06-05e200: Add recording. Just from MIC right now and FM integration will happen ↵Michael Sevakis
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
2007-06-04Commit part of FS7113: This adds proper LCD initialization to the gigabeat ↵Karl Kurbjun
thanks to Alex Gerchanovsky git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13552 a1c6a512-1295-4272-9138-f99709370657
2007-06-04Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
2007-06-03Some fixes to doom dehacked loading - make embedded dehacked files actually ↵Karl Kurbjun
load, fix end of file detection in the string loader, fix ammo changes, fix bex code pointers. Also added the * flag to sscanf - still only tested against rockdoom sscanf calls. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13547 a1c6a512-1295-4272-9138-f99709370657
2007-06-03e200: Update the button init code to be more correct for using GPIO IRQs.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13539 a1c6a512-1295-4272-9138-f99709370657
2007-06-03e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 ↵Michael Sevakis
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
2007-06-01Tiny fix for an unlikely error path.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13533 a1c6a512-1295-4272-9138-f99709370657
2007-06-01e200: Use clocking set up by loader and skip setting the values for now. ↵Michael Sevakis
Change a DMA related register value and leave another alone. Seems to stop the melting screen and gives a speedup especially to video and graphics. If the former isn't quite fixed, the latter definitely works. Please don't enable frequency scaling for now as that will clobber the register values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13531 a1c6a512-1295-4272-9138-f99709370657
2007-05-30Revert changes to id3.h, removing those members from the struct made binsize ↵Nils Wallménius
increase almost 1KB on some targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13528 a1c6a512-1295-4272-9138-f99709370657
2007-05-30Remove unused struct members and ifdef some for SWCODECNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13527 a1c6a512-1295-4272-9138-f99709370657
2007-05-28Accept FS#7228 by Dagni McPhee enable pitchscreen on sansaNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13505 a1c6a512-1295-4272-9138-f99709370657
2007-05-27Fix the audiohw settings stub for the sim so the rec screen doesnt crash anymoreJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13497 a1c6a512-1295-4272-9138-f99709370657
2007-05-25Bring buttons back to the e200 bootloader?Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13493 a1c6a512-1295-4272-9138-f99709370657
2007-05-23Fix typo.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13486 a1c6a512-1295-4272-9138-f99709370657
2007-05-23Allow ColdFire targets to be buildt with GCC >= 4.1.0. Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13481 a1c6a512-1295-4272-9138-f99709370657
2007-05-23ATA driver: * Support for drives with large physical sectors and no support ↵Jens Arnold
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
2007-05-22the DAC drivers need to include audiohw.h nowMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13474 a1c6a512-1295-4272-9138-f99709370657
2007-05-22make audiohw.h include the DAC header filesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13473 a1c6a512-1295-4272-9138-f99709370657
2007-05-22e200: Remute the line in with #if 0 as it causes static noise for those ↵Michael Sevakis
without a radio chip. The FM radio patch should be updated to have those lines to compile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13467 a1c6a512-1295-4272-9138-f99709370657
2007-05-22red freeChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13466 a1c6a512-1295-4272-9138-f99709370657
2007-05-22fix red ipod mini'sChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13465 a1c6a512-1295-4272-9138-f99709370657
2007-05-22* move audio settings into audio codec driversChristian Gmeiner
* 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
2007-05-22e200: Use 16-16 L-R pairs when writing to the TX FIFO. Kill the channel ↵Michael Sevakis
swapping and clicks. Reduce number of FIQs. Should be adaptable to iPods and other PP targets in a few minutes work, eh? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13463 a1c6a512-1295-4272-9138-f99709370657
2007-05-20exclude unused headersChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13453 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Fix some warnings regarding AUDIO_NUM_SOURCES being 0 which is the intent ↵Michael Sevakis
with no inputs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13452 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Oops. That shouldn't have snuck in there.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13449 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Use bitmasks to define which inputs are available. Makes it easier to remove ↵Michael Sevakis
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
2007-05-20Increase sansa volume range at the lower end. This seems to be necessary Antonius Hellmann
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
2007-05-20fix the gigabeat remote button not working when backlight is off and filter ↵Jonathan Gordon
first keypress is enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13444 a1c6a512-1295-4272-9138-f99709370657
2007-05-20add separate button defines for the Gigabeat remote controlMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13442 a1c6a512-1295-4272-9138-f99709370657
2007-05-19Reset the pcm_paused flag in the PP FIQ as well to complement the fix for FS ↵Jens Arnold
#7187. Now it also works on Mini G2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13428 a1c6a512-1295-4272-9138-f99709370657
2007-05-19always reset the pcm_paused flag when stopping playback. fixes FS #7187Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13423 a1c6a512-1295-4272-9138-f99709370657
2007-05-19Backlight=on as default for sansa bootlaoder/application. Allows instant Antonius Hellmann
screen output after lcd_init(). Useful for 'early'debugging and startup screen is visible a little longer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13418 a1c6a512-1295-4272-9138-f99709370657
2007-05-19FS#5472 add a memory size prompt to configure to allow ipod video builds forDaniel Stenberg
64 MB ram git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13408 a1c6a512-1295-4272-9138-f99709370657
2007-05-17Change i2c config on e200. Seems to speed things up somewhat.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13403 a1c6a512-1295-4272-9138-f99709370657
2007-05-17This should fix the tinniness on e200. Best recipe not worked out yet but ↵Michael Sevakis
I'll perfect later. Independently verified and hopefully will withstand wider testing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13401 a1c6a512-1295-4272-9138-f99709370657
2007-05-15Make it possible to select the correct battery capacity on ipod video, ↵Nils Wallménius
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
2007-05-15More gigabeat LCD cleanup and completely remove the use of DMA for ↵Dave Chapman
lcd_update_rect() (this was accidentally disabled anyway by the previous commit). The DMA version of lcd_update_rect() managed 64fps, but the memcpy based implementation manages 264fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13393 a1c6a512-1295-4272-9138-f99709370657
2007-05-15Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat ↵Dave Chapman
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
2007-05-15Make sure that the IDE power pin is properly initializedKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13389 a1c6a512-1295-4272-9138-f99709370657
2007-05-14Gigabeat Button/Backlight update: Reduce the number of writes to the sc606 ↵Karl Kurbjun
when control registers are not changing. Fix up some buttonlight bugs. Add in full sc606 initialization during the backlight init. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13384 a1c6a512-1295-4272-9138-f99709370657
2007-05-14Remove some unneeded buttonlight codeKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13383 a1c6a512-1295-4272-9138-f99709370657