Thomas Martitz
3c5e67516b
FS#10151 - e200v2: scrollwheel acceleration by Dustin Skoracki. Improves the scroll wheel acceleration on the e200v2 mainly by not decrementing the counter which which causes the acceleration if a wheel read was missed due to lcd operation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20822 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:50:12 +00:00
Karl Kurbjun
bee99e496f
M:Robe 500: Fix red, commit missing work, reduce lcd wakeup time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20819 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:20:31 +00:00
Karl Kurbjun
57ca7ccf36
M:Robe 500: Rearrage TSC2100 reads to make touchscreen more reliable, add hack to get lcd_sleep working/called again, fix the panic handler so that it waits for the power button to be pressed instead of freezing the player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20818 a1c6a512-1295-4272-9138-f99709370657
2009-04-28 05:07:25 +00:00
Bertrik Sikken
0d6a28edc3
Enable FM radio on the sansa c200v2 (untested).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20809 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 21:28:34 +00:00
Boris Gjenero
7e3f8e0c08
Remove workaround for FS#10130 from 5G iPod LCD sleep code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20806 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 18:51:14 +00:00
Thomas Martitz
8e8c36019c
FS#10126 - lcd_e200v2 cleanup by Michael Chicoine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20801 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:14:19 +00:00
Thomas Martitz
ace509a2ff
FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some weirdnesses with button reading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:05:53 +00:00
Thomas Martitz
6abae1f124
Remove the calls to backlight_lcd_sleep_countdown from target specific code and move it into backlight.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20793 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 01:23:39 +00:00
Bertrik Sikken
dccdce6c3c
Remove unnecessary #include "adc.h"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20791 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 22:24:59 +00:00
Thomas Martitz
0017dfbe82
Rename _buttonlight_timeout and use a function call instead of extern'ing buttonlight_timeout to be more inline with backlight, and use a #define instead of a const variable for !HAVE_LCD_SLEEP_SETTING (no functional changes)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20784 a1c6a512-1295-4272-9138-f99709370657
2009-04-25 18:15:50 +00:00
Karl Kurbjun
6138a16853
Gigabeat FX: Use the bootsplash stored in flash when bootloader is started from flash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20769 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:39:17 +00:00
Karl Kurbjun
4d3be1b1de
Gigabeat FX: Small comment format change to MMU setup code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20767 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:35:10 +00:00
Karl Kurbjun
acbe8599b6
Add second buffer for YUV blitting, progressbar and FPS display in mpegplayer work correct now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20766 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 04:29:10 +00:00
Thomas Martitz
e29358c154
Fix FS#10128 - The View IO Ports debug menu showed weird dbop values (sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20757 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 20:11:01 +00:00
Boris Gjenero
88b509b7d2
Fix FS#9926 - On Photo and Color iPods, correct check for whether battery is charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20752 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 22:06:17 +00:00
Boris Gjenero
75a0a434d1
Add USB power detection for 4G, Photo, Color, 1G Mini and 2G Mini iPods. (See FS#5826 and FS#7727)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20745 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 18:17:35 +00:00
Thomas Martitz
aef5731d71
FS#10148 by Dustin Skoracki, removes a redundant check for != BUTTON_NONE in the scrollwheel drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20744 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 17:05:36 +00:00
Karl Kurbjun
9340af5b25
M:Robe 500: Move all remote specific code into a common file for reuse on other players (M:Robe 100). Include minor fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20728 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 06:38:55 +00:00
Karl Kurbjun
94dc016a94
M:Robe 500: Remove some dead code and cleanup button handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20720 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 03:56:06 +00:00
Karl Kurbjun
493d3a03b3
M:Robe 500: Add support for hold button on the remote.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20712 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 03:10:01 +00:00
Karl Kurbjun
3c85268f18
M:Robe 500 LCD text scrolling: Fix update corruption
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20711 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 02:43:39 +00:00
Karl Kurbjun
bf37ecb6b8
M:Robe 500 fix the backlight brightness setting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20709 a1c6a512-1295-4272-9138-f99709370657
2009-04-15 05:31:04 +00:00
Karl Kurbjun
5b6af5e560
M:Robe 500 Fix a bug in the UART receive buffer - remote does not appear to stop working anymore, add support for interupt driven transmit, add very rough remote LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20706 a1c6a512-1295-4272-9138-f99709370657
2009-04-14 05:17:03 +00:00
Boris Gjenero
8721a7d211
Code police: fix brace placement, remove trailing spaces
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20702 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 18:35:11 +00:00
Thomas Martitz
42f5973177
Few Fuze/e200v2 button fixes. Don't read the scrollwheel when the hold button is active and rename a variable to describe better what it is for.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20701 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 17:10:52 +00:00
Thomas Martitz
c48f4c6be4
FS#10127 - Sansa e200v2: wrapping in menus by Dustin Skoracki and me. Implements better list wrap handling mostly by taking Fuze's scrollwheel driver, but with tweaks w.r.t. to BUTTON_REPEAT to make it work on the e200v2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20700 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 14:08:43 +00:00
Thomas Martitz
e5e41c3a82
FS#10120 - fuze/e200v2: poll the wheel more often (every 5ms). This makes the scrollwheel behavior nearly perfect (decent acceleration, no direction changes if you turn to fast).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20699 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 10:28:06 +00:00
Bertrik Sikken
65aa187aef
Fix #includes in usb-as3525.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20698 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 19:08:26 +00:00
Boris Gjenero
ab1e97aea8
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20696 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 15:35:57 +00:00
Boris Gjenero
73e1bad355
Fixes and improvements for FS#9890 - iPod 5G: LCD sleep, BCM shutdown and bootstrap
...
* Ensure LCD is updated if lcd_update() is called while the LCD is initializing
* Turn on BCM and LCD in lcd_init_device() if it is off
* Speed up lcd_awake()
* Shorten minimum length of time BCM must stay off and fix related code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20695 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 14:54:12 +00:00
Karl Kurbjun
8a4db17364
Clean up errors and warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20686 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 17:00:51 +00:00
Karl Kurbjun
5449b1ed1d
M:Robe 500: Start of proper remote support, touchscreen works without remote now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20684 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 07:23:56 +00:00
Thomas Martitz
ec797ed622
FS#10113 - Sansa AMS : do not use unaligned buffers on ATA DMA by Rafaël Carré.
...
Fixes various storage related problems like stuttering audio, md5sum and test disk failure and Sansa Fuze's backdrop corruption by using aligned buffers. There's a speed penalty but stability has more priority.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20679 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:03:56 +00:00
Thomas Martitz
bac611868e
FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël Carré
...
Activates IRAM for AMS Sansas to be used by codecs and core. Fixes Reboot-on-mp3 and gives speed up on codecs using IRAM in general.
I've made a change: the core/codec ratio is 0x20000/0x30000 instead of 0x10000/0x40000, 0x30000 is way more than codecs currently use (0x14000 at max) and the core might need more than 0x10000.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20678 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:00:23 +00:00
Michael Giacomelli
30b888cb58
Commit fs#9959 by Jack Halpin. Removes delays from the Sansa e200v2 button driver and cleans up the code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20676 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 15:19:59 +00:00
Karl Kurbjun
b2c4bd3a53
M:Robe 500: Remove some dead test code in bootloader, reorganize the bootloader link script, and remove an unnecessary lcd disable/enable in initialization.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20674 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 04:48:44 +00:00
Michael Giacomelli
b94b12cd20
Commit FS#10043 by Michael Chicoine for the Sansa e200v2. Implements LCD sleeping, cleans up unused GPIOs and implements LCD flipping/invert.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20670 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 01:44:05 +00:00
Karl Kurbjun
a7e112c8d9
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20665 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 04:45:19 +00:00
Karl Kurbjun
93fccc763b
M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 04:22:14 +00:00
Bertrik Sikken
070ee525ac
Patch by Rafaël Carré - Sansa AMS i2c :
...
* remove peripheral reset (already made in system_init).
* Move empty i2c_init() from i2c-as3525.c (and remove that file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20645 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:20:31 +00:00
Bertrik Sikken
9ab84b073f
Patch by Rafaël Carré - Sansa AMS : inform pcm.c when playback stopped, use pcm_play_dma_stopped_callback()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20644 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:11:55 +00:00
Bertrik Sikken
6b63f23648
Patch by Rafaël Carré - Sansa AMS: Fix a few mistakes in DMA code
...
DMAC_INT_TC_CLEAR is a write-only reg
HIGH bits of DMAC_SYNC mean synchronisation logic disabled.
Also, according to the OF and to tests, all the peripherals we use run at the same frequency (PCLK?).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20643 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:08:26 +00:00
Dominik Wenger
f5c5983c73
commit FS#10092 (cleanup AMS system init) by Rafaël Carré.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20640 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 16:14:01 +00:00
Karl Kurbjun
8580674b10
Add initial support for changing the LCD mode in MPEG player for hardware YUV conversion (256 color palette mode will also be added for doom and rockboy). This fixes the LCD mode/colors when MPEGPlayer exits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20600 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 05:17:20 +00:00
Karl Kurbjun
f047e3aee9
Correct a bit in the app.lds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20599 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 03:54:48 +00:00
Karl Kurbjun
4fa96fbc91
M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 03:21:18 +00:00
Rob Purchase
75b37696fb
TCC78x: Implement the user timer, rework some of the timer register #defines, and use udelay() instead of the hacky sleep_ms() in the D2 LCD driver. Doom works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20585 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 21:15:15 +00:00
Thomas Martitz
487d78995a
A bit of cleanup in config-fuze (don't define features we do not have yet), a bit of reordering. Cleanup in the lcd driver. Reintroduce the delay in the dbop read function, as it helps avoiding heavy hold button weirdness when boosted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20583 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 19:57:42 +00:00
Thomas Martitz
dc859ebd51
FS#10053 - Sansa AMS >2GB support by Rafaël Carré. Enables bank switching on
...
the AMS sansas, which solves the ">2GB problem" (the problem that we could not
access data past 1GB on devices having more than 2GB internal storage).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20577 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:26:05 +00:00
Thomas Martitz
d5df2816e6
Remove that orphaned and wrong #if
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20576 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:08:59 +00:00