Jens Arnold
840fb66bc9
Bugfix: On vertically packed 2bpp LCDs a grey pixel block is only 4 pixels, so don't process twice as much data as intended. This was the cause for the mpegplayer crashes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22885 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 12:20:35 +00:00
Dave Chapman
8d5acd64c9
Final changes to get a Nano 2G main build compiling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22879 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:45:53 +00:00
Dave Chapman
f5feb13cc5
Unify the button driver for the Nano 2G with the driver for earlier clickwheel ipods. The clickwheel hardware appears to be the same - the differences are just related to the hardware init and how the data is read.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22878 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:04:30 +00:00
Rafaël Carré
f690cfdb44
Forgotten in r22876 : remove (void)arg;
...
These arguments are now used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22877 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 19:14:14 +00:00
Rafaël Carré
c46b44f20b
Samsung YH920 : greylib support based on ipod/lcd-as-gray.S
...
Demo plugins run fine, mpegplayer data aborts for yet unknown reasons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22876 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 17:51:05 +00:00
Dave Chapman
2b7bc42deb
Patch #2 from FS#10633 (Nano 2G developments) by Michael Sparmann - Some hardware define corrections for the S5L8701, needed for the FTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22875 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:53:26 +00:00
Dave Chapman
14eb02d347
Patch #1 from FS#10633 (Nano 2G developments) by Michael Sparmann - Allows targets to set a different sector size than 512 for the storage system. Should not affect any other target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22874 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:41:55 +00:00
Frank Gevaerts
7d11b7ac03
get rid of one hardcoded 512. SECTOR_SIZE is still there. It should probably move up (to storage.h?) so fat and usb storage can share it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22869 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 20:33:52 +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
Jack Halpin
1c36835b80
AMS Sansa: Replace another simple delay with a more intelligent MCI FIFO status check.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22864 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 03:54:36 +00:00
Thomas Martitz
29c06f6c63
e200v2/Fuze: Improve scrollwheel a little bit by assuming the previous wheel value if no new value was found (which happens if a single wheel value was skipped). Only assume it once to not get wrong readings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22863 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 00:28:03 +00:00
Jack Halpin
bf3d60b25e
AMS Sansa: Rename variable sdhc to sd_v2 to more accurately reflect the information it holds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22862 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 20:33:40 +00:00
Rafaël Carré
6bd92a74d3
Fix "lcd driver speed up" on e200v2
...
Flyspray: FS#10272
Author: Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22859 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 18:54:42 +00:00
Tomer Shalev
8c5141b32e
Commit "FS#10468 - USB HID: Show keypad mode on screen"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 10:06:04 +00:00
Jack Halpin
37265d308b
AMS Sansa: Replace simple write delay with a smarter check on status of MCI FIFO.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22850 a1c6a512-1295-4272-9138-f99709370657
2009-09-29 16:32:24 +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
Rob Purchase
65f1a94a08
Improved Cowon D2 touchscreen driver.
...
Flyspray: FS#10615
Author: Carsten Schreiter and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22842 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 17:31:30 +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
Bertrik Sikken
66d5bd7cf8
Sansa Fuze/e200v2: protect lcd a little better against concurrent access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22838 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 10:47:10 +00:00
Jack Halpin
68089db6db
AMS Sansa: Add delay for µSD writes to fix CRC failures with class 6 µSD cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22825 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 01:38:51 +00:00
Bertrik Sikken
a738e5f3a0
FS#9824: Fix FM channel spacing for Europe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22822 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 22:05:07 +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
Vitja Makarov
d9490178ff
ata-nand-telechips: tcc77x have now USEC_TIMER
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22763 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 08:53:24 +00:00
Vitja Makarov
14ac374ffe
i7: pcm-telechips fix sampling rate that was about 40000 instead of 44100
...
- remove test case
- remove trailing spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22761 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 19:53:15 +00:00
Marianne Arnold
8048b116cf
Remove dead or useless defines: HAVE_ONDIO_IC was replaced by CONFIG_I2C but just added not replaced for the OndioFM in errr... r5675. The creativezv* and the m200v4 config files defined CONFIG_I2C twice.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22736 a1c6a512-1295-4272-9138-f99709370657
2009-09-19 09:37:14 +00:00
Vitja Makarov
f43c0aba32
i7: _backlight_init() turn backlight on, as we can miss panic message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22730 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 06:01:56 +00:00
Vitja Makarov
36e8fc0872
tcc77x: add tcc77x_cscfg_bw() helper for external memory bus width setup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22729 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 05:48:37 +00:00
Vitja Makarov
be3c62f9ab
i7: Fix memory bus initialization, thanks to Genia Bezman!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22722 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 21:03:28 +00:00
Dave Chapman
75e301dabb
Fix a comment so that it matches the code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22718 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:24:59 +00:00
Dave Chapman
997e6bd7e9
Fix unreliable LCD updates on the "type 0" LCD. Plus add some comments and a stub lcd_blit_yuv()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22717 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:08:58 +00:00
Dave Chapman
43ec944e3c
TIMERB is in a different location on the S5L8701
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:05:19 +00:00
Dave Chapman
d67c4d2f6b
Add PLL2 definitions for the S5L8701, plus some config file tweaks for the Nano2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22715 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:36:09 +00:00
Dave Chapman
8dae933293
Add an app.lds and some stub functions for the Nano 2G - this isn't enough to make rockbox.bin compile, but it's a step towards it (more commits coming soon).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22714 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:26:08 +00:00
Thomas Martitz
c0f1c49178
Get rid of some of the code duplication from checkwps, it still duplicates a lot though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22695 a1c6a512-1295-4272-9138-f99709370657
2009-09-13 13:40:58 +00:00
Jack Halpin
589e1f0072
AMS Sansa: Adjust View HW info page to display SD and uSD MCICLK freqs instead
...
of 400 khz Ident freq. Also misc formatting changes.
Displaying the 400 khz ident frequency for the SD and uSD cards was not really
useful information. This change displays the MCICLK frequency that we are
running the cards at. The page now displays 0MHz until a card access and then
will displays the set frequency and the actual frequency. The uSD display is
now only displayed for those players with a uSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22684 a1c6a512-1295-4272-9138-f99709370657
2009-09-12 20:50:11 +00:00
Thomas Martitz
e2ccabf89d
Samsung YH925: Reset the LCD orientation to what the OF expects before branching to it in dualbooting
...
Author: Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22659 a1c6a512-1295-4272-9138-f99709370657
2009-09-08 13:57:13 +00:00
Thomas Martitz
b54b066516
Higher the button delay on the fuze a bit more, the wrong hold button reads aren't happening anymore apparently even for plugins with heavy lcd updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22658 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 23:48:51 +00:00
Karl Kurbjun
47611321c0
M:Robe 500: Fix glitches when using DMA for LCD updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22650 a1c6a512-1295-4272-9138-f99709370657
2009-09-07 17:12:57 +00:00
Jonathan Gordon
3fa1684301
move the CONFIG_LED #define out into config.h as all but 3 targets actually have a real one (and apparently lots had it #defined in a !SIMULATOR block! )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22644 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 17:12:09 +00:00
Jonathan Gordon
9f4f5dbc26
Make the e200 compile the vled for the sim... other targets are probably doing the same thing so find out which.. commit will be immediatly followed to fixd red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22642 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 16:54:04 +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
Bertrik Sikken
533c29b2f2
Sansa c200v2: update DBOP button reading mechanism, this enables readout of the volume buttons, rec and hold button.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22635 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 18:56:59 +00:00
Thomas Martitz
e91fe1e543
Increase the button delays slightly to aid against sporadic missreads of the hold button an sporadic blue pixels on the display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22628 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:11 +00:00
Thomas Martitz
46c719aac8
Make the Fuze usable again by inserting a few delays in the lcd functions, core rockbox should be fine now. NOTE: *After exiting* plugins (e.g. doom, plasma, pictureflow) which do heavy lcd updates, the Fuze still fails (backlight goes off) -- I have no idea how that happens yet, Unless I find a fix for that within the next few days, I'm probably going to revert one/both of the lcd speedup commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22627 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 03:50:04 +00:00