summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2007-05-22e200: Remute the line in with #if 0 as it causes static noise for those ↵Michael Sevakis1-0/+2
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 Gmeiner1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13466 a1c6a512-1295-4272-9138-f99709370657
2007-05-22fix red ipod mini'sChristian Gmeiner1-0/+3
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 Gmeiner22-133/+336
* 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 Sevakis3-17/+68
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 Gmeiner5-50/+4
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 Sevakis1-1/+5
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 Sevakis1-10/+0
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 Sevakis23-46/+217
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 Hellmann3-15/+29
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 Gordon1-1/+5
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 Hirschberg2-11/+20
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 Arnold1-0/+2
#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 Hirschberg4-2/+4
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 Hellmann1-5/+1
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 Stenberg1-0/+5
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 Sevakis4-3/+9
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 Sevakis1-0/+7
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énius2-12/+13
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 Chapman2-42/+3
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 Chapman3-114/+0
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 Kurbjun1-0/+4
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 Kurbjun1-30/+79
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 Kurbjun1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13383 a1c6a512-1295-4272-9138-f99709370657
2007-05-13enable lineIn1 - lets hope FM chip is connected to lineIn 1Christian Gmeiner1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13378 a1c6a512-1295-4272-9138-f99709370657
2007-05-12Messages queues must be guarded on both ends or else it's a race between ↵Michael Sevakis5-68/+124
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
2007-05-11Didn't even notice that Sansa bootloader warning until now. Fix it.Michael Sevakis1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13373 a1c6a512-1295-4272-9138-f99709370657
2007-05-11revert the last changes because they prevent some Gigabeats from shutting downMarcoen Hirschberg1-90/+111
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13372 a1c6a512-1295-4272-9138-f99709370657
2007-05-11GPIO IRQ ready button driver for e200 series. Can't actually use them yet ↵Michael Sevakis3-98/+208
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
2007-05-10More Gigabeat button light fixes. Settings now work properly, startup does ↵Karl Kurbjun4-49/+72
not cause the button lights to flash when disabled. Buttonlights are now shutdown on power off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13368 a1c6a512-1295-4272-9138-f99709370657
2007-05-09display error/boot messages in the sansa bootloaderAntonius Hellmann1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13366 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Fix a warningKarl Kurbjun1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13357 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Add in buttonlight brightness setting for the Gigabeat, and setup the ↵Karl Kurbjun4-5/+63
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
2007-05-08Few more code cleanups to the button light work. This reduces the ↵Karl Kurbjun1-11/+14
flickering of the backlight when a button is held (fewer sc606 writes). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13355 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Faster/Smoother fading on the GigabeatKarl Kurbjun1-18/+26
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13354 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Fix the red Gigabeat bootloader: Add a dummy for button_backlight_on with ↵Karl Kurbjun1-0/+1
the rest of the backlight functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13351 a1c6a512-1295-4272-9138-f99709370657
2007-05-07Basic gigabeat buttonlight support outside of debug menu FS#7112. Also ↵Karl Kurbjun11-733/+265
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
2007-05-06e200: set the default values to stop the backlight turning off on boot, ↵Jonathan Gordon1-2/+2
regardless of the setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13334 a1c6a512-1295-4272-9138-f99709370657
2007-05-04Default HW_SAMPR_CAPS should be SAMPR_CAP_44, not 0.Michael Sevakis1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13323 a1c6a512-1295-4272-9138-f99709370657
2007-05-04Gigabeat: Remove the 8kHz for now because it doesn't seem to work too well. ↵Michael Sevakis2-7/+3
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
2007-05-04bugfixes in AS3514 shadow register handling, for details see patch #7101Antonius Hellmann1-3/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13319 a1c6a512-1295-4272-9138-f99709370657
2007-05-04date calculation corrected, fixes #7096 and #7097Antonius Hellmann1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13318 a1c6a512-1295-4272-9138-f99709370657
2007-05-03No more ear doctor visits after powering/unpowering the Gigabeat. Cleanup a ↵Michael Sevakis5-95/+52
little too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13312 a1c6a512-1295-4272-9138-f99709370657
2007-05-03Gigabeat: Get rid of the obsolete FIQ wrapper (not used on PP anymore FIY, ↵Michael Sevakis2-40/+39
but no change there). Use the FIQ stack for DMA address and size variables instead of globals. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13309 a1c6a512-1295-4272-9138-f99709370657
2007-05-02Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with ↵Michael Sevakis8-153/+585
intended interface. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
2007-05-01e200: Add register defines for the LCD driver IC.Michael Sevakis1-46/+93
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13300 a1c6a512-1295-4272-9138-f99709370657
2007-04-30Gigabeat F/X: Correct the yielding in the ATA. Dump the unneeded DMA ↵Michael Sevakis2-20/+15
transfer complete interrupt in there too. Clean it out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13293 a1c6a512-1295-4272-9138-f99709370657
2007-04-30This is how it should have been done.Michael Sevakis1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13292 a1c6a512-1295-4272-9138-f99709370657
2007-04-30ARM/PP: more optimized set_irq_level()Michael Sevakis1-5/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13291 a1c6a512-1295-4272-9138-f99709370657
2007-04-30Speed up Portal Player i2c driver. It suffered the same priority inversion ↵Michael Sevakis1-8/+9
problems as the ATA driver once did. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13290 a1c6a512-1295-4272-9138-f99709370657