Commit graph

405 commits

Author SHA1 Message Date
Michael Sevakis
e7075db2a7 e200: Use 16-16 L-R pairs when writing to the TX FIFO. Kill the channel 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-22 15:34:24 +00:00
Michael Sevakis
080d65f17b Fix some warnings regarding AUDIO_NUM_SOURCES being 0 which is the intent with no inputs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13452 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 22:03:11 +00:00
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
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
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
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
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
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
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
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
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
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
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