summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2007-10-23Unify the Gigabeat F/X and M:Robe MMU code while enabling it for the M:RobeKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15275 a1c6a512-1295-4272-9138-f99709370657
2007-10-22mr500 sort of working battery measurments. probably could be done better, ↵Jonathan Gordon
but it works git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15271 a1c6a512-1295-4272-9138-f99709370657
2007-10-22nope, reread the datasheet... this one is correctJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15267 a1c6a512-1295-4272-9138-f99709370657
2007-10-22fix writing to registers on the tsc2100Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15265 a1c6a512-1295-4272-9138-f99709370657
2007-10-22touchpad driver for the mrobe. nothing in apps/ uses it yet.Jonathan Gordon
Changes to button driver: HAVE_BUTTON_DATA targets pass the button data straight back in the button_read_device() call git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15262 a1c6a512-1295-4272-9138-f99709370657
2007-10-22revert the previous one... = is ok and a touch fasterJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15261 a1c6a512-1295-4272-9138-f99709370657
2007-10-22fix the interupt clearingJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15259 a1c6a512-1295-4272-9138-f99709370657
2007-10-22Assembler optimised lcd_yuv_blit() for iPod Video (Fs #7951 by Andree ↵Jens Arnold
Buschmann, adapted and separated into an .S file by me). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15257 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Fix an error and a commentKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15255 a1c6a512-1295-4272-9138-f99709370657
2007-10-21More M:Robe work including a fix to lcd-as-memframe for larger screens ↵Karl Kurbjun
thanks to Michael Sevakis. Also fixes simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Be sure to register a new mutex owner _before_ waking it. Won't be an issue ↵Michael Sevakis
now but would be with mutex recursion on one used for > 1 core where ownership transfer and cs entry/recursion are allowed to run in parallel (by design). TODO: Add true exchange to wakeup_thread but that's not really important for the time being. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15251 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Implement YUV dithering for c200, and enable the option in mpegplayer.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15246 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Fixed warnings when logf is enabled.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15243 a1c6a512-1295-4272-9138-f99709370657
2007-10-21The interrupt disable is only relevant on multicore targets.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15241 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Don't keep interrupts disabled when waking a frozen thread. Fixes frozen UI ↵Jens Arnold
on H10 while dircache scan is running in the background. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15239 a1c6a512-1295-4272-9138-f99709370657
2007-10-20Set svn:keywordsNicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15222 a1c6a512-1295-4272-9138-f99709370657
2007-10-19Save a little space and only initialize the minimum for initial threads at ↵Michael Sevakis
startup. The BSS sections should already be zereod and if they're mistakenly not, be sure to crash ASAP. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15204 a1c6a512-1295-4272-9138-f99709370657
2007-10-19Reverse some logic with Peterson's algorithm and cut an instruction. Make ↵Michael Sevakis
C-reference reflect it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15199 a1c6a512-1295-4272-9138-f99709370657
2007-10-19init spi and uart in the main buildJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
2007-10-18slightly better touchpad driver. Still not brilliant, but the ↵Jonathan Gordon
bootloader/debugger can follow a stylus with a cursor, so we can start work on getting apps/ working git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15187 a1c6a512-1295-4272-9138-f99709370657
2007-10-18Make rockbox think we have a full battery untill this actually works, ↵Jonathan Gordon
otherwise apps/ doesnt like it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15186 a1c6a512-1295-4272-9138-f99709370657
2007-10-18Some changes to the UART/button driver - reduce the number of interrupts - ↵Karl Kurbjun
more work is needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15180 a1c6a512-1295-4272-9138-f99709370657
2007-10-18PP502x: Get switch_thread back out of IRAM and devise a better core wakeup ↵Michael Sevakis
system that's not timing dependant. Hopefully something simpler will be found or devised eventually that meets all requirements. Rename mailbox-related registers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15179 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Coldfire: Partially revert buffered writes, and enable them explicitly for ↵Jens Arnold
the LCD only. Turned out that with buffered writes enabled, reads after writes are not always serialized, which is a bad thing for I/O. Buffered writes to the LCD are safe because that's write-only. Fixes FS #7985. How come I didn't notice this earlier? :> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15173 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Turns out you can boot the main build by copying apps/rockbox.bin to ↵Karl Kurbjun
/rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Fix core_sleep for targets that have not implemented it yetKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15159 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Apply Akio Idehara's fix for FS#7972 - Fix ARM's swp (xchg) inline assembly ↵Michael Sevakis
for gcc 4.2. Also avoids UNPREDICTABLE behavior that GCC should have always warned about. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15157 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Take out some NOCACHEBSS_ATTR's that were accidentally left. Put some ↵Michael Sevakis
threading code in IRAM that should be there on PP502x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15155 a1c6a512-1295-4272-9138-f99709370657
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