Commit graph

12879 commits

Author SHA1 Message Date
Jonathan Gordon
21c930310c woops, used the wrong define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 10:14:32 +00:00
Jonathan Gordon
73c46ffd6e Convert the playback control menu to the new API. Makes a good example
for plugin devs :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12919 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 09:14:16 +00:00
Jens Arnold
1764583f99 Rockblox: Repair initial display on targets with no highscore list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12918 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 08:52:36 +00:00
Jens Arnold
51f4d3f212 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12917 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 08:04:30 +00:00
Jens Arnold
ad4e3d6657 First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +00:00
Michael Sevakis
165f62d0cd Fix a hole in the scheduler where collisions between waking blocked threads in mutexes with interrupts waking blocked threads in message queues can occur. Queue posts will put the threads on a separate list that is then added to the running list with IRQs disabled on the next task switch or CPU wakeup. Basically no overhead for other operations. Seems a likely cause of my occasional observation of the backlight fade causing playback threads to stop running and a recently reported blocking violation upon USB plugging. Time will tell but banging the backlight on and off frequently hasn't hiccuped again for me on H120.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12915 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 03:24:36 +00:00
Dave Chapman
5e2984ad80 Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12914 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:43:10 +00:00
Dave Chapman
a56757137c mpegplayer for grayscale targets. Note that performance is slow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12913 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:32:31 +00:00
Michael Sevakis
8f04faef91 Save a couple bytes in set_irq_level on Coldfire. Should add up to something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12912 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 20:45:08 +00:00
Dave Chapman
465820da22 Initial attempt at rebuffering
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12911 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 18:05:14 +00:00
Tom Ross
8a6e69263e Fix a few bugs in Xobox. Now menu isn't pure black on non-color targets and an issue where the board was drawn even when the user quit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12910 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:52:56 +00:00
Robert Kukla
77983681ca fix bug where runtime data was not gathered for last track (end of playlist or stop button).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12909 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:12:27 +00:00
Jonathan Gordon
8b7a27d189 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12908 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:42:14 +00:00
Jonathan Gordon
1f5ee2a366 convert the xobox menu to the new API so it can be used as an example for plugin devs
Includes some fixes in the api to handle this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:31:56 +00:00
Jens Arnold
14fea30548 Allow clearing the backdrop on greyscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12906 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 12:24:58 +00:00
Michael Sevakis
369c2a37b7 SWCODEC & Coldfire: Do some more DSP straigntening out. Do as much Coldfire optimizing as seems reasonably possible by jumping through some hoops to avoid stalls. Further boost reduction will just be fractional points if taken to extremes-- not worth it. Wrap up the ASM for awhile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12905 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 04:03:44 +00:00
Tomasz Malesinski
cd630c9e0a PNX0101 changes:
Make PNX0101-specific system.c and crt0.S.
Add new register names from LPC2880 user manual.
Add support for timer.
Enable CPU frequency changing. 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12904 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 19:26:13 +00:00
Tomasz Malesinski
7d9ff93b79 FS #6848 - optimizations of Huffman decoding in Tremor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12903 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 14:06:56 +00:00
Tomasz Malesinski
25046aac17 FS #6848 - fast vector operations for ARM in Tremor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12902 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 13:45:54 +00:00
Dave Chapman
467651ae76 Make the sim create_thread() function slightly closer to the real thing. #include "thread.h" in thread-sdl.c to ensure function prototypes are consistent. This now allows mpegplayer to run in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12901 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 01:27:29 +00:00
Barry Wardell
5242cff2b8 Update uninstall and add dual-boot instructions for Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12900 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 17:33:49 +00:00
Barry Wardell
8986cb7a2e Update Sansa install instructions now that we have sansapatcher. Based off the SansaE200Install wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12899 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 17:06:29 +00:00
Barry Wardell
74b9ec0bbe FS#6860 - Battery calibration for Sansa. Thanks to Matthias Wientapper.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12898 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:59:01 +00:00
Dave Chapman
7a780dbefc Bump version to 0.2 with new bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:09:34 +00:00
Dominik Riebeling
c3bef27cbd Temporary workaround hard lockup with "nothing to resume" splash at end of the playlist if the last active screen was the main menu. A proper fix should come soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12896 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 08:09:28 +00:00
Michael Sevakis
6d87513aa2 In reponse to a report of a blocking violation, give sync queues a going over and catch any old, obscure leftover issues. A couple spots needed interrupt stopage where there could be confict if an IRQ post wakes a waiting thread because the queue is overflowing. There does appear to be an issue with wakeup_thread, interrupts and running list modification in general.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12895 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 01:00:13 +00:00
Dave Chapman
8b40769554 Clamp output when converting from libmad's s3.28 format to 16-bit integers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12894 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 22:47:04 +00:00
Barry Wardell
176cd65e4c Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:59:58 +00:00
Barry Wardell
149a7bab5b Make Gigabeat's scramble endian-safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12892 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 15:53:37 +00:00
Nicolas Pennequin
e5b77b1a47 Add the necessary action_signalscreenchange call to avoid going back one level in the tree after leaving the cuesheet viewer screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12891 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 13:52:56 +00:00
Jonathan Gordon
17a7f7ad35 Use power for ACTION_STD_CANCEL when left is being used for something else
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12890 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 13:16:26 +00:00
Jonathan Gordon
ceb1e7a2fe minor code cleanup and policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:55:51 +00:00
Jonathan Gordon
a76947f2a2 Enable usb detection in the sansa bootloader (loads OF if detected)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:45:19 +00:00
Jonathan Gordon
62ec36c113 Woops.. no longer needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12887 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 11:35:54 +00:00
Jonathan Gordon
da0ee110d9 fix FS#6877 — Using the quickmenu in the database view causes problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12886 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 11:31:34 +00:00
Dave Chapman
46cf8805b6 Oops, only swcodec targets have pcm_get_bytes_waiting()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12885 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 09:40:26 +00:00
Dave Chapman
8310848421 Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 09:18:46 +00:00
Nicolas Pennequin
81cad7db46 Further error checking that I shouldn't have forgotten earlier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12883 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 23:35:26 +00:00
Michael Sevakis
55392f7d3c Perform the obligatory fix-the-sims dance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12882 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 23:33:49 +00:00
Michael Sevakis
0caf3b8cae Update sync queues to use a statically allocated return value in order to facilitate upcoming COP updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12881 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 22:58:53 +00:00
Nicolas Pennequin
a83a94ea9c Add a bit more error checking to prevent possible crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12880 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 21:38:55 +00:00
Daniel Ankers
5511611622 Fix blitting on Sansa so Mpegplayer works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12879 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 13:25:30 +00:00
Dave Chapman
b2b79d57d8 Some more sanity checks - don't recognise the new bootloader installed via the old method as a valid E200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12878 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 13:01:22 +00:00
Dave Chapman
5efce18257 Always display the 'Press ENTER to exit sansapatcher' prompt when there is an error in interactive mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12877 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 11:05:38 +00:00
Barry Wardell
bbe55362da Fix FS#6875 - can't change shuffle setting in quickscreen on Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12876 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 09:53:14 +00:00
Michael Sevakis
1b4eb5bcf1 Correct some color unpacking macros.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12875 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 09:47:13 +00:00
Jonathan Gordon
e4689fd18e revert the last commit... setting wasnt worth the space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12874 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 07:26:07 +00:00
Jonathan Gordon
a5c5bd3831 Add a setting to force the backlight to stay on (or act normally) when
in plugins.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12873 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 07:05:05 +00:00
Jonathan Gordon
59649b888a Fix FS#6863 - infinite looping with "Nothing to resume"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12872 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 05:45:34 +00:00
Barry Wardell
8951024a67 Explain how to get from the OF back to Rockbox on H10. Also explain about the Music folder being hidden on MTP models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12871 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 00:54:17 +00:00