Commit graph

4084 commits

Author SHA1 Message Date
Jonathan Gordon
4b1d1b4033 e200: Make the wheel light timeout configurable (under settings > system) (FS#7067)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 13:02:24 +00:00
Barry Wardell
54866bdc9e Don't need all those #include's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13242 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:44:45 +00:00
Barry Wardell
ee80bcaa79 Fix build errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13240 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:27:54 +00:00
Barry Wardell
f43e50dc53 Move PortalPlayer system.c code into the target tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13239 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:03:17 +00:00
Barry Wardell
0a643b8d90 Fix some very probable typo's.
CPU_INT_STAT is at 0x60004000, not 0x64004000.
CPU_HI_INT_STAT is at 0x60004100, not 0x64004100.
Fix wrong IRQ CLR addresses being used by system_init().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13238 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 11:30:32 +00:00
Jens Arnold
c49d5dd631 Coldfire targets: Adjusted PLL settings (lowest possible VCO clock for each setting) and IDE timing (especially it's faster now on M5+X5). * Added/updated table showing the necessary settings (PLL, refresh, waitstates, IDE timing) for each possible clock frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13230 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 09:29:01 +00:00
Jens Arnold
c69f032df4 Player: Fix the dollar sign for old LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13228 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 05:32:11 +00:00
Karl Kurbjun
8a1fd8c686 Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 04:48:20 +00:00
Marcoen Hirschberg
15dfe87f96 move audio drivers together into a subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13209 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:46:50 +00:00
Marcoen Hirschberg
f725ef1256 move to target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13208 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:20:54 +00:00
Marcoen Hirschberg
6ffbe3896b move the iriver ifp7xx and other pnx0101 related files together in the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13207 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:14:55 +00:00
Jonathan Gordon
710a9ca194 allow the backlight on hold setting to work correctly on sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13206 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 08:03:23 +00:00
Marcoen Hirschberg
f44f961812 move the Gigabeat from gigabeat/meg-fx to s3c2440/gigabeat-fx to avoid problems with possible ports in the future: Gigabeat S/V (i.mx31 based) and Kenwood HD20GA7/HD20GA9 (s3c2440 based)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13200 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 12:22:27 +00:00
Michael Sevakis
521d6a5e1f H100 S/PDIF recording: Check and clear the correct interrupt bits when recording from digital in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13198 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 02:07:56 +00:00
Jonathan Gordon
5e6e7c5ce5 hmm.... do it a bit nicerly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 11:41:07 +00:00
Jonathan Gordon
7056391eb1 Only trigger a wheel press once per click like the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13195 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 11:36:54 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:14:36 +00:00
Jens Arnold
7a5d4011f5 Moved SH1 ADC to target tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13174 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 23:35:56 +00:00
Jens Arnold
36ba4b02bd A bit of clarification of code origin. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13173 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 22:52:42 +00:00
Christian Gmeiner
d226bfdc21 fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13170 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 21:32:17 +00:00
Christian Gmeiner
947eb50d64 adapt some values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13167 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 14:38:22 +00:00
Christian Gmeiner
8a5ecc8eb4 * save more power, as we dont need the mixer (yet)
* clean up headers and other clean ups


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13166 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 14:05:58 +00:00
Michael Sevakis
ac94641606 e200: Use cached memory for the yuv chroma buffer. Gives some speedup. Align lcd_driver_framebuffer to the same alignment as lcd_framebuffer. The need for this became apparent when the first change cause aligment & 3 != 0 and the screen was wrapped one pixel right with a black pixel at (0, 0).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13161 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 19:49:58 +00:00
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
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
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
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
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
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
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
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
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
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
Karl Kurbjun
60fed9aeb6 Gigabeat: Pin initialization for the USB and ATA interface. This also adds proper coldstart detection for the ATA interface.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13103 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:30:15 +00:00
Michael Sevakis
6689cb0f9b mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 14:18:30 +00:00
Michael Sevakis
af7780e0b3 More complete sized integer definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13092 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 09:43:06 +00:00
Barry Wardell
13c111aaec Remove unused code (already moved to target tree).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13091 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 01:22:52 +00:00
Karl Kurbjun
84789c6f6d RTC alarm for Gigabeat. Will be useful one the OF bootloader is no longer required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13077 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 06:27:35 +00:00
Jonathan Gordon
a053e58894 minor actions cleanup:
- CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions
- (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 01:33:01 +00:00
Miika Pekkarinen
7b1e827f0c Dircache fixes: Stop scanning properly if shutdown is initiated. Require user to re-enable dircache if initialization fails. Don't create statefile unless eeprom settings have been initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13060 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 17:48:51 +00:00
Jens Arnold
f9b90e9103 Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jens Arnold
52112a05f1 Hmpf, these ever-missing svn properties...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13044 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 11:22:26 +00:00
Jens Arnold
60b99811eb Player: Only use one software definable character for different characters using the same glyph. * Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13043 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 11:20:39 +00:00
Dave Chapman
4303ab02a3 Optimized lcd_yuv_blit() (used by mpegplayer) for the Sansa E200. This is just a copy-and-paste of the Gigabeat version by Michael Sevakis with no attempt to adapt to the different CPU in the E200 - so there could be room for further improvement. Reported to increase the FPS for the 224x128 version of Elephants Dream from 21fps to 27fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13042 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 09:34:13 +00:00
Jens Arnold
cfa19ff00c Added missing ae ligature, and fine-tuned some glyphs and replacements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13040 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 22:00:50 +00:00
Peter D'Hoye
2ba2744fb0 Oops, bootfile location for Archos is the root of course
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13037 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 20:51:13 +00:00
Peter D'Hoye
bf92f9c1f6 Fix automatic rolo on new version for archos. Introduces new define in config files for bootfile location.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13036 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 20:24:07 +00:00
Jens Arnold
2aad3c05f3 Player: Found two more Latin extended chars on the old LCD, and mapped them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13025 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 00:37:22 +00:00
Jens Arnold
7a8326e283 Calibrated (discharge) battery percentage table for iAudio X5(L) and M5(L). Runcurrent values and hence runtime estimation is still off, but battery percentage should be ok now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13024 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 00:20:35 +00:00
Jens Arnold
5a69689188 Replace obsolete generate_rocklatin tool with player_unifont tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13014 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 00:16:11 +00:00
Jens Arnold
61350bf91c Remove old reference code, better match Old-LCD init with datasheet, and a bit of optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13013 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 21:22:48 +00:00
Jens Arnold
8f872e8ac5 Set svn:keywords properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13009 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 19:06:14 +00:00
Jens Arnold
04306321c3 Added command macros for old LCD. Renamed some macros to better match the datasheets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13008 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 19:04:33 +00:00
Jens Arnold
323d75d25f It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the simulator. * Removed a stray lcd_icon() call from usb handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 18:06:13 +00:00
Michael Sevakis
104d9b5c21 Minor code policing. Correct a comment and remove a stray comment delimiter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12999 a1c6a512-1295-4272-9138-f99709370657
2007-04-02 09:34:29 +00:00
Michael Sevakis
6f56607212 Gigabeat: Add an assembly lcd_yuv_blit. Seems to be good for a modest speedup. ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12998 a1c6a512-1295-4272-9138-f99709370657
2007-04-02 09:27:12 +00:00
Jens Arnold
6d0e87bd88 Player: Add 3 turkish characters which are available in hardware on the old LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12994 a1c6a512-1295-4272-9138-f99709370657
2007-04-02 00:01:55 +00:00
Robert Kukla
6dbcceb1fe for WPS files with many lines the current wps code will call puts_scroll with y-values greater than the size of the scroll[] array (e.g. gwps-common.c:2063). This is a temporary security measure until viewports and/or wps tokenizer are available...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12992 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 17:28:46 +00:00
Jens Arnold
c67c892cd3 Ooops. Bring back the full set of codepages for bitmap targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12991 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 13:31:09 +00:00
Jens Arnold
738c37cdcf Player: Reduced the selectable codepages to those which can actually work, and made them work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12990 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 13:09:22 +00:00
Miika Pekkarinen
4954bdf6d3 Accidentally enabled core locking mechanism. Now disabled again because it still causes problems on some players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12989 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 11:47:58 +00:00
Miika Pekkarinen
28b061d1e3 remove_thread(NULL) contained a null pointer bug causing a crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12988 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 11:33:33 +00:00
Miika Pekkarinen
e041a3200b Recording queue should be set to IRQ safe mode as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12983 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 15:26:33 +00:00
Jens Arnold
a8aec35d0a Player: Make cursor blinking rate almost independent from scroll speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12981 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 12:42:12 +00:00
Jens Arnold
54ea2e435e Charcell lcd driver: Preparations for switching to non-immediate LCD updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 09:58:49 +00:00
Jens Arnold
a122d24b2b Player: Fixed bug where strings which are only a bit too long wouldn't scroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12977 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 07:08:40 +00:00
Linus Nielsen Feltzing
a452f73e44 Correct parsing of the ID3V2 extended header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12970 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 12:55:46 +00:00
Marcoen Hirschberg
4c59c1a441 Correct the YCbCr to RGB conversion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12969 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 10:09:19 +00:00
Linus Nielsen Feltzing
f46857f085 Patch by Denis Stanishevskiy, prevent endless loop in the ID3 parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12968 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 07:11:55 +00:00
Michael Sevakis
ee6bb1b579 Missed one variable declaration updating byteswapping functions. Not functionally different but keeps things consistent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12965 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 19:22:11 +00:00
Jens Arnold
10a5d0e003 Player: Save a bit of space by only using 7 bytes/char in the glyph table.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12962 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 17:48:26 +00:00
Michael Sevakis
d71b531c25 Fix the rest of them I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12958 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 06:00:14 +00:00
Michael Sevakis
d7670647e5 Fix errors. What an errant keystroke when saving can accomplish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12957 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 05:53:46 +00:00
Michael Sevakis
e754b16f4b Add an asm swap_odd_even32 to SH and ARM. Have the byteswapping functions take and return intxx_t data types.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12956 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 05:30:25 +00:00
Michael Sevakis
62e0a516a0 Accept FS#6918 - Remove Nested Functions by Tim Ross. Adjust some names. Hunt down and remove the remaining ones in the recording system as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12955 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 01:55:47 +00:00
Jens Arnold
583caa867b Player: Add mappings and glyphs for extended latin A characters which exist in hardware on old LCD. Makes polish, czech, ... work properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12954 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 23:21:31 +00:00
Jens Arnold
e394836b61 Player: Add mapping for halfwidth katakana (newplayer only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12952 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 21:54:29 +00:00
Jens Arnold
97f72a8b2b Player: Add mapping and glyphs for greek. Fix and improve some cyrillic mappings. Use alias #defines to make reused glyphs more obvious.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12951 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 20:40:56 +00:00
Jens Arnold
7ba70a6d8e Fix cyrillic 'em' for new LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12944 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 22:30:29 +00:00
Jens Arnold
a4ef0c4897 (all targets) Increase scrolling line size to account for utf-8 in the overlap. (player) Fix utf-8-related scroll-around display bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12943 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 22:14:53 +00:00
Jens Arnold
45581245de Player: Add mapping and glyphs for cyrillic. Fixes FS #2424.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12942 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 22:13:02 +00:00
Miika Pekkarinen
02a4802d3e A temporary fix to crashing on some dual core targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12941 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 20:41:10 +00:00
Jens Arnold
290a812e71 Make the charset more maintainable by using an enum for font indexing, fix wrong U circumflex, and add 2 missing characters to the vkeyboard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12940 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 18:32:58 +00:00
Miika Pekkarinen
e509fe1b56 Committed a forgotten file, hopefully fixed the PP crashes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12939 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 17:20:41 +00:00
Barry Wardell
aefc939255 Fix wrongly reported CPU frequency in the debug screen on Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12938 a1c6a512-1295-4272-9138-f99709370657
2007-03-27 10:07:55 +00:00
Jens Arnold
b00d66a507 Forgot to add the cent sign for new LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12935 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 22:10:49 +00:00
Jens Arnold
3aafa11d6e Latin1 complements for player charset: Add soft patterns for chars which are available in hardware on one LCD, plus some accented letters which aren't present on both.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12934 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 21:58:38 +00:00
Miika Pekkarinen
b1a5c0ffa9 This should fix the remaining compilation issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12928 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 17:58:45 +00:00
Miika Pekkarinen
c284685525 Fixed compilation problems with boostctrl_mtx.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12927 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 17:29:04 +00:00
Miika Pekkarinen
66258a30a4 Make scheduler functions thread safe core wise. A big step towards playback running on COP (not yet possible because more protection on file system level is necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12926 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 16:55:17 +00:00
Robert Kukla
226cb7b0b8 Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12922 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 15:08:59 +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
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
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
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
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
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
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
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
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
Barry Wardell
3bf7f29312 Oops, shouldn't have committed this just yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12866 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:19:30 +00:00
Barry Wardell
7cd559dde0 Oops, the mi4 magic was being looked for in the wrong place when decrypting. Also decrease verbosity of PP bootloader a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:18:35 +00:00
Michael Sevakis
3354531614 More logf fixes. speex.c wants to format 64bit args so I didn't change that one nor add any formatting for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12858 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 13:53:23 +00:00
Michael Sevakis
e693bc0f5d Oops. Should've used the unsigned local variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12857 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 13:45:38 +00:00
Michael Sevakis
658561d135 Add %u and %lu formats to format(). Coming up: logf fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12856 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 13:36:03 +00:00
Daniel Ankers
b22e15b2bd Sansa LCD: Make the second framebuffer static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12849 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 11:19:20 +00:00
Daniel Ankers
15dfcd13ef Improved LCD driver for Sansa. Uses double-buffering to cure the flickering. Stops DMA during device initialization, which should stop the occasional hangs - based on FS#6859 by Antonius Hellmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12848 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 10:52:02 +00:00
Barry Wardell
739ff041ac Do the sprintf .precision format in a safer way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12846 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 09:52:50 +00:00
Michael Sevakis
600ca577dc Rrrr. Editor shouldn't have left those tabs. Will check settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12845 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 22:14:10 +00:00
Michael Sevakis
6114f59006 Oops. Left an unneeded test line in SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12844 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 22:10:04 +00:00
Michael Sevakis
e1dd10ddfb SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12843 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 22:04:17 +00:00
Barry Wardell
58038d86f1 Add support for the .precision format in the sprintf()-like functions to allow limiting the maximum length of a string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12838 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 10:57:23 +00:00
Dave Chapman
15638dec2e There is no need to hide CONFIG_RTC in the bootloader - it's harmless. Fixes warnings caused by enabling HAVE_RTC_ALARM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12837 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 21:06:19 +00:00
Dave Chapman
f127cd598b The UI sim simulates the RTC, so there is no need to disable it - affects all ipod sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12836 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 20:54:33 +00:00
Jens Arnold
cb1c9e447e Archos player: Introduce lcd_write_command_e (only one data byte) in the lcd driver, for cleaner C code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12835 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 17:58:49 +00:00
Magnus Holmgren
01a010fd19 Fix several printf-style warnings in logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12830 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 09:50:53 +00:00
Barry Wardell
e293bbb451 If loading rockbox.mi4 fails, then drop back to trying rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:07:20 +00:00
Jens Arnold
f68362ad6f Fix simulator builds, and some debugf() format strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:54:28 +00:00
Miika Pekkarinen
75e1fd718f Fixed the logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12816 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:38:25 +00:00
Jens Arnold
79c8a8cbbe Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Jens Arnold
2c7b127dd7 Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:47:03 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Barry Wardell
b8a5adfcdb Partition type 0x84 is "OS/2 hidden C: drive"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:41:55 +00:00
Michael Sevakis
a2ee6a6681 FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:40:40 +00:00
Barry Wardell
14ed3ca8d8 In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
When loading the OF:
1) first try to load from a hidden disk partition
2) try loading /System/OF.mi4
3) finally fall back to loading /System/OF.bin which is what the old bootloader used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:28:00 +00:00
Barry Wardell
1146418494 Fix problem where power_off() on the H10 returns before the device is actually powered off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12801 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 13:52:16 +00:00
Linus Nielsen Feltzing
0379588361 Jan 1 1980 was a tuesday
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12789 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:25:04 +00:00
Barry Wardell
73106a2a69 Fix problem where power_off() on the Sansa returns before the device is actually powered off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12788 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:17:09 +00:00
Jens Arnold
39e1b59c48 Fixed backlight voltage for M5. Now the backlight is as bright as in the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12787 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 19:08:24 +00:00
Michael Sevakis
6c8772d6db x5/M5: Finally get rid of filter selection aberrations when switching to 88.2kHz sampling rate which affected both the DAC and ADC. Turning off the DAC and ADC before changing the internal codec frequency seems to cure the remaining glitch of the filters not being correctly selected by the TLV320. Some FIFO reset changes that help keep it stable as well. Supporting 88.2KHz on iAudio has been a tricky ordeal. Also made sure to ok the HW tone controls on iRiver. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12757 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 10:06:57 +00:00
Michael Sevakis
abf41e3481 H100 Series: Fix FS#6810 - Distortion on Bass/Treble usage. Coldfire PCM needed a refinement in the init sequence for the UDA1380 after audio init changes. Apparently it doesn't like its registers altered before the Coldfire I2S is properly initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12752 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 15:05:46 +00:00
Barry Wardell
7f4f9aead7 Improved ADC driver for AS3514 (used in PP5024 - ie. Sansa e200) based off datasheet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12745 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 01:50:13 +00:00
Barry Wardell
9e56b15e80 Fix typo. We only need to keep bit 6 set on HPH_OUT_L. Setting it on HPH_OUT_R does something completely different and probably not wanted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12743 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 23:48:00 +00:00
Barry Wardell
2370998a87 Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 22:12:20 +00:00
Nils Wallménius
62dbd97e90 Sorted and updated FILES for both apps and firmware, included features.txt preparing for the lang v2 cleanup, should fix FS# 6805 unless Lear's previous committ got it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12741 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 21:31:06 +00:00
Magnus Holmgren
9fe79f183f Add missing files (for Archos and iRiver M5) to the source archive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12739 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 17:42:12 +00:00
Jens Arnold
1b3fc39a65 Make private function static on variable CPU frequency targets. Kill it on fixed frequency targets, regaining 1/3 of the waste on archos...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12731 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 22:27:35 +00:00
Daniel Ankers
e814bb66b3 Enable balance control on Sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12730 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 21:57:46 +00:00
Daniel Ankers
7293da9303 Oops, missed a file from r12727
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12728 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 17:58:14 +00:00