summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2007-10-16Parts of FS #7951 by Andree Buschmann. Faster YUV BLIT (means faster ↵Thom Johansen
mpegplayer) for Ipods Nano and Video while we're waiting for the assembler ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15147 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Improved H10 ADC driver. We now do things exactly as the OF does. This ↵Barry Wardell
includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Oops made a mistake that messed up test_and_set selection.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15139 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finish the conversion to packed i2s for PP502x. Karl Kurbjun-approved for ↵Michael Sevakis
Mini-1G. Simplify the pcm format selection #ifdefs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15137 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis
towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Coldfire targets: enable buffered writes by default. Speeds up all sorts of ↵Jens Arnold
I/O that writes to ports: LCD update (except the functions using DMA on H300), ATA writes, .... Some timings had to be adjusted for the new configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15129 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier
was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Fix coldfire PCF50606 I2C driver, and iriver FM radio I2C driver. Both ↵Jens Arnold
drivers had wrong timing, discovered while experimenting with buffered writes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15122 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Fix some plugins that use NULL instead of -1 when not using a voice id in ↵Michael Sevakis
struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Bugfix: The solid colour and gradient selector no longer extends to the left ↵Jens Arnold
display margin when the text needs to scroll and the lcd margins are zeroed, e.g. overwriting the icon in the file browser when loading a file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15115 a1c6a512-1295-4272-9138-f99709370657
2007-10-14H300, X5: Optimised lcd_yuv_blit(), using line-pair zig-zag writing to the ↵Jens Arnold
LCD controller. ~7% speedup on H300, ~5% speedup on X5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15111 a1c6a512-1295-4272-9138-f99709370657
2007-10-13Fix warnings by being stricter about declaring volume min/maxDan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15102 a1c6a512-1295-4272-9138-f99709370657
2007-10-13Fix broken sims by defining default volume min and max.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15101 a1c6a512-1295-4272-9138-f99709370657
2007-10-13Make the volume range in the simulator match the target being simulated.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15100 a1c6a512-1295-4272-9138-f99709370657
2007-10-13M:Robe - Fix compilation and remove some warningsKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15095 a1c6a512-1295-4272-9138-f99709370657
2007-10-12H10 LCD driver size reductions: Un-inline a function for H10 20GB, and ↵Jens Arnold
introduce lcd_write_reg() for H10 5/6GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15090 a1c6a512-1295-4272-9138-f99709370657
2007-10-12PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. ↵Jens Arnold
Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
2007-10-11These functions haven't been implemented yet - remove their content to get ↵Will Robertson
Gigabeat S builds compiling again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15074 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Fix FS #5852 by trying to properly close and update the recorded file, and ↵Peter D'Hoye
give the FAT the correct file info. Add filehandle checks to some file functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15072 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Enable recording for Sansa c200, the keymap is usable but maybe could still ↵Marianne Arnold
be improved later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15071 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Increase step size of stereo width to 5% to avoid tediously long list in ↵Thom Johansen
settings. Reduce max limit from 255% to 250% for cosmetic reasons, value of 255% was chosen because of (very) old restrictions in settings system anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15057 a1c6a512-1295-4272-9138-f99709370657
2007-10-09fix yellow and some house cleaningRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Packed I2S for ipod Color (tested) and ipod 4G (untested, but assumed to be ↵Dave Chapman
the same as the Color - everything else is). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15053 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS#7487 - mpegplayer - video start time seek with resumeRobert Kukla
by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Change c200 and e200 to use the same IIS FIFO format as seems to be working ↵Michael Sevakis
for others. Samples there have been packed for a long time though so no change to that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15051 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Packed I2S for iPod Mini G2.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15050 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS #7917 by Andree Buschmann. Packed I2S also for Ipod Video.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15049 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Keep track of the number of opened files in the sim to enforce the same ↵Nicolas Pennequin
limit as on target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Unbloat the PCM changes on PortalPlayerMichael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15041 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Make Ipod Nano use packed 16 bit IIS FIFO transfers as well.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15040 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Red-out on the e200/c200 sims.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15039 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Hopefully take care of FS#7806 - Current Sansapatcher fails to boot OF by ↵Michael Sevakis
removing all hotswap support from the bootloader. It won't fully be closed until Sansapatcher is updated of course. There's still a report of the partition dump not working unless 20 bytes of padding are inserted at the start of main() but that's only a developer-enabled feature. Seems weird though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15038 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Make sure that audio_resume() is not called in interrupt context when car ↵Linus Nielsen Feltzing
adapter mode is enabled. Fixes FS#7304. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15034 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Still on the post-big-commit policing. Correct a function call order. ↵Michael Sevakis
Comment a couple things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15031 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Finally get packed samples to work in a nice way on H10 in IIS mode. Add ↵Michael Sevakis
some more register defs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15026 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: First implemention of lcd_yuv_blit(). mpegplayer works now, but speed ↵Jens Arnold
can be optimized more and dithering is not yet implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15020 a1c6a512-1295-4272-9138-f99709370657
2007-10-07* Use proper definitions for the PP (mono) LCD bridge. * Clean up pp5002.h a ↵Jens Arnold
bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15018 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Name all button light functions and variables consistently starting with ↵Jens Arnold
buttonlight_ . git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15016 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Fix red bootloader build.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15015 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: Make the backlight react on unlocking hold as intended.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: Switch the 'menu' button light as well.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15012 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Use halfword IIS FIFO mode for H10. Won't save interrupts but seems it ↵Michael Sevakis
should be the DMA compatible mode. Setup pcm-pp.c to ease evaluating setting up PortalPlayer targets for DMA audio and for building an inventory of proper I2S settings and transfer sizes for all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15009 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Oops. Correct reversed DSP mode A/B bits for WM8731/21.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15008 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Remove a setting of a register during H10 reset that shouldn't have been ↵Michael Sevakis
included in my previous commit. Not evaluated properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15007 a1c6a512-1295-4272-9138-f99709370657
2007-10-06Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis
including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-06Discontinue any use of 'swp(b)' on PP5020. While clocking is stable, some ↵Michael Sevakis
testing revealed this instruction can still cause problems without concurrent access. Make sure mpegplayer is safe while not using spinlock (no longer atomic) between cores to protect the stream byte counters - use nonwrapping head and tail pointers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15005 a1c6a512-1295-4272-9138-f99709370657
2007-10-06TAB policing - no code changesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15000 a1c6a512-1295-4272-9138-f99709370657
2007-10-05Stabilize PP5020 targets - tested on H10 5/20GB and iPod Color. Use no ↵Michael Sevakis
interrupts on COP but pulse it through the control interface. Don't mess with LCD clocking during clock changes. Give a reset register a name (DEV_OFF_MASK). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14998 a1c6a512-1295-4272-9138-f99709370657
2007-10-04Change a couple udelay() in e200 lcd driver to sleep() since sleep() was the ↵Michael Sevakis
intent. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14982 a1c6a512-1295-4272-9138-f99709370657
2007-10-04The UNCACHED_ADDR macro should not adjust addresses in the bootloader.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14981 a1c6a512-1295-4272-9138-f99709370657