Thom Johansen
877ea486ba
Move multiply routines into the header. Give Coldfire a fixmul32b(). Remove some tabs and empty lines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15205 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 12:27:38 +00:00
Michael Sevakis
d332601135
Save a little space and only initialize the minimum for initial threads at startup. The BSS sections should already be zereod and if they're mistakenly not, be sure to crash ASAP. ;)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15204 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 11:51:45 +00:00
Michael Sevakis
9ec00d7f25
Add the thread state check into test_codec as used in mpegplayer which makes it should make it less prone to trash the codec thread after use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15203 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 09:11:23 +00:00
Marianne Arnold
df1f0d6429
Chessbox: ported to c200, also simplify the tile size calculation (thanks to Jens). Just retrieve it from the assigned bmp (same as e.g. Sudoku does), so that there's no need to check for lcd resolution in two different places. Update the manual.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15202 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 09:05:18 +00:00
Björn Stenberg
3ab686e07e
Patches moved out from twiki.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15201 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 07:33:39 +00:00
Jens Arnold
2e9c77cc2a
APE codec: Further optimised filtering yields 3..4% speedup for -c2000 (now 135% realtime), -c3000 (now 97% realtime) and higher modes. Single 32 bit stores are faster than movem/lea in IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15200 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 07:30:55 +00:00
Michael Sevakis
26b3a7405d
Reverse some logic with Peterson's algorithm and cut an instruction. Make C-reference reflect it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15199 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 06:19:06 +00:00
Jonathan Gordon
1e199cd25e
dirbrowse should return a GO_TO_* value, not false on error (fixes the problem where browsing plugins/fons/etc dirs from the menu would put you back n the filebrowser if the folder was empty instead of back in the menu)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15198 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 06:11:13 +00:00
Michael Sevakis
63c3f98a98
Code police strike. Every line was padded with trailing space. Trim it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15197 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 03:06:24 +00:00
Jonathan Gordon
39e7ab6bab
start of a working keymap for mrobe 500
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15196 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 02:23:11 +00:00
Jonathan Gordon
61f1ab27ff
init spi and uart in the main build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 02:14:09 +00:00
Jens Arnold
2640bdb262
APE codec: Assembler optimised vector math routines for coldfire. -c2000 is now usable at 130% realtime (was 107%), -c3000 is near realtime (93%, was 64%). -c1000 doesn't change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15194 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 22:37:33 +00:00
Dave Chapman
4a19ce39f8
Replace thumb-interwork-4.0.3.diff patch for arm-elf-gcc with rockbox-multilibs-arm-elf-gcc-4.0.3.diff. This builds libgcc.a for armv4 (current targets), armv5 (M:Robe), armv6 (Gigabeat S) and thumb interworking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15193 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 22:33:38 +00:00
Mustapha Senhaji
2f2410eb6d
Just fix a typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15192 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 21:23:31 +00:00
Dominik Riebeling
7189d24cd8
Bump version to 1.0.2 for new rbutil release.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15190 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 17:48:27 +00:00
Nils Wallménius
ab5a38db92
Clean out an unused struct member from the synthObject struct
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15189 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 13:43:13 +00:00
Björn Stenberg
7ed7c840da
Removed annoying 'Saving settings' splash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15188 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 12:23:45 +00:00
Jonathan Gordon
d8667df357
slightly better touchpad driver. Still not brilliant, but the bootloader/debugger can follow a stylus with a cursor, so we can start work on getting apps/ working
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15187 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 12:15:56 +00:00
Jonathan Gordon
b431fe349f
Make rockbox think we have a full battery untill this actually works, otherwise apps/ doesnt like it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15186 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:53:59 +00:00
Dave Chapman
25ff558854
Fix a warning in the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15185 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:38:55 +00:00
Thom Johansen
9a1a2fd686
Oversight in syncing on my end, sorry.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15184 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:14:31 +00:00
Thom Johansen
6e4aa260d0
Add Coldfire and ARM assembler for "reverse multiply and copy" function too. Gives big speedup on Coldfire, small on ARM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15183 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:09:21 +00:00
Jens Arnold
31245682b3
Put some arrays used in the decoder into IRAM for a few percent speedup (mainly on coldfire).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15182 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:04:43 +00:00
Dave Chapman
c5263a4a13
Use the core codec thread's stack for the mpegplayer audio thread - this will free up another 9KB of IRAM for use by mpegplayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15181 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 08:56:32 +00:00
Karl Kurbjun
fa1a38e7ce
Some changes to the UART/button driver - reduce the number of interrupts - more work is needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15180 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 05:14:10 +00:00
Michael Sevakis
a443614dd2
PP502x: Get switch_thread back out of IRAM and devise a better core wakeup system that's not timing dependant. Hopefully something simpler will be found or devised eventually that meets all requirements. Rename mailbox-related registers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15179 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 01:26:50 +00:00
Thom Johansen
fffc257897
Woops, movem.l needs other order.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15178 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 00:48:00 +00:00
Thom Johansen
00662a235c
Add Coldfire assembler for window and add function, yielding a nice speedup. Tweak ARM assembler version of same routine to act the same as the Coldfire version. Remove an error condition that newer ffmpegs do not bail out on. Files requiring this new behaviour have been observed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15177 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 00:28:10 +00:00
Stéphane Doyon
e5ba649d85
Fix a problem that caused stale pcm data to be played subsequent to a
...
voice shutup.
Observed when moving through a few voiced items in very quick succession.
This is for the case where music playback is not in progress, only voice
is playing. The first few samples of audio data for voicing the first
skipped item make it to the pcm buffer, but the shutup comes before
enough pcm data has accumulated to actually start pcm playback. The
condition at the top of voice_on_voice_stop() is therefore false,
pcmbuf_play_stop() is not called, and the beginning of the interrupted
utterance is left to wait in the pcm buffer. That data will end up
prepended to the following voice clip to be played, causing a kind of
stuttering effect.
The fix is to remove the condition on pcm_is_playing() in
voice_on_voice_stop(): always clear the pcm data, it's harmless if there
wasn't any.
Thanks to jhMikeS for his assistance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15176 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 00:17:15 +00:00
Jens Arnold
1cca3ceeef
Less stack hogging in the coldfire IDCT for mpegplayer. Speedup might or might not be measurable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15175 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 00:14:22 +00:00
Dominik Riebeling
7bcfa84c4a
Don't check for external rbutil.ini anymore -- doing so didn't gave a real benefit but caused trouble instead. The file is built-in anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15174 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 22:32:31 +00:00
Jens Arnold
3674af6441
Coldfire: Partially revert buffered writes, and enable them explicitly for the LCD only. Turned out that with buffered writes enabled, reads after writes are not always serialized, which is a bad thing for I/O. Buffered writes to the LCD are safe because that's write-only. Fixes FS #7985 . How come I didn't notice this earlier? :>
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15173 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 20:45:13 +00:00
Nils Wallménius
702600cbdb
Move some tables that aren't performance critical out of iram, const police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15172 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 18:23:34 +00:00
Dave Chapman
443ccb6031
Remove some dead code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15171 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 18:23:25 +00:00
Thom Johansen
7113d11a1c
Make a fix for the WMA seek to start bug that actually works...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15170 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 18:19:35 +00:00
Barry Wardell
a5f3b93c2b
Add myself as maintainer for a couple of things.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15169 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 16:50:56 +00:00
Jens Arnold
e1b4bf7a4d
Mpegplayer: Assembler optimised motion compensation for coldfire (just the variants that are assemblerised for ARM) for a nice speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15168 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 15:46:09 +00:00
Steve Bavin
a25b76e3bd
Get rid of special handling of 'The'; it's 100% language-specific and we need to work towards better handling og 'The' in general. Feel free to include it in your own tagnavi_custom.config if you really need it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15167 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 13:53:48 +00:00
Thom Johansen
a478e46946
Fix FS #7973 . Hack a way to make skip to start of track work for WMA until we have proper seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15166 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 12:51:37 +00:00
Steve Bavin
b1caffc7bd
Include Tracks in A to Z database search (FS#7983).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15165 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 12:23:21 +00:00
Jens Arnold
98d186ce80
Try to fix the non-working $ replacement.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15164 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 10:06:29 +00:00
Jens Arnold
176670382c
Add Karim Boucher for his initial work on the mpegplayer assembler IDCT for coldfire.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15163 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 08:33:06 +00:00
Karl Kurbjun
f6bc19158e
Turns out you can boot the main build by copying apps/rockbox.bin to /rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 05:19:20 +00:00
Stepan Moskovchenko
c3584c0d63
MIDI: Scale each instrument by a calibration value, since not all patches are at the same base volume.
...
This should make some files sound more natural, without some instruments overpowering others.
Ultimately, these values need to be moved to the config file, and the table should probably be put in
IRAM or something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15161 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 05:06:57 +00:00
Stepan Moskovchenko
d33645ba13
MIDI: Optimize the new pitch bending code for a small speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15160 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 03:48:24 +00:00
Karl Kurbjun
1cc852c346
Fix core_sleep for targets that have not implemented it yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15159 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 03:44:13 +00:00
Jens Arnold
45d4345405
Mpegplayer: Convert the assembler optimised ARM IDCT into a proper assembler file. Clean up the CPU selection in idct.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15158 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 00:29:44 +00:00
Michael Sevakis
4829f7835a
Apply Akio Idehara's fix for FS#7972 - Fix ARM's swp (xchg) inline assembly for gcc 4.2. Also avoids UNPREDICTABLE behavior that GCC should have always warned about.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15157 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 00:01:03 +00:00
Jens Arnold
fc43b9df82
Mpegplayer: Assembler optimised IDCT for coldfire, based on FS #5995 by Karim Boucher. Put the IDCT block buffer in IRAM for better performance. The whole libmpeg2 decoder struct doesn't fit without throwing some libmad buffers out of IRAM, but then doesn't change performance significantly. Mpegplayer is quite usable now on X5; H300 is sort-of usable for widescreen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15156 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 22:55:40 +00:00
Michael Sevakis
84f5c5c3e3
Take out some NOCACHEBSS_ATTR's that were accidentally left. Put some threading code in IRAM that should be there on PP502x.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15155 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 22:00:51 +00:00