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
Maurus Cuelenaere
be8a27ad81
Onda VX747: fix touchscreen issues when switching from bootloader to 'normal' Rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20754 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 18:28:51 +00:00
Jonathan Gordon
0eb5dc649f
beginings of a working touchscreen interface for the WPS. 2 new tags:
...
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome)
%Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags
cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 01:41:56 +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
Frank Gevaerts
2a085f4477
Add preliminary HID driver. It doesn't do anything yet, but that should change soon (FS#10116 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20750 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 21:17:18 +00:00
Frank Gevaerts
08b04cc587
reorganise usb_core.c a bit, to make the code more readable and more maintainable (FS#10150 by Tomer Shalev))
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20748 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 19:53:32 +00:00
Frank Gevaerts
4bff30a77f
simplify and cleanup usb_serial.c (FS#10149 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20746 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 19:25:59 +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
Maurus Cuelenaere
c147d39bb5
Ingenic Jz4740: put stack in IRAM & optimize/clean up crt0.S a bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20742 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 15:16:37 +00:00
Maurus Cuelenaere
dc8db2a820
MIPS: set load address of .iram to the start of .bss so RAM doesn't get wasted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20741 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 14:10:59 +00:00
Maurus Cuelenaere
42c7fb6b8b
Remove some redundant links in MIPS linker scripts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20740 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 13:58:55 +00:00
Frank Gevaerts
00b407b04f
USB related Cosmetics, whitespace and readability fixes (FS#10147 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20737 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 21:32:41 +00:00
Maurus Cuelenaere
069191d9d4
Fix some issues with YUV blitting on Onda VX747 (still not working properly)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20736 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 21:00:32 +00:00
Frank Gevaerts
3314f389ba
Allow class drivers to reuse the core data buffer for control transfers. This doesn't make much difference right now, but it should keep HID memory usage lower (once HID is ready) (FS#10146 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20735 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:40:50 +00:00
Maurus Cuelenaere
2c0da9d152
Really fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20734 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:25:16 +00:00
Frank Gevaerts
ab09322b7a
Add a PACK_DESCRIPTOR macro to make the class drivers a bit more readable (FS#10145 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20733 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 20:04:52 +00:00
Maurus Cuelenaere
8b6b46f3c4
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20732 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 18:33:41 +00:00
Frank Gevaerts
463e20271b
Fix some whitespace issues (including tabs that slipped in somehow) (FS#10144 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20731 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 18:17:29 +00:00
Maurus Cuelenaere
a54e0b6dba
Onda VX747:
...
* Add YUV support
* Clean up LCD driver a bit and speed it up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20730 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 17:38:55 +00:00
Frank Gevaerts
14a510aff2
Sync from recent linux source (FS#10142, by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20729 a1c6a512-1295-4272-9138-f99709370657
2009-04-18 16:52:12 +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
Michael Giacomelli
70353f4eb0
Fix by Rafaël Carré. Puts core functions into IRAM on AMS targets with <2MB of RAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20723 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 15:56:17 +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
Boris Gjenero
0e74f75deb
FS#9635 - On V1, V2 and FM Archos recorders, ensure instant backlight switch-off. (Formerly, backlight switch-off was unpredicrable on some of these devices. The backlight would either turn off instantly or brighten instantly and then fade.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20707 a1c6a512-1295-4272-9138-f99709370657
2009-04-14 19:23:39 +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
Bertrik Sikken
7a32c49457
Update battery capacities of the sansa clip and sansa fuze.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20703 a1c6a512-1295-4272-9138-f99709370657
2009-04-13 21:20:39 +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
Bertrik Sikken
7d0119fe81
FS#9985: The OF of AMS sansas seems to keep time in seconds since 1970-1-1 instead of 1980-1-1 used in earlier sansas, so apply an adjustment for this difference when reading/writing the RTC. This avoids resetting of date/time by the OF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20697 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 18:00:53 +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
76328bbfda
Fix the scrollbar boundary checking to prevent the player from freezing on screens that are too small to show the list with the font selected. Correct the M:Robe remote screen height.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20690 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 22:22:44 +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
Frank Gevaerts
a8b6f1cb7b
Fix unintentional usage of relatively unknown C features (FS#10119, found by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20685 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 12:55:34 +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
464e6a1405
Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 01:45:11 +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
Karl Kurbjun
a50e17a6ba
Enable Albumart for M:Robe 500
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20673 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 03:51:16 +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