Commit graph

1832 commits

Author SHA1 Message Date
Tom Ross
19c280f327 Reenable icode in Rockboy for PP/Arm targets. Previously caused problems on Nano and Photo but these issues should no longer exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15138 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 04:28:42 +00:00
Michael Sevakis
a9b2fb5ee3 Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 01:25:17 +00:00
Jens Arnold
0d3ca0032d Fix warnings in test_fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15130 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 23:07:25 +00:00
Antoine Cellerier
c05ba51007 Enable star transition on all targets and prevent lcd partial updating of 0 area rectangles. This should fix FS #6334. As I don't own one of the targets which were affected by this bug I can't confirm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15127 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 21:00:57 +00:00
Peter D'Hoye
8714b75d2b Delay boosting and backlight on until after the menu selection is done. Fixes FS #7964. There remains an issue with the movie being loaded before the menu is shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15123 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 19:29:33 +00:00
Michael Sevakis
50eed82f6b Fix an improper file_exist check in zxbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15119 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 08:28:19 +00:00
Jonathan Gordon
c03002b256 use the list context in credits which has to be defined for every target
(fixes the bug where you cant exit credits on the player)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15118 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 08:25:29 +00:00
Michael Sevakis
0b0c23ff13 Fix some plugins that use NULL instead of -1 when not using a voice id in struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 07:59:13 +00:00
Stepan Moskovchenko
1515ff8522 MIDI: At long last, though quick and dirty, pitch bend depth! Or, I think it works. Tested on two
files. Let me know if anyone discovers any problems with this. This commit also includes Nils's synth 
loop optimization patch. I hope committing it does not cause problems.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15112 a1c6a512-1295-4272-9138-f99709370657
2007-10-15 05:11:37 +00:00
Antoine Cellerier
57418b2192 Use the CLOCK_RATE define instead of 44100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15110 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 21:05:26 +00:00
Jens Arnold
cb4186c989 Improved FPS test plugin: * Better precision for low frame rates (take extra ticks into account). * Measure YUV blit framerate on colour targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15099 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 22:32:35 +00:00
Dave Chapman
e88ac4ce4a Cosmetic change - change the "loading ..." splashes to "Loading...", as used everywhere else in Rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15081 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 23:06:05 +00:00
Robert Kukla
83ec896586 FS#7931 - mpegplayer - resume on idle off - play files without start time of zero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15079 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 22:38:16 +00:00
Peter D'Hoye
9875700627 Accept FS #7933 by Mario Lang: bugfix in fireworks plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15078 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 19:33:27 +00:00
Marianne Arnold
c0c6cff3c1 Add the missing keymap for the c200, the plugin was compiled before but since there was no way to get to the menu it wasn't very usable...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15070 a1c6a512-1295-4272-9138-f99709370657
2007-10-10 21:35:49 +00:00
Robert Kukla
a07e93938c fix yellow and some house cleaning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 21:28:51 +00:00
Robert Kukla
fd3fe45bc1 FS#7487 - mpegplayer - video start time seek with resume
by John S. Gwynne & Brian J. Morey
This should stop the patch from breaking again and give them opportunity to improve it further.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 20:42:20 +00:00
Nicolas Pennequin
9ff40579c3 Hopefully the last fix for crosscompilation of sims with mingw32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15048 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 18:44:07 +00:00
Nicolas Pennequin
b8eb2a89ad Oops. Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15046 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 15:37:43 +00:00
Nils Wallménius
f619f81676 Change loop structure for sample synthesizing. Gives a nice speedup on both coldfire and arm targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15036 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 19:28:41 +00:00
Michael Sevakis
d712e252fe Get test_codec running again on PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15035 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 18:17:46 +00:00
Jonas Häggqvist
46b7028f91 Keep a 2 pixel margin in the instructions screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15033 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 00:03:15 +00:00
Jonas Häggqvist
548886a17e Use the userfont for the instructions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15032 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 23:50:43 +00:00
Jonas Häggqvist
52336cdeb3 Add instructions on all targets. Somewhat hackish, I'm afraid, but works reasonably well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15030 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 23:01:26 +00:00
Jonas Häggqvist
59f523ce66 Save some more space by not allocating arrays large enough to hold more than NUM_BOGUS (defined at compile-time) elements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15029 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 23:00:43 +00:00
Nils Wallménius
27588edd7e Do the checking arm targets in a nicer way in the makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15024 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 18:24:53 +00:00
Michael Sevakis
6077e5b7c8 Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 22:27:27 +00:00
Michael Sevakis
f6de0d4083 Discontinue any use of 'swp(b)' on PP5020. While clocking is stable, some testing revealed this instruction can still cause problems without concurrent access. Make sure mpegplayer is safe while not using spinlock (no longer atomic) between cores to protect the stream byte counters - use nonwrapping head and tail pointers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15005 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 15:01:37 +00:00
Nils Wallménius
c27ae40ca2 Reduce memory usage so that we can include all messages on all platforms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14997 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 21:28:43 +00:00
Nils Wallménius
1d7912955b Get rid of unnecessary memory acesses in a loop, gives slight speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14996 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 21:03:56 +00:00
Jonas Häggqvist
44f3706b29 Exclude some more messages for targets with only little space for plugins to allow them to build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14995 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 20:26:45 +00:00
Jonas Häggqvist
ef7affa01b New plugin: robotfindskitten - a zen simulation. More (or less) information on robotfindskitten.org.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14993 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 20:02:32 +00:00
Linus Nielsen Feltzing
6ac7947e42 Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14991 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 13:25:35 +00:00
Nils Wallménius
5118f48d73 A loop with one iteration is a little strange, also put it inside an #if block to not rely on gcc otimizing it away
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14990 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 12:22:58 +00:00
Linus Nielsen Feltzing
a26ccdebf3 Platform specific button descriptions for battery bench. Fixes FS#7893
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14989 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 11:51:34 +00:00
Nils Wallménius
8219f2801a Make synthVoice return int instead of short, gives a nice speed up also add a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14988 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 11:15:04 +00:00
Nils Wallménius
ca46a3d095 Increase output buffer size to 32kB, results in less buffer missing in general and avoids buffer misses when lcd remote is plugged in while playing and ticking reduction is enabled. Increase max voices used on coldfire targets to 24 and reduce voices used on pp targets to 16. Put one more struct in iram for a slight speedup on coldfire. Fix comments in midiutil.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14984 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 21:01:40 +00:00
Nils Wallménius
e1940b87b0 Optimisation of the midi player, reducing the number of multiplications and memory accesses inside a very frequently executed loop, also does shifting of the whole sample when synthing is done which improves accurracy slightly, ~10% fewer buffer misses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14983 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 19:36:42 +00:00
Nils Wallménius
84fcf967e4 Oops, forgot one file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14979 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 10:32:28 +00:00
Nils Wallménius
cb9ba11de6 Remove wrapper for pressNote and make the function externally visible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14978 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 10:30:01 +00:00
Nils Wallménius
4ebe69293c Put a struct in iram for a small speedup on coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14973 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 20:38:04 +00:00
Stepan Moskovchenko
1ba018bb01 Add drum names, make cowbell a default instrument (no way to remap them from UI yet). Add non-static
wrapper for pressnote (is there a better way?). Beatbox only tested on H300; compile at own risk.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14972 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 17:42:16 +00:00
Marianne Arnold
38f953320b Minesweeper for the c200. The slightly smaller tiles made for this will also be used by the small H10 now, thought that was fair and it also complies with the comment about the number of tiles above.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14971 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 17:09:06 +00:00
Steve Bavin
5a78a06073 Just temporarily disable talk menus, in case the player is reset whilst in mpegplayer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14970 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 16:17:36 +00:00
Michael Sevakis
51a8a1e3f3 This should fix the voice issues in menus in mpegplayer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14962 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 20:24:25 +00:00
Jens Arnold
a4f0de0f9d Doom: * Fix voicing numerous options as 'yes'. voice_id is an id, not a pointer. *Fix struct menu_item <-> struct opt_items messup (caused no problems but still...).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14960 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 19:53:35 +00:00
Steve Bavin
6d0ee558e8 Fix signed/unsigned warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14952 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 08:39:55 +00:00
Steve Bavin
4d34457cd0 Thanks to Nico_P, struct track_info can now be internal to playback.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14947 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 07:47:43 +00:00
Marcoen Hirschberg
ded94e69c4 FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 17:16:31 +00:00
Nils Wallménius
f9664e7e87 Unroll a frequently executed loop a little for a small speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14924 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 19:22:57 +00:00