Michael Sevakis
d803cf5e4e
Heh. Better way to load the PROCESSOR_ID address. Thanks Thom. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13156 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 11:46:05 +00:00
Michael Sevakis
036168cbf9
PP5020/PP5024: Add ASM optimized inline current_core.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13155 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 11:15:43 +00:00
Jens Arnold
0b7bb31453
Simplification, queue pointers don't wrap (except at INT_MAX, but the calculation is still correct in this case). Implemented queue_count() for the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13154 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 09:47:47 +00:00
Michael Sevakis
9bfa237869
mpegplayer: Get it in better shape for dual core targets. Utilize the newly added cache stuff. Add a mutex to core shared buffer variables. I'd prefer to have a true spinlock there but this will do for the moment and protect the data. Nonetheless I can't seem to crash it on an e200 any longer and the display garbage is gone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13153 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 02:46:15 +00:00
Christian Gmeiner
3d6436e530
fix volume of left headphone
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13152 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 02:00:44 +00:00
Michael Sevakis
20c6bf50fe
Do the target shuffle again a better way by including from higher levels
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13151 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 01:18:06 +00:00
Christian Gmeiner
ca6f4abcf1
* make it louder - inspired by FS #6911
...
* disable some unneeded stuff -> save power
* remove some unneeded functions
* shadow registers, so we dont need to do so much i2c traffic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13150 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 00:49:35 +00:00
Jens Arnold
17c93f9be0
Fix an off-by-one bug (hitting when menu titles are enabled) in the oldmenu wrapper.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13149 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 00:03:09 +00:00
Dave Chapman
427fff4320
Add -rfb option for reading the main firmware (OSOS image) as a binary file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:28:20 +00:00
Dave Chapman
266707f818
Build libmad separately for mpegplayer. This provides flexibility to adjust things like IRAM usage independently - use #ifdef MPEGPLAYER in libmad to make any mpegplayer specific changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13147 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:05:42 +00:00
Michael Sevakis
bd6cb34f48
Hrmph. Forgot the other instance of cache hacking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13146 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 21:25:07 +00:00
Michael Sevakis
c0b463dd0b
Fix 3G errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 21:13:14 +00:00
Michael Sevakis
d95c39072a
Portal Player: Add invalidate_icache and flush_icache. Flush the cache on the core for newborn threads. In doing so, move more ARM stuff to the target tree and organize it to make a clean job of it. If anything isn't appropriate for some particular device give a hollar or even just fix it by some added #ifdefing. I was informed that the PP targets are register compatible so I'm going off that advice. The Sansa likes it though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13144 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 20:55:48 +00:00
Dave Chapman
e10f455fbd
Simplify the readshort/readlong/readstr functions - move the bounds checking into the calling function (which allows bounds-checking in chunks) and change the readshort/readlong functions (which now always succeed) to return the value read instead of a result code. Indirectly closes FS #7026
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13143 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 19:51:19 +00:00
Marcoen Hirschberg
5d2b1e3cb3
rename ACTION_WPSAB_RESET to ACTION_WPS_ABRESET to be more consistent with the rest
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13142 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 15:42:25 +00:00
Nicolas Pennequin
c97f0c60fd
Remove the crossfeed WPS tag from the manual.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13141 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 12:05:21 +00:00
Nicolas Pennequin
2ea39db310
FS#7020. Make the behaviour of '#' more consistent. It now requires escaping by a '%' to be displayed. If it is not escaped, the following text will be interpreted as a comment (including the newline character).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13140 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 11:43:10 +00:00
Jens Arnold
c05ee02312
Removed unused struct member from gui_synclist, and reordered struct members of gui_list for optimal packing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13139 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 23:53:17 +00:00
Peter D'Hoye
6be615615d
Fix sim crashes on long filenames. Patch by Sean Morrisey with some minor changes by me. Fixes FS #6009
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13138 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:38:54 +00:00
Jens Arnold
6222b2e693
Fix bootloader warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13137 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:26:19 +00:00
Jens Arnold
47bf6c5a5a
Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:12:13 +00:00
Peter D'Hoye
734278b7d1
Consistency fix: pressing play (on) button also takes you to the WPS just like elsewhere. Fixes FS #6743
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13135 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 21:28:58 +00:00
Barry Wardell
ddf83009a1
Switch to mi4 format for Rockbox binary on H10 and Sansa. This means we now only have one binary format to deal with on this target. Users with bootloaders older than 20 March 2007 will have to update. Up to date ones are already on download.rockbox.org since that date.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13134 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 21:07:35 +00:00
Miika Pekkarinen
5e47daa944
Now track total playtime should be accessible as well by using Pm and Ps virtual tags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13133 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:21:56 +00:00
Miika Pekkarinen
9d9937a0ad
Added virtual tags in database to break track length to minutes and seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13132 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:14:05 +00:00
Magnus Holmgren
ec88dffb6c
Make resuming a directory bookmark more robust (e.g., when the directory no longer exists).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13131 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 19:11:39 +00:00
Miika Pekkarinen
e6de6e5f8a
FS#7002 - Fix a bug in parser of tagnavi.config preventing to set first menu as the root menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13130 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 18:33:40 +00:00
Miika Pekkarinen
0569fae8ec
Fix metronome plugin crashing on SWCODEC targets and fixed a division by zero as well when tapping in the beat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13129 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 17:58:42 +00:00
Dave Chapman
dbcd321813
Non-functional change - use the firmware __backlight_on() function instead of writing directly to the ports to turn the backlight on
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13128 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 17:58:02 +00:00
Nicolas Pennequin
27cbf6bcea
* Add the crossfade (%xf) WPS tag
...
* Avoid eating the whole line when unsuccessfully parsing a %x or %xl tag. This will prevent unknown tags starting with %x from making the line disappear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13127 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 16:15:34 +00:00
Jonathan Gordon
f9fb49284e
Give most of the items in the main menu a context menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13126 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 15:28:51 +00:00
Marcoen Hirschberg
88c05bd3c1
fix typo in the last commit: lcd_setfont -> lcd_remote_setfont
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13125 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 13:36:49 +00:00
Jonathan Gordon
c939774269
If credits.rock isnt loadable manually show the logo and version.
...
Hopefully fixes FS#6799
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13124 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 12:14:54 +00:00
Michael Sevakis
8b9df97d96
mpegplayer: Recover from audio stream errors better. Correct some sizes. Add some needed extra guard buffer. Add in an important additional wrap check. Stream demuxer needs work on when it looks ahead in the stream and it should wrap though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13123 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 11:36:12 +00:00
Marcoen Hirschberg
9291ae50ca
simplify UDA1380 bass and treble code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13122 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:08:49 +00:00
Marcoen Hirschberg
91ea874c71
remove Sansa from the todo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13121 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:03:56 +00:00
Michael Sevakis
5f1abee2dc
mpegplayer: oops, added an IRAM init/buffer get order switch that should have been reversed before committing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13120 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 07:57:01 +00:00
Karl Kurbjun
dcf6bd23f3
Fix the backlight and led bugs from my last commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13119 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 07:21:51 +00:00
Michael Sevakis
4bd827b242
mpegplayer: do some reordering, add some needed volatiles, make sure thread creation failure is handled correctly, make sure audio doesn't attempt to finish remaining data if it was asked to stop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13118 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 06:02:47 +00:00
Michael Sevakis
9cd6394d8c
SWCODEC: Fix a race condition caused by yielding in pcm_mute that could have playback messing around with pcm after supposedly being fully stopped. The pcm buffer mutes consistently on some players (the PP ones) which made audio_stop return too soon. Won't matter if it yields or not now and this should take care of the mpegplayer 'next video' issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13117 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 05:58:09 +00:00
Michael Sevakis
6c9a433ca1
Add a check to make sure initializing the BSS section doesn't pass a negative size to memset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13116 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 05:18:53 +00:00
Jens Arnold
4c151dcb21
Oops, forgot to commit 2 new files...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13115 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:54:34 +00:00
Jens Arnold
8636e6949e
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Peter D'Hoye
b16137e10b
Make sure selected track of playlist viewer doesn't become bigger than number of tracks when deleting the last track. Fixes FS #6899
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13113 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 22:39:12 +00:00
Jens Arnold
d6e822cab9
Get rid of some old archos debug cruft (USB polarity, PR polarity and ATA address are all derived from the hw mask, and master/slave isn't displayed on other targets either). * Get rid of all the USB*STYLE macros (except USB_IPODSTYLE).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13112 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:26:58 +00:00
Peter D'Hoye
81cf65e496
Wavview plugin: minor speed increase
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13111 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:24:33 +00:00
Jens Arnold
fad79dc636
Moved archos USB handling to target tree. Minor simplification for coldfire (only one usb-target.h).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13110 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 20:44:32 +00:00
Michael Sevakis
dfa9f44034
mpegplayer: Hopefully help some problems on dual core. Make USB mode exit correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13109 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 11:02:45 +00:00
Linus Nielsen Feltzing
7c4b786851
Some quick and dirty MIDI player optimizations, now it works on the X5 and M5 too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13108 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:48:50 +00:00
Jonathan Gordon
08e633c25c
Hide the list title if only one line would fit under it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:34:44 +00:00