Jonathan Gordon
710ccb7b48
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Miika Pekkarinen
7058752789
Removed ugly boosting solutions from playback code and let scheduler
...
handle unboosting instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11226 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 11:57:52 +00:00
Miika Pekkarinen
a85044bf9e
New scheduler, with priorities for swcodec platforms. Frequent task
...
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Dave Chapman
657dcb5165
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:19:35 +00:00
Daniel Ankers
0aec12f3fd
Threading changes in preparation for multiple core support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:35:35 +00:00
Barry Wardell
99c2dc5284
Add new build target for iriver H10 5/6Gb.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10661 a1c6a512-1295-4272-9138-f99709370657
2006-08-19 19:21:17 +00:00
Jens Arnold
c5a24c6922
Disable TC_RAMCACHE for archos. It doesn't make much sense with the small RAM, and disabling reduces binary size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10624 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 22:04:39 +00:00
Tomasz Malesinski
4e36352567
Iriver iFP7xx memory layout adjustment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 22:43:44 +00:00
Rani Hod
c9f59e6f75
Accepted FS #5772 by Michael Sevakis
...
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:03:56 +00:00
Jens Arnold
c214e7bb0c
Grayscale library ported to the grayscale iPods, first version. Added C reference versions of gray_update_rect() for both horizontal and vertical pixel packing. gray_update_rect() and gray_ub_gray_bitmap_part() not yet assembler optimised. Grayscale screendump doesn't work yet. * Fixed button assignments for iPod in grayscale.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10468 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 01:46:42 +00:00
Daniel Stenberg
4d75350e75
Barry Wardell's H10 adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10448 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:21:29 +00:00
Daniel Stenberg
6dbdfd8e84
introducing CPU_PP as a define to check for PortalPlayer chips with
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10404 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 06:54:31 +00:00
Daniel Stenberg
7731729b7b
better names for the target-specific files and define PP5024 properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10400 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 22:42:25 +00:00
Daniel Stenberg
0fc30d1174
added mostly dummy changes to allow building of a Sansa e200 bootloader
...
without functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 22:28:14 +00:00
Jens Arnold
05ddd9a44e
X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Linus Nielsen Feltzing
5f655c93f9
Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10208 a1c6a512-1295-4272-9138-f99709370657
2006-07-13 07:40:30 +00:00
Miika Pekkarinen
9cd5c3e119
Tagcache update: Support removal of entries and no longer the need for
...
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657
2006-07-10 16:22:03 +00:00
Jens Arnold
977169ea7a
H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10128 a1c6a512-1295-4272-9138-f99709370657
2006-06-16 17:34:18 +00:00
Jens Arnold
0dd1f8ec11
Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Daniel Stenberg
d2848f3d72
moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
...
I also extended the iram size properly since the 5250 coldfire has 128K
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 10:37:37 +00:00
Miika Pekkarinen
d5c927d92f
Actually enable the dircache for simulators.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9366 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 19:18:45 +00:00
Jens Arnold
d3feb78e40
Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No sound, no buttons, and hangs at the boot screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 17:29:21 +00:00
Linus Nielsen Feltzing
fff7d6157d
MCF5250 has IRAM too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9311 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 12:48:56 +00:00
Miika Pekkarinen
a33d5d7926
Fixed the define in config.h and more tagcache alignment issues.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9266 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 18:36:31 +00:00
Miika Pekkarinen
e9721bff58
Use ROCKBOX_STRICT_ALIGN for all ARM targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9265 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 18:24:36 +00:00
Dave Chapman
285079138b
Patch #3060 from Andrew Scott - iPod mini button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Marcoen Hirschberg
338e2bbb0c
first gigabeat commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Dave Chapman
8b1297a0b6
Patch #1435744 from Andrew Scott - initial iPod Mini support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
8ad2df8275
Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH define for all iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 00:48:53 +00:00
Dave Chapman
2924a48ca5
Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 18:25:41 +00:00
Dave Chapman
d16a8b8845
More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 16:52:22 +00:00
Miika Pekkarinen
de281db7e7
Now dircache should work on players requiring long aligned memory
...
accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8502 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 10:08:53 +00:00
Brandon Low
05dccc3551
Profiling support, tools and documentation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
0dc63c1b71
Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +00:00
Dave Chapman
2a7bd9fb7b
New target - iPod Video.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 13:04:00 +00:00
Dave Chapman
e066a20b67
iPod: Cleanup of i2c code and addition of RTC driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8219 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 10:52:17 +00:00
Dave Chapman
5009c9c1b8
Split the HAVE_RTC define into HAVE_RTC, HAVE_RTC_RAM and CONFIG_RTC - in preparation for targets (H300, iPod) which have a clock (HAVE_RTC) but no general purpose RAM available for settings data (HAVE_RTC_RAM). CONFIG_RTC is used to specify the low-level driver required.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8144 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 13:05:56 +00:00
Dave Chapman
260f8d3480
Add LCD_PIXELFORMAT config variable to distinguish between the two types of 16-bit framebuffers (the ipod framebuffer is byte-swapped)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7977 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:06:46 +00:00
Linus Nielsen Feltzing
d29aef3d62
H300 backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 22:12:50 +00:00
Dave Chapman
7944771772
Force -mlong-calls for iPod builds. This issue still needs investigating as we do not want long-calls everywhere. The -ffunction-sections is also required to force gcc use long calls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7841 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:28:48 +00:00
Dave Chapman
3c1f659aeb
iPod changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:26:51 +00:00
Dave Chapman
77372d1218
Initial commit of work-in-progress iPod port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Jens Arnold
abd9f83e92
Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Miika Pekkarinen
b76e8c09fa
Fixed a problem with dircache where filetree modified dircache
...
structures directly. Moved #ifdef directly to SOURCES instead of
dircache.c to decide whether to compile the cache or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7599 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 18:41:11 +00:00
Miika Pekkarinen
44964c6641
Fixed the bootloader compile failure by disabling new directory cache
...
from bootloader builds (there is not much IRAM space in bootloader for unnecessary
code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7589 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 18:12:02 +00:00
Miika Pekkarinen
ab78b04680
Implemented directory caching. No more waiting for disk to spin up while
...
browsing when cache is enabled (system -> disk -> enable directory
cache). Cache building on boot is transparent except the first boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7588 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 17:38:05 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jonas Häggqvist
e1fb48767b
Avoid zero values for defines to minimize problems where they're compared to undefined values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7335 a1c6a512-1295-4272-9138-f99709370657
2005-08-17 05:03:33 +00:00
Christian Gmeiner
4894a06a15
iAudio, iRiver: As both platforms use the same i2c interface i have renamed i2c-h100.c/h to i2c-coldfire.c/h. Also i have changed some stuff in config.h and config-xx.h. Hope everybody agrees with this patch, else we can unroll and improve it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7271 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:31:33 +00:00