Commit graph

400 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
f1bdfbf691 H300 LCD and PCF50606 drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7879 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:47:31 +00:00
Linus Nielsen Feltzing
e4f0844172 No .S files should be compiled in the simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7868 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 18:02:40 +00:00
Jens Arnold
83d3dcfd88 Coldfire: Assembler optimised memcpy(), 2.4x...10x (avg. 6.8x) as fast as the C version when copying large blocks within SDRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7835 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 23:42:47 +00:00
Thom Johansen
2fce981722 Moved all iPod specific code from lcd-16bit.c to lcd-ipod.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7807 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 01:08:09 +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
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
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
Linus Nielsen Feltzing
41a53d2c1c Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional text support for Hebrew and Arabic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-08-08 19:23:28 +00:00
Christian Gmeiner
14e80671af iAudio: First unfinished attempt for tlv320 driver and rockbox integration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +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
Jens Arnold
e44372ef18 Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
2005-07-26 20:01:11 +00:00
Magnus Holmgren
4a53787992 ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Jens Arnold
82ea7c3bac Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Linus Nielsen Feltzing
eaf8b2d76d Patch #1232549 by Ryan Jackson, adds seeking and comments to Vorbis playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7025 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 08:43:36 +00:00
Daniel Stenberg
b936d94e41 pcm_record.c depends on UDA1380, not h100...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6941 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:26:53 +00:00
Daniel Stenberg
ee34053903 for now, the build assumes a LCD_S1D15E06 display on the h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6921 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:48:34 +00:00
Jens Arnold
ac0bc83777 Assembler optimised memset() for coldfire. Speed increase ranging from a few percent (small blocks) to 4 times (large unaligned blocks). Slight optimisation for SH1 as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6789 a1c6a512-1295-4272-9138-f99709370657
2005-06-21 13:25:18 +00:00
Andy
e5d08722f8 Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Daniel Stenberg
3a79a70b78 pcm_playback.c is not for sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6760 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:06:38 +00:00
Daniel Stenberg
2230791850 1) mpeg.c is only for MAS-devices
2) lcd-h100-remote should work fine for H300 as well since you can use the
   H100 remote fine on a h300 player
3) drivers/uda1380.c depends on HAVE_UDA1380
4) pcm_playback.c is for all sw-codec (non-MAS) devices


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6756 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:45:58 +00:00
Daniel Stenberg
6b60f9ad53 LCD code depends on LCD model, not keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6719 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:42:53 +00:00
Linus Nielsen Feltzing
acd903dfd6 Don't compile mpeg.c on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6580 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:31:11 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Daniel Stenberg
ff40e4cc6a avoid compilation alltogether if logf is not enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6539 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 13:43:15 +00:00
Daniel Stenberg
edc07922eb (Optional) logf support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6538 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 13:00:43 +00:00
Daniel Stenberg
ac31e6af87 Remote LCD support added to the x11 simulator, take 1. The win32 simulator
still builds, but shows no remote LCD yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00
Linus Nielsen Feltzing
14c7900383 Low-level driver for the H100 remote control LCD, by Richard S. La Charite III
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6283 a1c6a512-1295-4272-9138-f99709370657
2005-04-14 11:40:41 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Linus Nielsen Feltzing
8ffeab5fc9 PCM playback for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6210 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:39:28 +00:00
Daniel Stenberg
ca15a18d0b skip mpeg.c when building bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6171 a1c6a512-1295-4272-9138-f99709370657
2005-03-08 23:53:55 +00:00
Dave Chapman
49df765c18 **FIXME** The iRiver simulator was being build using lcd-recorder.c, not lcd-h100.c - because the CONFIG_LCD variable is not defined in the config-h100.h file for simulator builds. The only iRivier-specific variable I could find was the CONFIG_KEYPAD - so this needs fixing properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6041 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 21:28:54 +00:00
Daniel Stenberg
227085ec0b only use hwcompat.c for real targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6002 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 14:21:40 +00:00
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Daniel Stenberg
8ef88a1815 Build Rockbox for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5759 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 08:36:43 +00:00
Linus Nielsen Feltzing
fc658dfaf9 Added some files for the iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5698 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 13:31:30 +00:00
Björn Stenberg
6660f8e910 Added ID3 searching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5683 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 22:21:08 +00:00
Daniel Stenberg
d719abce64 crt0.s works for other CPUs too, mas.c is only for targets with hwcodec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5682 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 19:17:47 +00:00
Daniel Stenberg
f7eeaec980 made the SH7034 assembler files only build for that CPU
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5667 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 23:37:16 +00:00
Jens Arnold
78826de045 Assembler optimized strlen() for SH1, both smaller & faster. Moved strlen() into IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5629 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 13:18:33 +00:00
Jens Arnold
0310f16005 Revived C implementations of memcpy() and memset() for platforms without asm optimized versions (gmini), replacing the intermediate strings.c. Moved the asm optimized versions 'out of the way' for the implicit 'make' rules by renaming them to *_a.S (for assembler/alternative).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5628 a1c6a512-1295-4272-9138-f99709370657
2005-01-21 22:43:02 +00:00
Daniel Stenberg
39fb8f0705 Jean-Philippe Bernardy: C versions of memset() and memcpy() for archs with
no asm optimized versions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5550 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:31:13 +00:00
Jörg Hohensohn
8f8fbac1fd Philips tuner prepared, new middle layer to abstract which tuner is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Linus Nielsen Feltzing
a5117f0bb6 Ported interrupt vector handling to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5285 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:33:58 +00:00
Linus Nielsen Feltzing
7b91ec6b19 Threading ported to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5280 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:13:43 +00:00
Linus Nielsen Feltzing
5e1e1b6b07 Modest start on the H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5211 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:44:58 +00:00
Björn Stenberg
b60b29f442 Compile ata_mmc.c for targets with mmc, ata.c for all others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5174 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 08:11:11 +00:00
Daniel Stenberg
d2f2953a74 only compile files that are relevant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5173 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 07:58:54 +00:00
Daniel Stenberg
9c85941786 new SOURCES file that specifies which files to build in each dir, use
config.h preprocessor symbols to make conditionals

use the GCCOPTS now specified in the root Makefile by configure


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5158 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 13:03:33 +00:00