Commit graph

15139 commits

Author SHA1 Message Date
Nicolas Pennequin
f889b778c8 Set svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15222 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 13:10:58 +00:00
Jonathan Gordon
5f893be2a3 add a list API for simple lists which dont need lots of code to run.
Example uses in debug_menu.c
This API works best if most of the text is static, or not many actions 
need to acted on. (of course, any list could use this)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15221 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 12:32:55 +00:00
Barry Wardell
f4d39b3289 Handy script for packaging rbutil on OS X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15220 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 11:48:57 +00:00
Jonathan Gordon
eee3745d70 Add 3 more OF datbase refresh locations for the e200 bootloader (FS#7990)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15219 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 10:01:05 +00:00
Dave Chapman
cb98ed026b Oops, forgot to set keywords on new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15218 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 09:13:34 +00:00
Dave Chapman
71cdf00437 Initial version of tcctool - a utility for talking to Telechips TCC77x-based devices in USB boot mode, allowing code to be uploaded to RAM and run via USB, without any danger of bricking. When your uploaded code crashes, just power-cycle the device and it is back to normal. Requires libusb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15217 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 09:11:34 +00:00
Jens Arnold
87f5359d60 Shuffle some instructions around for that extra percent of performance. Fix a bunch of comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15216 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 22:57:19 +00:00
Dominik Riebeling
152f405cce Small clarification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15215 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 22:49:06 +00:00
Dominik Riebeling
80ad919e26 make the dialog box asking about replacing an up-to-date bootloader less confusing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15214 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 22:41:47 +00:00
Dominik Wenger
f697158de1 rbutil: fix the complete installation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15213 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 22:17:52 +00:00
Dominik Wenger
04f1eaf4f0 rbutil: try to fix all Bugs from FS#7982 in the talkfile creation. Additionally fix the positon of the _dirname.talk file and uninstallation of talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15212 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 21:49:07 +00:00
Jens Arnold
5d066590cc APE codec: Assembler optimised predictor for coldfire. Heavily based on the arm version atm, instruction reordering will probably allow for a bit more speedup soon. Speedup: -c1000: 177% -> 210%, -c2000: 135% -> 147%, -c3000: 97% -> 103%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15211 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 21:35:07 +00:00
Thom Johansen
aae1c89456 Squish a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15210 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 21:21:12 +00:00
Thom Johansen
56db559754 Sync Speex to SVN. Add new header file to adapt to Speex' new way of doing wrapper functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15209 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 21:10:25 +00:00
Thom Johansen
6dc3a743ad Remove some Speex distribution test code we won't use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15208 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 18:10:28 +00:00
Steve Bavin
31a2f33eb8 Mop up some yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15207 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 15:43:43 +00:00
Steve Bavin
32a9575130 FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 15:31:42 +00:00
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