Commit graph

4084 commits

Author SHA1 Message Date
Michael Sevakis
4a2ed72b5c Oops. That shouldn't have snuck in there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13449 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 20:29:53 +00:00
Michael Sevakis
8f659ae8d3 Use bitmasks to define which inputs are available. Makes it easier to remove 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-20 20:26:36 +00:00
Antonius Hellmann
731d7a16c3 Increase sansa volume range at the lower end. This seems to be necessary
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-20 19:09:15 +00:00
Jonathan Gordon
cfa94a206c fix the gigabeat remote button not working when backlight is off and filter first keypress is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13444 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 14:03:42 +00:00
Marcoen Hirschberg
0037a1b648 add separate button defines for the Gigabeat remote control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13442 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 11:42:04 +00:00
Jens Arnold
705d2f879f Reset the pcm_paused flag in the PP FIQ as well to complement the fix for FS #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-19 20:37:12 +00:00
Marcoen Hirschberg
eb7603f1c5 always reset the pcm_paused flag when stopping playback. fixes FS #7187
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13423 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 19:30:08 +00:00
Antonius Hellmann
5acb2d5d76 Backlight=on as default for sansa bootlaoder/application. Allows instant
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-19 18:56:38 +00:00
Daniel Stenberg
cca0e3d8f8 FS#5472 add a memory size prompt to configure to allow ipod video builds for
64 MB ram


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13408 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 14:35:11 +00:00
Michael Sevakis
af272592f5 Change i2c config on e200. Seems to speed things up somewhat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13403 a1c6a512-1295-4272-9138-f99709370657
2007-05-17 22:49:27 +00:00
Michael Sevakis
95bab91935 This should fix the tinniness on e200. Best recipe not worked out yet but 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-17 10:14:17 +00:00
Nils Wallménius
7906ed3427 Make it possible to select the correct battery capacity on ipod video, 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-15 21:21:52 +00:00
Dave Chapman
0030378f74 More gigabeat LCD cleanup and completely remove the use of DMA for 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-15 16:00:06 +00:00
Dave Chapman
e22b33ec72 Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat 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-15 14:26:44 +00:00
Karl Kurbjun
670559f868 Make sure that the IDE power pin is properly initialized
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13389 a1c6a512-1295-4272-9138-f99709370657
2007-05-15 00:22:51 +00:00
Karl Kurbjun
9a90d557e4 Gigabeat Button/Backlight update: Reduce the number of writes to the sc606 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-14 05:04:21 +00:00
Karl Kurbjun
28903c353e Remove some unneeded buttonlight code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13383 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 04:52:36 +00:00
Christian Gmeiner
f04e85a92a enable lineIn1 - lets hope FM chip is connected to lineIn 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13378 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 15:18:35 +00:00
Michael Sevakis
bfb281ff63 Messages queues must be guarded on both ends or else it's a race between 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-12 05:20:04 +00:00
Michael Sevakis
87c70db578 Didn't even notice that Sansa bootloader warning until now. Fix it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13373 a1c6a512-1295-4272-9138-f99709370657
2007-05-11 21:52:54 +00:00
Marcoen Hirschberg
685001f0d4 revert the last changes because they prevent some Gigabeats from shutting down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13372 a1c6a512-1295-4272-9138-f99709370657
2007-05-11 16:42:53 +00:00
Michael Sevakis
d92e09556f GPIO IRQ ready button driver for e200 series. Can't actually use them yet 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-11 08:09:49 +00:00
Karl Kurbjun
1fc2d91a83 More Gigabeat button light fixes. Settings now work properly, startup does 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-10 03:08:47 +00:00
Antonius Hellmann
ab75d0eaae display error/boot messages in the sansa bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13366 a1c6a512-1295-4272-9138-f99709370657
2007-05-09 17:27:56 +00:00
Karl Kurbjun
b15ef987ca Fix a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13357 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 06:57:08 +00:00
Karl Kurbjun
6f95ab7de7 Add in buttonlight brightness setting for the Gigabeat, and setup the 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-08 06:45:38 +00:00
Karl Kurbjun
830576bb0b Few more code cleanups to the button light work. This reduces the 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-08 05:47:36 +00:00
Karl Kurbjun
7ef0af07f1 Faster/Smoother fading on the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13354 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 03:57:42 +00:00
Karl Kurbjun
bd07b3c336 Fix the red Gigabeat bootloader: Add a dummy for button_backlight_on with the rest of the backlight functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13351 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 00:49:08 +00:00
Karl Kurbjun
173b611921 Basic gigabeat buttonlight support outside of debug menu FS#7112. Also 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-07 19:34:34 +00:00
Jonathan Gordon
685005ec4c e200: set the default values to stop the backlight turning off on boot, regardless of the setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13334 a1c6a512-1295-4272-9138-f99709370657
2007-05-06 15:01:06 +00:00
Michael Sevakis
fd8dd686f4 Default HW_SAMPR_CAPS should be SAMPR_CAP_44, not 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13323 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 16:21:32 +00:00
Michael Sevakis
5d73049768 Gigabeat: Remove the 8kHz for now because it doesn't seem to work too well. 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-04 15:21:24 +00:00
Antonius Hellmann
621cf0788f bugfixes in AS3514 shadow register handling, for details see patch #7101
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13319 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 10:28:07 +00:00
Antonius Hellmann
d68a51680f date calculation corrected, fixes #7096 and #7097
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13318 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 07:37:19 +00:00
Michael Sevakis
d989f19eda No more ear doctor visits after powering/unpowering the Gigabeat. Cleanup a little too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13312 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 18:08:00 +00:00
Michael Sevakis
f48e0b514c Gigabeat: Get rid of the obsolete FIQ wrapper (not used on PP anymore FIY, 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-03 12:39:36 +00:00
Michael Sevakis
3c38fe4204 Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with intended interface.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
2007-05-02 22:33:24 +00:00
Michael Sevakis
4e24bb9976 e200: Add register defines for the LCD driver IC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13300 a1c6a512-1295-4272-9138-f99709370657
2007-05-01 19:21:27 +00:00
Michael Sevakis
a05bb26233 Gigabeat F/X: Correct the yielding in the ATA. Dump the unneeded DMA 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-30 12:54:05 +00:00
Michael Sevakis
0987a6be89 This is how it should have been done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13292 a1c6a512-1295-4272-9138-f99709370657
2007-04-30 08:47:34 +00:00
Michael Sevakis
c7f84b6763 ARM/PP: more optimized set_irq_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13291 a1c6a512-1295-4272-9138-f99709370657
2007-04-30 08:16:25 +00:00
Michael Sevakis
1990349716 Speed up Portal Player i2c driver. It suffered the same priority inversion problems as the ATA driver once did.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13290 a1c6a512-1295-4272-9138-f99709370657
2007-04-30 07:37:26 +00:00
Daniel Stenberg
441d80318b removed unnecessary #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13276 a1c6a512-1295-4272-9138-f99709370657
2007-04-27 07:16:31 +00:00
Daniel Stenberg
5079812031 avoid declaring shadow 'rc' variables (-Wshadow!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13270 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 10:29:41 +00:00
Nicolas Pennequin
7fdfa56454 Add backdrop support for LCD remotes with depth > 1-bit. Only WPS backdrops, 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
2007-04-25 21:44:56 +00:00
Michael Sevakis
205ec3279d Make recording complain about every little file I/O problem (error on 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
2007-04-25 19:53:34 +00:00
Barry Wardell
7027c6a0f8 FS#7036: Power saving improvements for Sansa. Shutdown LCD controller when 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
2007-04-23 23:26:23 +00:00
Christian Gmeiner
1245d0fddd clean up some #include's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13247 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 18:17:48 +00:00
Jonathan Gordon
4dcc32cd77 fix bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13245 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 13:15:53 +00:00
Jonathan Gordon
4b1d1b4033 e200: Make the wheel light timeout configurable (under settings > system) (FS#7067)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 13:02:24 +00:00
Barry Wardell
54866bdc9e Don't need all those #include's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13242 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:44:45 +00:00
Barry Wardell
ee80bcaa79 Fix build errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13240 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:27:54 +00:00
Barry Wardell
f43e50dc53 Move PortalPlayer system.c code into the target tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13239 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:03:17 +00:00
Barry Wardell
0a643b8d90 Fix some very probable typo's.
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
2007-04-22 11:30:32 +00:00
Jens Arnold
c49d5dd631 Coldfire targets: Adjusted PLL settings (lowest possible VCO clock for each setting) and IDE timing (especially it's faster now on M5+X5). * Added/updated table showing the necessary settings (PLL, refresh, waitstates, IDE timing) for each possible clock frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13230 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 09:29:01 +00:00
Jens Arnold
c69f032df4 Player: Fix the dollar sign for old LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13228 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 05:32:11 +00:00
Karl Kurbjun
8a1fd8c686 Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and 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
2007-04-21 04:48:20 +00:00
Marcoen Hirschberg
15dfe87f96 move audio drivers together into a subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13209 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:46:50 +00:00
Marcoen Hirschberg
f725ef1256 move to target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13208 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:20:54 +00:00
Marcoen Hirschberg
6ffbe3896b move the iriver ifp7xx and other pnx0101 related files together in the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13207 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:14:55 +00:00
Jonathan Gordon
710a9ca194 allow the backlight on hold setting to work correctly on sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13206 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 08:03:23 +00:00
Marcoen Hirschberg
f44f961812 move the Gigabeat from gigabeat/meg-fx to s3c2440/gigabeat-fx to avoid problems with possible ports in the future: Gigabeat S/V (i.mx31 based) and Kenwood HD20GA7/HD20GA9 (s3c2440 based)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13200 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 12:22:27 +00:00
Michael Sevakis
521d6a5e1f H100 S/PDIF recording: Check and clear the correct interrupt bits when recording from digital in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13198 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 02:07:56 +00:00
Jonathan Gordon
5e6e7c5ce5 hmm.... do it a bit nicerly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 11:41:07 +00:00
Jonathan Gordon
7056391eb1 Only trigger a wheel press once per click like the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13195 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 11:36:54 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
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
2007-04-16 09:14:36 +00:00
Jens Arnold
7a5d4011f5 Moved SH1 ADC to target tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13174 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 23:35:56 +00:00
Jens Arnold
36ba4b02bd A bit of clarification of code origin. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13173 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 22:52:42 +00:00
Christian Gmeiner
d226bfdc21 fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13170 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 21:32:17 +00:00
Christian Gmeiner
947eb50d64 adapt some values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13167 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 14:38:22 +00:00
Christian Gmeiner
8a5ecc8eb4 * save more power, as we dont need the mixer (yet)
* clean up headers and other clean ups


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13166 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 14:05:58 +00:00
Michael Sevakis
ac94641606 e200: Use cached memory for the yuv chroma buffer. Gives some speedup. Align lcd_driver_framebuffer to the same alignment as lcd_framebuffer. The need for this became apparent when the first change cause aligment & 3 != 0 and the screen was wrapped one pixel right with a black pixel at (0, 0).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13161 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 19:49:58 +00:00
Michael Sevakis
d803cf5e4e Heh. Better way to load the PROCESSOR_ID address. Thanks Thom. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13156 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 11:46:05 +00:00
Michael Sevakis
036168cbf9 PP5020/PP5024: Add ASM optimized inline current_core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13155 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 11:15:43 +00:00
Jens Arnold
0b7bb31453 Simplification, queue pointers don't wrap (except at INT_MAX, but the calculation is still correct in this case). Implemented queue_count() for the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13154 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 09:47:47 +00:00
Christian Gmeiner
3d6436e530 fix volume of left headphone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13152 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 02:00:44 +00:00
Michael Sevakis
20c6bf50fe Do the target shuffle again a better way by including from higher levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13151 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 01:18:06 +00:00
Christian Gmeiner
ca6f4abcf1 * make it louder - inspired by FS #6911
* disable some unneeded stuff -> save power
* remove some unneeded functions
* shadow registers, so we dont need to do so much i2c traffic



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13150 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 00:49:35 +00:00
Michael Sevakis
bd6cb34f48 Hrmph. Forgot the other instance of cache hacking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13146 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 21:25:07 +00:00
Michael Sevakis
c0b463dd0b Fix 3G errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 21:13:14 +00:00
Michael Sevakis
d95c39072a Portal Player: Add invalidate_icache and flush_icache. Flush the cache on the core for newborn threads. In doing so, move more ARM stuff to the target tree and organize it to make a clean job of it. If anything isn't appropriate for some particular device give a hollar or even just fix it by some added #ifdefing. I was informed that the PP targets are register compatible so I'm going off that advice. The Sansa likes it though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13144 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 20:55:48 +00:00
Dave Chapman
e10f455fbd Simplify the readshort/readlong/readstr functions - move the bounds checking into the calling function (which allows bounds-checking in chunks) and change the readshort/readlong functions (which now always succeed) to return the value read instead of a result code. Indirectly closes FS #7026
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13143 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 19:51:19 +00:00
Jens Arnold
6222b2e693 Fix bootloader warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13137 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:26:19 +00:00
Jens Arnold
47bf6c5a5a Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:12:13 +00:00
Barry Wardell
ddf83009a1 Switch to mi4 format for Rockbox binary on H10 and Sansa. This means we now only have one binary format to deal with on this target. Users with bootloaders older than 20 March 2007 will have to update. Up to date ones are already on download.rockbox.org since that date.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13134 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 21:07:35 +00:00
Marcoen Hirschberg
9291ae50ca simplify UDA1380 bass and treble code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13122 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:08:49 +00:00
Marcoen Hirschberg
91ea874c71 remove Sansa from the todo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13121 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:03:56 +00:00
Karl Kurbjun
dcf6bd23f3 Fix the backlight and led bugs from my last commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13119 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 07:21:51 +00:00
Jens Arnold
4c151dcb21 Oops, forgot to commit 2 new files...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13115 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:54:34 +00:00
Jens Arnold
8636e6949e Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Jens Arnold
d6e822cab9 Get rid of some old archos debug cruft (USB polarity, PR polarity and ATA address are all derived from the hw mask, and master/slave isn't displayed on other targets either). * Get rid of all the USB*STYLE macros (except USB_IPODSTYLE).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13112 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:26:58 +00:00
Jens Arnold
fad79dc636 Moved archos USB handling to target tree. Minor simplification for coldfire (only one usb-target.h).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13110 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 20:44:32 +00:00
Karl Kurbjun
60fed9aeb6 Gigabeat: Pin initialization for the USB and ATA interface. This also adds proper coldstart detection for the ATA interface.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13103 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:30:15 +00:00
Michael Sevakis
6689cb0f9b mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 14:18:30 +00:00
Michael Sevakis
af7780e0b3 More complete sized integer definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13092 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 09:43:06 +00:00
Barry Wardell
13c111aaec Remove unused code (already moved to target tree).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13091 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 01:22:52 +00:00
Karl Kurbjun
84789c6f6d RTC alarm for Gigabeat. Will be useful one the OF bootloader is no longer required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13077 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 06:27:35 +00:00
Jonathan Gordon
a053e58894 minor actions cleanup:
- CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions
- (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 01:33:01 +00:00
Miika Pekkarinen
7b1e827f0c Dircache fixes: Stop scanning properly if shutdown is initiated. Require user to re-enable dircache if initialization fails. Don't create statefile unless eeprom settings have been initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13060 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 17:48:51 +00:00