Commit graph

1552 commits

Author SHA1 Message Date
Mark Arigo
eb369bf50f Enable sound on the Samsung YH-920
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22588 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 04:42:33 +00:00
Thomas Martitz
6f9fde95a5 Move the FIFO emptying up, as having it after lcd_write_single_data16() causes problems with uneven transfers (I'm not sure why).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22581 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 02:06:37 +00:00
Thomas Martitz
b9093b2b35 Fuze/e200v2: Speed up the LCD further by letting the FIFO fill until it's full instead of keeping it almost empty.
The blue bars I previously had with this way are fixed by blocking DBOP output while reading buttons from GPIO.
We reached the maximum fps even at unboosted now (100.0 fps at lcd_update(), DBOP can't do more). Optimisation to YUV stuff is still possible though.
The e200v2 scrollwheel is very improved due to the this and the previous speedup since the chance of getting the wheel read blocked is greatly decreased with faster updates.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22578 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 00:42:22 +00:00
Dominik Wenger
a56199c49e Apply the lcd speed fix from fuze also to e200v2. Improves speed by a factor ~2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22575 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 20:45:26 +00:00
Thomas Martitz
7dd548c697 Speed up the Fuze's LCD by a factor of ~2.1 (lcd_update()) by using 32bit transfers when possible.
Unaligned (to 4byte boundary) and odd (where the amount of data is not an integer multiple of 32bit) are still supported. Even those still have a speedup of >2.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22574 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 15:54:25 +00:00
Thomas Martitz
a4e2d1f071 Fix x_offset for YUV blitting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22556 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:42:47 +00:00
Thomas Martitz
ffa83b484c Dreaded last minute changes at 4am :( Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22555 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:29:33 +00:00
Thomas Martitz
9ed1a154a5 Samsung YH925: Implement lcd flipping. Although it's a questionable feature, it should enable us to fix the problem that the OF's display is flipped after the Rockbox bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22554 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 02:01:45 +00:00
Bertrik Sikken
400cd026f3 Meizu M6SP: initial LCD driver (compiles but is untested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22500 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 17:37:53 +00:00
Thomas Martitz
a482e6b017 Samsung YH925: Correct a typo in the battery calibration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22495 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 12:29:08 +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
Karl Kurbjun
7b4d709f9d M:Robe 500: Add support for DMA based LCD updates when in Portrait mode. TestFPS measures 190 FPS with the DMA updates vs. 58 FPS for the non-DMA updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22435 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 00:36:39 +00:00
Nils Wallménius
6515d7f81f fix svn properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22434 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:41:14 +00:00
Nils Wallménius
304c622899 fix more red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:36:39 +00:00
Nils Wallménius
47608e06b3 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:15:45 +00:00
Bertrik Sikken
6b12928035 Samsung YP-S3: add backlight-target.h for the YP-S3 (contains target specific backlight and buttonlight declarations)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22327 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:59:39 +00:00
Rafaël Carré
6932fa397b Sansa Clip & m200v4 : calls backlight_hold_changed() when hold button is toggled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22323 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:02:51 +00:00
Karl Kurbjun
7ca4c7358d Hopefully get all of the touchscreen drivers to act the same so release events get the appropriate data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22314 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 23:08:50 +00:00
Robert Kukla
65eaf60b35 mrobe100: power off HDD (courtesy of lowlight) ~2h extra playtime
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22313 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 21:11:08 +00:00
Frank Gevaerts
e98c198fd8 don't treat extremely quick transfers as errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22294 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 18:50:43 +00:00
Karl Kurbjun
ce00e283b5 M:Robe 500: Forgot one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22288 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:21:36 +00:00
Karl Kurbjun
5ca8bf022c M:Robe 500: Put more interrupts in iram, reduce stack usage when ARM/DSP transfers happen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22287 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:20:46 +00:00
Rob Purchase
e783d0c82a TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22284 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:26:04 +00:00
Karl Kurbjun
4b7a2ba276 M:Robe 500: Put the irq stack and fiq stack in iram. Reduce memory for fiq stack since it is currently unused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22263 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:34:07 +00:00
Frank Gevaerts
cc4be72d15 Fix endpoint allocation
Flyspray: FS#10510
Author: Amaury Pouly



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 21:01:00 +00:00
Rafaël Carré
be6dd6dd0a Sansa AMS: identify interrupts with no source set
They would previously appear like coming from the (disabled) watchdog
module

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22251 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 13:20:55 +00:00
Thomas Martitz
4210ff584a Remove the comment also, Thanks to Rafaël Carré for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22245 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 22:01:35 +00:00
Thomas Martitz
653db606cf Fix FS#10486 - "fuze screen not drawn correctly on backlight turn-on if playlist ends while the backlight is off" by adding a lcd_update() to lcd_enable() as other targets do. Remove the delay as it seems unneeded nowadays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22244 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 21:38:10 +00:00
Karl Kurbjun
e1a83b9e99 M:Robe 500: Get MPEGPlayer running at 320x240. Screen is zoomed so larger videos than 320x240 will only show center.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22233 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 02:57:13 +00:00
Bertrik Sikken
5aeaa84cab Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Karl Kurbjun
7aaa544f09 Fix ZVM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22218 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:30:16 +00:00
Karl Kurbjun
5a2e19db64 M:Robe 500: Start Building at 640x480 by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 05:17:10 +00:00
Bertrik Sikken
978f3798a9 Apply FS#10447 - e200v2 lcd driver cleanup by Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22210 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 14:37:42 +00:00
Bertrik Sikken
c8e39403f4 Samsung yp-s3: clean up the lcd and button driver (making things static, rename variables etc.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22203 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 09:24:42 +00:00
Thomas Martitz
703773aab5 Samsung YH925: Battery calibration for charging and dischharging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22195 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:48 +00:00
Thomas Martitz
0f50302b1d Samsung YH925: Support for battery monitoring and charging. Discharge curve not yet calibrated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22194 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 13:32:35 +00:00
Bertrik Sikken
a26ea3f67a Revert static-ing of iim_prod_rev, this function is never used so it causes a compiler warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22185 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:44:09 +00:00
Bertrik Sikken
d767883a41 Various files: make functions static if they're local or make sure there is a proper #include if not
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 09:28:25 +00:00
Bertrik Sikken
4632fc0682 Samsung YP-S3: allow player to stay powered up without the USB cable plugged and implement power_off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22175 a1c6a512-1295-4272-9138-f99709370657
2009-08-05 16:16:17 +00:00
Bertrik Sikken
ee0ab03286 Samsung YP-S3: update backlight brightness curve again (can't go all the way down to 1/256 brightness) and update yp-s3 bootloader demo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:43:58 +00:00
Karl Kurbjun
0131a3873e Pluginlib: Add support for general buttons. Add menu and quit buttons to Reversi. MRobe 500: Modify touch handler to return the previous data always rather than 0 when there is no touch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22110 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 07:05:30 +00:00
Bertrik Sikken
e454d88b88 Samsung YP-S3: update backlight brightness curve so backlight is still on at the minimum brightness setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22103 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:53:29 +00:00
Bertrik Sikken
1b2fe50f3d Meizu: update backlight brightness curve so backlight is still on at the minimum brightness setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22102 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:28:25 +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
Bertrik Sikken
4e7517dfb1 Samsung YP-S3: implement button lights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22100 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:27:22 +00:00
Bertrik Sikken
0f0bf7b258 Samsung YP-S3: implement headphones detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22099 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:13:47 +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
Bertrik Sikken
bcd510db66 Samsung YP-S3: implement button driver for the touch keys (and the hold/power switch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22093 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 14:58:52 +00:00
Bertrik Sikken
95d043b26d Meizu M3: check LCD_STATUS in the lcd driver instead of using delay loops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22090 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 18:33:17 +00:00
Bertrik Sikken
2fb73842a9 Start of a Rockbox port to the Samsung YP-S3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00