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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Daniel Ankers
dfad406aa1
Sound for Sansa E200 - based on work by myself, Rene Peinthor, Barry Wardell and Christian Gmeiner from the AS3514 datasheet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12727 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 17:38:08 +00:00
Michael Sevakis
89a38d4273
iAudio X5: Enable reading of DS2411 serial number. See it under System|Debug|View HW info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12723 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 13:59:31 +00:00
Miika Pekkarinen
2eefb5acb8
Optimized the gui list code performance, including automatic frame dropping and cpu boosting when button events are getting queued. Improved scrollwheel acceleration code is needed to notice a real change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12721 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 10:52:36 +00:00
Michael Sevakis
c2d2106fd7
Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 06:21:43 +00:00
Michael Sevakis
5d63776a24
Reenable aynchronous audio init stage. Really just single stage with aynchronous enabling of outputs. Keeps audio_init last so prior init steps can use the audiobuffer in any desired way. Audio will be fully initialized by the time the UI is entered. Playback of voice or audio will be delayed properly until audio hardware is ready.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12714 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 05:04:48 +00:00
Barry Wardell
3631f11fea
Fix red builds and make udelay actually work as it should again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12703 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:41:52 +00:00
Barry Wardell
de061e8a30
Make udelay() wrap-safe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12702 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:28:25 +00:00
Michael Sevakis
7e0201558b
Back to green?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12690 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:17:05 +00:00
Michael Sevakis
178afc9caf
As usual I left experimental stuff in a file. Forgot to add that set_irq_level_and_block thread is per core now too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12689 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:09:48 +00:00
Michael Sevakis
dee43ece20
Put an end to priority inversion in the ata driver. Gave up trying to have fully atomic dual use mutexes so just replaced the ata driver locking with spins. Maybe I'll have better luck later. Things should run smoothly with database updates and such happening in the background.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12688 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:03:18 +00:00
Michael Sevakis
b425de71df
Fix problem with recording screen creep and bag a bigfoot. Voice clips aren't long enough now to untrigger the thread boost that was supposed to be applied to the codec thread. The voice thread was needlessly boosting the codec thread and leaving it boosted which explains the encoders' ability to flood the output buffer when everything else was stopped in its tracks. Check which thread is calling pcmbuf_under_watermark and only initiate the boost when it's the codec thread. Always return the codec thread to its usual priority in pcmbuf_play_stop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12649 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 20:32:13 +00:00
Linus Nielsen Feltzing
e06faa0480
Use a larger font cache on the targets that can afford the (quite small) RAM usage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12620 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:32:35 +00:00
Michael Sevakis
8867d00141
More catching up on old work. Refine audio interface setup on Coldfire. Stop the funky glitching on the iAudio stuff when starting recording esp. at 88.2kHz. (probably due to the bidi interface). iRivers don't seem to care what you do. TLV320 still seems to have a little trouble selecting it's filters correctly for 88.2kHz or it could be some odd phasing effect. Get rid of the horrible reset parameter in pcm_apply_settings as it can decide for itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12618 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:14:27 +00:00
Jens Arnold
8d0cd9f303
Some more M5 adjustments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12616 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 01:31:26 +00:00