Michael Sevakis
ebe67b28e3
e200: Update the button init code to be more correct for using GPIO IRQs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13539 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 15:17:01 +00:00
Michael Sevakis
5c32faad43
e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 afterall and verified independently. There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13538 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 14:31:42 +00:00
Steve Bavin
9e107b4835
Tiny fix for an unlikely error path.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13533 a1c6a512-1295-4272-9138-f99709370657
2007-06-01 10:46:52 +00:00
Michael Sevakis
13067f6c71
e200: Use clocking set up by loader and skip setting the values for now. Change a DMA related register value and leave another alone. Seems to stop the melting screen and gives a speedup especially to video and graphics. If the former isn't quite fixed, the latter definitely works. Please don't enable frequency scaling for now as that will clobber the register values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13531 a1c6a512-1295-4272-9138-f99709370657
2007-06-01 01:05:57 +00:00
Nils Wallménius
7956c92f92
Revert changes to id3.h, removing those members from the struct made binsize increase almost 1KB on some targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13528 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 22:16:11 +00:00
Nils Wallménius
cd715d8468
Remove unused struct members and ifdef some for SWCODEC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13527 a1c6a512-1295-4272-9138-f99709370657
2007-05-30 21:57:15 +00:00
Nils Wallménius
68030f1a42
Accept FS#7228 by Dagni McPhee enable pitchscreen on sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13505 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 19:26:24 +00:00
Jonathan Gordon
43c299eaa1
Fix the audiohw settings stub for the sim so the rec screen doesnt crash anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13497 a1c6a512-1295-4272-9138-f99709370657
2007-05-27 04:00:56 +00:00
Michael Sevakis
31df21c4f9
Bring buttons back to the e200 bootloader?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13493 a1c6a512-1295-4272-9138-f99709370657
2007-05-25 22:41:44 +00:00
Jens Arnold
46b634fd57
Fix typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13486 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 21:40:54 +00:00
Magnus Holmgren
7b3abf292f
Allow ColdFire targets to be buildt with GCC >= 4.1.0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13481 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 18:11:55 +00:00
Jens Arnold
c5d71aab16
ATA driver: * Support for drives with large physical sectors and no support for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 17:51:18 +00:00
Marcoen Hirschberg
85f06b885d
the DAC drivers need to include audiohw.h now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13474 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 20:39:50 +00:00
Marcoen Hirschberg
10e21d19bf
make audiohw.h include the DAC header files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13473 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 20:17:35 +00:00
Michael Sevakis
d9bbf5af8e
e200: Remute the line in with #if 0 as it causes static noise for those 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-22 16:56:26 +00:00
Christian Gmeiner
644d315ec0
red free
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13466 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 16:20:14 +00:00
Christian Gmeiner
98e4f6fd3e
fix red ipod mini's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13465 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 16:12:30 +00:00
Christian Gmeiner
cdbf33adf7
* move audio settings into audio codec drivers
...
* 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-22 15:56:05 +00:00
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
Christian Gmeiner
bcdf43dbc1
exclude unused headers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13453 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 23:10:15 +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
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