Rafaël Carré
f504153857
FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
...
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)
Before reporting any problem, please check your filesystem or format your player from the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:05:33 +00:00
Bertrik Sikken
5631bf7343
Sansa fuze: don't configure GPIO A7 in the LCD driver, this pin is used for fm radio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21225 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:54:58 +00:00
Bertrik Sikken
3589be4bdd
Sansa e200v2: use = instead of |= when setting GPIO level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21224 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:48:30 +00:00
Maurus Cuelenaere
99c854e30a
VX767: cleanup LCD driver a bit + add forgotten backlight-target.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21214 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 08:59:37 +00:00
Karl Kurbjun
038c808466
M:Robe 500: Add missing file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21212 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 01:05:22 +00:00
Karl Kurbjun
4fddd5cbf6
Fix Creative ZVM build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21209 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:48:48 +00:00
Karl Kurbjun
4a483bb1bf
M:Robe 500: Mostly complete USB driver, supports BULK mode currently and gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:19:16 +00:00
Rafaël Carré
f8a8619615
FS#10273 : Power Sansa Clip screen for some models needing as3514's DCDC15
...
No battery life loss for models not needing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21207 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 23:33:43 +00:00
Jens Arnold
1d6df54df2
Convert a number of places in core and plugins to use the BIT_N() macro instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 21:27:05 +00:00
Bertrik Sikken
9f7b0b9d1e
Fix some delays in generic_i2c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21200 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 21:05:54 +00:00
Rafaël Carré
1d97a380e2
Sansa Clip: apply r21190 to asm lcd_greydata : 2% speedup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21199 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 14:13:48 +00:00
Andrew Mahone
c76d940c06
Replace 1UL in BIT_N with 1U to avoid turning it into a 64-bit operation on 64-bit sim targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21197 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:58:57 +00:00
Andrew Mahone
d2eb5d2901
Fix undefined BIT_N on non-SH targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:11:41 +00:00
Andrew Mahone
de7c5711c5
Add a system-wide BIT_N macro, implemented via an LUT on SH, and use it in the TAGCACHE_IS_* macros in place of per-set LUTs, removing duplication of data between those LUTs and the mask values used on other targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21195 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:00:58 +00:00
Bertrik Sikken
82902a8ade
Make more effective use of the DBOP FIFO for the sansa clip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21190 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 19:53:39 +00:00
Rafaël Carré
2409c28f21
Sansa AMS: Revert r21177 : the timer frequency is used by the user timer (example: metronome will be twice too fast)
...
Instead use a private KERNEL_TIMER_FREQ define which is dependant on HAVE_SCROLLWHEEL
Comment that call_tick_tasks() will read the scrollwheel
Remove the unneeded volatile type qualifier from poll_scrollwheel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21187 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 14:50:07 +00:00
Maurus Cuelenaere
aa7b081bad
Ingenic Jz4740: fix debug messages not being readable due to backdrop
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21186 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 12:08:33 +00:00
Maurus Cuelenaere
48203093ce
Fix RoLo on MIPS targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21185 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 11:57:43 +00:00
Maurus Cuelenaere
398e1059c5
Ingenic Jz4740: should fix timer (thanks to Rafaël Carré)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21184 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 22:52:54 +00:00
Maurus Cuelenaere
63bc7c9009
Ingenic Jz4740: add extended exception debug reporting option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21183 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 16:25:54 +00:00
Jack Halpin
a0c4b8bffb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21182 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 13:11:21 +00:00
Thomas Martitz
d1b0ee9f04
Change the timer interrupt setup so that TIMER_FREQ is changed for HAVE_SCROLLWHEEL (which read the scrollwheel between tick tasks too) instead of the generated variable. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21177 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 11:35:56 +00:00
Rafaël Carré
c8f22f5a8f
Sansa AMS : don't use the SHAREDBSS_ATTR since we don't have a coprocessor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21171 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 22:45:02 +00:00
Thomas Martitz
4aec45e68f
Revisite Sansa fuze button driver:
...
*Correct/update some comments
*Make BUTTON_REPEAT generation more relable (do it like the e200v2, but with a shorter repeat intervall)
*adjust button_delay
*remove unecessary wait for fifo empty (no lcd function returns with fifo not empty)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21166 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 01:31:16 +00:00
Jens Arnold
c1d27d105c
Speed up mono bitmap drawing on horizontally packed greyscale targets (greyscale iPods). Average speedup is 80% on PP5002, and 55% on PP502x. * Simplify mono bitmap drawing in the 16 bit driver and the greylib a bit, also giving a slight speedup (3% on PP502x, 1.5% on coldfire).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21163 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:28:03 +00:00
Maurus Cuelenaere
aa7d43f7a6
Fix reds & yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21162 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:21:29 +00:00
Maurus Cuelenaere
fd11471a3f
Onda VX747: try at implementing FM tuner support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21160 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:00:31 +00:00
Bertrik Sikken
5212f03124
Add missing delay in i2c_start of the generic_i2c driver, used by ams targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21159 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 19:45:19 +00:00
Thomas Martitz
0b6ff6660a
Samsung YH*: Enable RTC on all, enable lcd contrast on 925.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21157 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 17:21:19 +00:00
Marc Guay
86ce407803
c100: Get a regular build compiling. Very little functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 12:37:25 +00:00
Rafaël Carré
f5db6b9ce3
Sansa AMS : higher a bit the delay between acmd41 loops, needed for some microsd cards. FS#10268 by Eric Shattow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21152 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 10:51:05 +00:00
Bertrik Sikken
9067c915ad
Use I2C2_DACNT register (number of pending i2c bytes to read/write) to determine if an ascodec i2c transfer is done. This should fix i2c problems with MMU enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21150 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 17:48:19 +00:00
Nils Wallménius
b2afc258dc
Old patch from FS#7832: Sprinkle 'volatile' in the various inline assembler statements, needed for the driver to work when compiled with newer gcc, should make no functional difference with the currently used version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21147 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 16:33:22 +00:00
Magnus Holmgren
3651319d45
Fix typo. Not sure how it will affect targets with that CPU though...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21146 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 15:55:27 +00:00
Jens Arnold
f31e86338a
Use bit-doubled mask everywhere in mono bitmap drawing. ~2% speedup, and smaller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21141 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 07:27:43 +00:00
Jens Arnold
72061047d1
Two tiny optimisations for mono bitmap drawing on greyscale displays: (1) H1x0, M5: Manipulate destination masks directly for the aligned case - ~0.7% speedup. (2) Greyscale ipods: Use sentinel method for reloading data like the 16 bit driver does - ~1.5% speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21139 a1c6a512-1295-4272-9138-f99709370657
2009-05-30 23:35:44 +00:00
Jack Halpin
95ac12a68f
AMSSansa: Add AS3525_DRAM_FREQ as a configurable frequency. Attempts to use PCLK != DRAM still fail but a method is now in place. Default scheme remains 248/62/62.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21130 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 20:19:35 +00:00
Frank Gevaerts
dd742b72ff
Remove an old safety making sure that people re-ran configure after the h120/h100 split. People now have had nearly four years to do so, which is probably enough
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21129 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 18:27:48 +00:00
Marianne Arnold
74a22ff1a3
Make 'Backlight mod' an Advanced build option for the Ondios (largely inspired by the RTC mod related changes in r12555). Remove the defines in the config files as you won't need to 'hack' them anymore, just chose the right options while running 'configure'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21128 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 13:36:12 +00:00
Jack Halpin
b714ace163
AMSSansa: clock-target.h and debug-as3525 now use AS3525_FCLK_PREDIV correctly. Default frequency scheme remains 248/62/62.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21125 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 06:43:37 +00:00
Jack Halpin
b4b7c7501e
AMSSansa: Change comment to describe FCLK as input more accurately
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21124 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 00:06:13 +00:00
Jack Halpin
5941869a69
AMSSansa: Display AMBA Bus mode and mmu, icache, & dcache status on View HW info page
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21121 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 20:27:31 +00:00
Marc Guay
64595105b1
Set up the c100 for dual-booting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21105 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 22:32:39 +00:00
Maurus Cuelenaere
56d721fda9
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21098 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 23:28:53 +00:00
Maurus Cuelenaere
a0458dac2b
Fix audio on Onda VX747
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21097 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 22:57:49 +00:00
Rafaël Carré
83eb479732
FS#10216 : Sansa AMS : Do not cross a bank boundary in a single transfer (Only for 8GB or more -if they exist- players)
...
Also add a few comments in the code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21096 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 21:08:47 +00:00
Alexander Levin
1bf480cad5
Fix typo in the comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21093 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 20:31:26 +00:00
Rafaël Carré
ef9aacb2e0
FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 18:44:02 +00:00
Thomas Martitz
29bbcebee4
Samsung YH*: enable bmp scaler and core jpeg support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21087 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 22:59:23 +00:00
Mark Arigo
758bb3bc62
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00