Commit graph

4637 commits

Author SHA1 Message Date
Jens Arnold
8a417edb26 Another small optimisation for greyscale blitting on SH1 (making better use of page mode by reordering accesses).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16053 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 01:32:19 +00:00
Robert Kukla
12cc3cc47c mrobe 100:
- temporarily disable shutdown on low power
- enable power button for minimal interaction (not shutdown yet)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16049 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 21:51:44 +00:00
Jonathan Gordon
81ba146706 Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Jens Arnold
6a56c14e17 Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 23:48:26 +00:00
Mark Arigo
66cd9ef385 Don't clear this bit. Helps c200 radios that have trouble tuning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16038 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:26:23 +00:00
Mark Arigo
2e69ec6aa7 m:robe 100 fixes: (1) add missing keymap (copied from H10), (2) rename lcd_yuv_blit to lcd_grey_phase_blit (since lcd is mono), and (3) update firmware/FILES for the new target. The bootloader and target builds should compile now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16037 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:07:42 +00:00
Mark Arigo
e953bcb2d4 Add missing files for the m:robe 100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16032 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 13:59:18 +00:00
Mark Arigo
e66ddd754f Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 07:24:43 +00:00
Dave Chapman
f59a327f67 Fix a typo in commit r16018 - this was causing text to disappear on the h140...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16029 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 02:09:19 +00:00
Dave Chapman
3646c31367 Add the viewport functions to the screens API, including a new getfont() function to return the font used by the current viewport. A change to the screens API makes the plugin API incompatible, so we bump version and sort. Also commit the test_viewports plugin (not built by default). This is some more of FS#8385.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16022 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 01:22:14 +00:00
Jens Arnold
08e6c6bc2a Greyscale library: Very slight speedup on archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16021 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 01:09:31 +00:00
Dave Chapman
945c8a221a Add viewport capabilities to all the LCD drivers, and adapt scrolling code. This is the firmware/ part of FS#8385 - the changes to the WPS code still need more work and will be committed at a later date. NOTE: There are no user-visible changes with this commit - just the infrastructure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16018 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 20:34:11 +00:00
Magnus Holmgren
d4cb075af7 Fix reading of ID3V2 tags with frame data length fields, hopefully without breaking anything else.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16006 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 19:49:25 +00:00
Jonas Häggqvist
f77b4da0c8 Tarball fixup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16005 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 14:20:45 +00:00
Jens Arnold
feb5b15e9b All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 23:42:38 +00:00
Michael Sevakis
a222f27c4a mpegplayer: Make playback engine fully seekable and frame-accurate and split into logical parts. Be sure to have all current features work. Actual UI for seeking will be added soon. Recommended GOP size is about 15-30 frames depending on target or seeking can be slow with really long GOPs (nature of MPEG video). More refined encoding recommendations for a particular player should be posted soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15977 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 19:46:35 +00:00
Will Robertson
32f6109fb1 Gigabeat S memory management stuff.
* Moved crt0.S to imx31 subdirectory, as it was the last target using the unified file.
* DRAM is now remapped to 0x0, facilitating interrupts (which aren't done yet)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15965 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 12:19:40 +00:00
Will Robertson
383a32a7ae Gigabeat S now uses the shared ARM MMU code rather than the (mostly duplicated) private code. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15961 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 03:47:28 +00:00
Peter D'Hoye
eb947cdde1 Another fix for file system issues when encountering disk full (like when recording)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15920 a1c6a512-1295-4272-9138-f99709370657
2007-12-13 23:36:22 +00:00
Marcoen Hirschberg
df31f5f186 Revert previous commit (still learning to work with git...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15904 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 11:14:28 +00:00
Marcoen Hirschberg
dcf244192b use dB units for balance control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15902 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 11:07:38 +00:00
Nicolas Pennequin
485bbbdb30 Make the "current line" value in the gradient style code zero-based, and an attempt at more understandable names and better comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15886 a1c6a512-1295-4272-9138-f99709370657
2007-12-06 17:09:24 +00:00
Mark Arigo
307b8f1b95 lv24020lp tuner changes (Sansa e200/c200): (1) add a couple more udelays (from c200 RE-ing), (2) rename functions for clarity, and (3) add some defines for readability. Doesn't fix the c200 radio problems, but shouldn't hurt either.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15885 a1c6a512-1295-4272-9138-f99709370657
2007-12-06 04:03:26 +00:00
Mark Arigo
36ee6532c5 Actually power off the lv24020 tuner (Sansa e200/c200). Don't clear the TUNER_POWERED flag until after writing to the device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15876 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 02:38:35 +00:00
Robert Kukla
0b1f45adb3 enable ab-repeat for gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15865 a1c6a512-1295-4272-9138-f99709370657
2007-12-01 19:04:26 +00:00
Michael Sevakis
c21180fb06 Delay reading the first battery level for at least 1 tick. Seems to fix the low battery shutdown problem on 3g. Reenable the low battery shutdown on 3g.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15857 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 10:55:09 +00:00
Michael Sevakis
5323fe996b Move encoder CPU boost control to the core. Allow CPU to sleep a bit when PCM buffer is empty and save some power. Codec API becomes incompatible so full updates! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15854 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 05:16:56 +00:00
Christian Gmeiner
94be71eab5 Add a working serial driver to usb stack. At the moment it simply echos back what it gets. You can test it on linux by
0) change relevant defines in usb_core.c
1) modprobe usbserial vendor=0x0781 product=0x7421 debug=1
2) picocom /dev/ttyUSB0
3) look at your logf screen if you build with logf support and enabled LOGF_ENABLE define in usb_serial.c
I also modified usb_core so that storage and serial both can make use the the 'usb_core'-thread. More will come :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15850 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 00:13:00 +00:00
Jens Arnold
05784b52ab H10 button driver: Use atomic GPIO bit manipulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15839 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 20:23:12 +00:00
Nicolas Pennequin
d5430994ad Oops. Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15837 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:55:06 +00:00
Nicolas Pennequin
c2ca8c710c * Make the Gigabeat S bootloader a bit more interesting: it looks for the first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though.
* Make the main binary compile.
To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:40:29 +00:00
Björn Stenberg
a0224590d4 Added some error returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15834 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:42:47 +00:00
Dan Everton
f666a7e8c6 Fix crash in sim when changing the MAS specific sound settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15833 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 10:52:03 +00:00
Dave Chapman
4fb825eed9 Make the Gigabeat-S bootloader dual-boot. The hold switch is used to choose what to boot - because it is a simple GPIO test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15828 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:25:11 +00:00
Michael Sevakis
a8b388fb86 Enable dualcore for the pp5002 processor by adding the needed cache handling and sleep/wakeup sync to the kernel. Refine some handling of fw/bl startup for all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15827 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:20:26 +00:00
Michael Sevakis
7126d64820 Further lockdown of multipart i2c operations that must be done without intrusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15823 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:41 +00:00
Michael Sevakis
b9b736fa39 Disable low battery shutdown for the time being on iPod 3g until the battery reading strangeness is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15822 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:32:33 +00:00
Jens Arnold
120fb4f319 Speed up YUV blitting on iPod Video by ~8% (FS #8075 by Andree Buschmann).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15820 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:48:23 +00:00
Daniel Stenberg
5d2757a43f Enable reboot on USB-insert for e200, as it works when done c200-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15818 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:13:35 +00:00
Jens Arnold
09a786138c Allow (almost) arbitrary backlight fade in and fade out times (on targets with software PWM fading), and comvert the associated settings to table settings. * Settings system: Unify a bunch of formatters and getlang helpers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15817 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:10:20 +00:00
Björn Stenberg
d1f22a4e86 Disabling usb reboot for Sansa E200 until system_reboot() is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15810 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 10:20:28 +00:00
Michael Sevakis
9beb210007 pcf50605_write_multiple must prelock driver or the series of bytes may be interrupted resulting in something you didn't intend. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15807 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 07:59:42 +00:00
Jens Arnold
e54244480d Convert 2 more settings to table settings. * Fix duplicate value display if the first value is selected in a table setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15805 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 20:05:04 +00:00
Jens Arnold
d490f44112 New way of handling integer settings with variable steps: table settings (FS #8186, with fixes by me). This allows to get rid of those synchronised tables in firmware/ and apps/, making things more flexible and less error prone. First application: backlight timeouts. * Make some more things 'const'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15803 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 17:36:21 +00:00
Catalin Patulea
475e64eb5c m:robe 500i: Fix indenting style in DSP loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15801 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 01:27:33 +00:00
Catalin Patulea
739b2cc4bc m:robe 500i: Initialize the HPIB from scratch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15800 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 01:26:51 +00:00
Björn Stenberg
da245a9ae9 Added support for 'deconfiguration'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15799 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 23:43:06 +00:00
Björn Stenberg
d2b86885d5 Fixed memory corruption bug for those testing usb_storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15798 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 22:40:37 +00:00
Björn Stenberg
bfff12aff9 Added GET_CONFIGURATION. Added usb state tracking. Changed charger pktsize to 512. Fixed compile errors for usb_storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15797 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 22:37:41 +00:00
Dan Everton
d7e1f77146 Commit FS#7440. The iPod Video doesn't actually have a hardware equalizer. It does have hardware bass/treble settings with configurable cutoff. So make the bass/treble settings use the hardware and remove the hardware equalizer configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15782 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 07:51:00 +00:00