Tomer Shalev
74d3671af2
Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs fixing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:49:27 +00:00
Tomer Shalev
d5b076b64a
RTL: Cosmetic changes, no functional change - Rename constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:15:22 +00:00
Rob Purchase
6170f01642
D2: The RTC chip needs to be runtime detected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23112 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 17:46:00 +00:00
Thomas Martitz
a79dc87761
Add a center flag, next to the rtl flag, for viewports. That results in any text being drawn centered. It overrides the RTL flag if set.
...
Simplify splashes and time menu by using it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23105 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:21:27 +00:00
Karl Kurbjun
d784507e93
Forgot to add 22kHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23090 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:10:39 +00:00
Karl Kurbjun
173d854e7f
M:Robe 500: Add support for more audio frequencies, initialize and set the touchscreen PWD pin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23089 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:08:14 +00:00
Rob Purchase
16ada4cb81
Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23078 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:35:02 +00:00
Michael Chicoine
a4d62bd329
as3514 RTC driver: correct calculation, fixes FS#10625
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23037 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 09:44:55 +00:00
Mohamed Tarek
7220cbb890
Fix a bug in a bidirectional text scrolling; s->offset doesn't need to be set when backward scrolling starts. This fixes bidirectional scrolling in
...
RTL and for certain file-names in LTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23022 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 01:05:40 +00:00
Mohamed Tarek
2282607224
Handle text scrolling in RTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23021 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 00:56:37 +00:00
Rob Purchase
292a53da4b
D2: Use a common function for reading ADC values from the PMU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23007 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 15:47:43 +00:00
Tomer Shalev
eb4020134e
Moved RTL handling in lcd driver deeper, from puts_style_offset() to putsxyofs()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22986 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 16:56:13 +00:00
Tomer Shalev
a092b9ce92
Use macro to test viewport's RTL flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:07:30 +00:00
Tomer Shalev
58221fc38d
Implement RTL as a viewport's bit-field
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22968 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:22:02 +00:00
Tomer Shalev
a39be4b307
Fix red: Invert buttons in RTL mode
...
- Revert renaming of button_set_flip()
- Moved rtl flipping logic to apps/actions.c as a static function
- Joined rtl_button_flip_needed() and button_flip_horizontally()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22962 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 17:53:45 +00:00
Tomer Shalev
f7bd7252e1
Invert buttons in RTL mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22961 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 17:17:30 +00:00
Michael Sparmann
c1c86d89c3
Make iPod Nano 2G audio work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22954 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:21 +00:00
Tomer Shalev
e7183f95d0
Fix red - bootloaders don't link language support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22949 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:19:41 +00:00
Tomer Shalev
6d80565b1b
RTL support in menus
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22945 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 11:43:38 +00:00
Karl Kurbjun
714b4aaaf8
Simulator buttons: Remove a hack and make brickmania work the same as on target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22936 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 04:20:28 +00:00
Karl Kurbjun
fac05ab2f7
Fix Red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22935 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 02:17:27 +00:00
Karl Kurbjun
fb50f46866
Button Driver: Add button_status support with data - allows for reading the /immediate/ value of the touchscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22933 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 02:09:00 +00:00
Tomer Shalev
9b2f4c3a65
FS#10226 - isp1583.c code cosmetics
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22866 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 05:40:20 +00:00
Tomer Shalev
4221a7f22f
FS#9157 - Tidy up some MAS35XX constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22865 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 05:25:20 +00:00
Bertrik Sikken
69b40e704d
Clean up duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22845 a1c6a512-1295-4272-9138-f99709370657
2009-09-27 14:46:44 +00:00
Rob Purchase
59368e1750
Fix delta from r22843, due to unintended FP usage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22844 a1c6a512-1295-4272-9138-f99709370657
2009-09-27 14:11:16 +00:00
Rob Purchase
2f3e0fbcd0
Add a few pixels "dead zone" between the touchscreen grid "buttons", to avoid jitter.
...
Flyspray: FS#10615
Author: Carsten Schreiter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22843 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 17:33:36 +00:00
Nils Wallménius
e6fbdfc10f
Add missing parentheses to fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22840 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 15:15:06 +00:00
Nils Wallménius
c8b87d76eb
FS#10569 RTC driver cleanup
...
Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time .
This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 14:58:32 +00:00
Thomas Martitz
073e2062da
Fix red for HAS_SERIAL_REMOTE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22801 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 17:39:14 +00:00
Thomas Martitz
d5797a6e93
Fix non-hold button and headphone detection target sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22800 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 17:26:42 +00:00
Thomas Martitz
ca85c401f5
Rework the simulators button reading to not implement it's own complete driver.
...
Instead, implement it more as a target driver with button_read_device(), button_init_device() and button_hold(), then use the normal button driver from firmware/drivers/button.c.
Fixes FS#10451 ("backlight off on hold doesn't function properly").
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22799 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 16:59:56 +00:00
Bertrik Sikken
66499ecad0
Sansa c200v2: fix si4700 tuner initialisation to make it work for the c200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22641 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:52:38 +00:00
Vitja Makarov
b5e39c15a5
iaudio7: Implement udelay, mostly based on D2 port, except Z-clock initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22620 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 09:36:53 +00:00
Karl Kurbjun
25123570c7
Fix STRIDE macro for multiscreen and add stride support for picture lib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:46:24 +00:00
Karl Kurbjun
5ac447a9de
Update Vertical stride so that it's oriented left to right in the destination.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22598 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 01:01:24 +00:00
Karl Kurbjun
8cb5df6a46
Initial vertical stride LCD driver. Backdrop is inverted with it currently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22579 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 00:50:43 +00:00
Nils Wallménius
c9d0961138
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22441 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 17:03:50 +00:00
Rafaël Carré
9eea8abce5
LCD_DEPTH == 2, vertical packing: specify if lcd framebuffer is in iram into the model specific config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22400 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:24:01 +00:00
Rafaël Carré
ee9ece1acf
LCD_DEPTH == 2, horizontal packing: specify if lcd framebuffer is in iram into the model specific config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22399 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:23:57 +00:00
Rafaël Carré
5b1192f834
LCD_DEPTH == 2, vertical interleaved : specify if lcd framebuffer is in iram into the model specific config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22398 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:23:53 +00:00
Rafaël Carré
47b2b579cc
LCD_DEPTH == 1 : specify if lcd framebuffer is in iram into the model specific config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22397 a1c6a512-1295-4272-9138-f99709370657
2009-08-18 04:10:06 +00:00
Jens Arnold
bf9facc49c
FAT timestamp handling improvements for non-RTC targets:
...
- When writing to a file that is older than the build, file date is set to the build date.
- Time is advanced so that the minutes are a multiple of 11, excluding '00', and seconds =
minutes. This is done as a hint that the time isn't 100% correct.
- Date increment uses actual month lengths (but without leap year handling)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22348 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 17:18:45 +00:00
Andrew Mahone
e04f95eab9
LCD bitmap driver code consolidation from FS#4817:
...
Move text-drawing code into firmware-drivers/lcd-bitmap-common.c, included by the various driver files.
Add new static function LCDFN(putsxyofs_style) to draw styled text, and use it in both LCDFN(puts_style_offset) and LCDFN(scroll_fn).
Merge lcd_gradient_rect functions, with new function containing simplified code for drawing one line of a multi-line gradient.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22289 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 08:02:29 +00:00
Karl Kurbjun
771b35b7be
M:Robe 500: Make endpoint requests more flexible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22262 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:29:07 +00:00
Mark Arigo
fc570147e6
Philips SA9200: initialize i2c, i2s, and as3514 as the OF does. Fixes clicks/pops heard when reading the adc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22101 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:51:00 +00:00
Karl Kurbjun
f3298a4612
M:Robe 500/M66591: Add support for full-speed USB transfers, and fix the UART interrupt clearing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22095 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 15:41:40 +00:00
Rob Purchase
c6309633a1
Re-work D2 power off behaviour.
...
* Inhibit PCF timeout during shutdown and while charging
* Power off the player using the same mechanism as the OF (GPIO)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22056 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 19:41:24 +00:00
Frank Gevaerts
a7548d3bc7
Make sd_present() and mmc_present() look only at the actual presence of a card, not at initialisation state
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21981 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 13:47:21 +00:00
Bertrik Sikken
0d2005c6f8
Update the uda1380 codec driver to allow it to be used without the WSPLL for playback and allow the use of a 256Fs clock signal directly at the SYSCLK input instead. This is required for the Meizus.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21975 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 22:45:32 +00:00