Commit graph

19505 commits

Author SHA1 Message Date
Thomas Martitz
44f88585cb Clip: fix font compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19823 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 06:42:05 +00:00
Mark Arigo
ce7c62ce29 Philips HDD1630: add ADC info to debug screen. Make button_click work again (bad copy/paste job).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19822 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 03:14:34 +00:00
Marianne Arnold
17862d2061 DancePuffDuo and iAmp 128x64x1 versions. Use a dedicated bitmap for the 128 pixel wide display instead of reusing the 160 pixel wide one (add bitmaps and reference them in the .wps files accordingly. Fixes these WPSs for targets with 128x64x1 main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19821 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 01:25:11 +00:00
Michael Sevakis
7bcfc38b42 Gigabeat S: Implement a genuine udelay function. Timer is gated to not run in WFI mode to save power and as such time until rollover is variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19820 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 01:23:25 +00:00
Michael Sevakis
da76a34694 Use bus reset detection for all ARC OTG devices. Remove conflict from LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
2009-01-22 22:05:04 +00:00
Thomas Martitz
81df953da5 Rename software backlight fading files, as we don't call it thread fading. Correct a copyright info too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19818 a1c6a512-1295-4272-9138-f99709370657
2009-01-22 10:50:11 +00:00
Maurus Cuelenaere
311d2f12ed Onda VX747: get NAND driver working
generic NAND ID driver: clean up


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19817 a1c6a512-1295-4272-9138-f99709370657
2009-01-22 00:04:20 +00:00
Maurus Cuelenaere
e79fc8aaef Onda VX747: disable DMA for now on NAND for performance
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19816 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 21:29:47 +00:00
Maurus Cuelenaere
29b136b82d Onda VX747:
* Get USB working (it isn't good at writing support though)
  * Clean up NAND & SD a bit
  * Other comments/fixes
Ingenic Jz4740/MIPS:
  * Split MMU from system


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19815 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:58:33 +00:00
Maurus Cuelenaere
868a4bdbc3 Fix RAM disk when no audio buffer is available
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19814 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:52:35 +00:00
Bertrik Sikken
ae351903a6 Commit stable parts of FS#9611 - Sansa Clip radio code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19813 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:51:43 +00:00
Maurus Cuelenaere
f1c6c3a754 USB storage driver:
* Move RAM disk buffer allocation #ifdef below
 * Don't use the audio buffer for bootloaders


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19812 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:22:40 +00:00
Michael Giacomelli
e1b01d4608 Remove floor0 stuff from IRAM. Results in a tiny speed decrease for files encoded with 6+ year old versions of the Xiph encoder, but saves IRAM which can be better used elsewhere. Thanks Nils Wallmenius in FS#7832 for the idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19811 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 18:22:46 +00:00
Thomas Martitz
0f8dd60fc7 Welcome Thomas Martitz :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19810 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 13:35:44 +00:00
Andrew Mahone
5d3fd5d5ce replace DIV255 with an inline function, the macro version caused unneeded recalculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19809 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 05:10:16 +00:00
Michael Sevakis
580d91f097 Unify kernel list management for ticks, registered queues and timeout objects by using NULL-terminated lists of pointers. Redo timeout API a bit to simplify it and integrate it. Should give some small binsize reduction accross the board but more if timeout objects are being included.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19808 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 02:44:20 +00:00
Mark Arigo
a7ec73cddd Philips HDD1630 lcd work: register defines and enable contrast, flip, and inverse.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19807 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 02:23:29 +00:00
Christian Gmeiner
ad6b6d764b cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19806 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 22:55:10 +00:00
Andrew Mahone
9f08068ecf fix test for SH in resize.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19804 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 18:23:50 +00:00
Andrew Mahone
8e9e6635a1 fix red on grayscale in pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19803 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 17:56:59 +00:00
Andrew Mahone
1b13299769 scaler optimizations:
on sh, use 8.24 fixed-point C math for final division in scaler

on coldfire, use 8.32 fixed-point via emac

on other architectures, use 8.32 fixed-point C math

use shift-and-add to divide when adjusting scale factors in pictureflow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19802 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 17:24:49 +00:00
Michael Sevakis
73f2d001fd PortalPlayer: Implement irq_handler() directly in C code rather than dispatching to irq() from crt0-pp.S. Remove unneeded STUB macros.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19801 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 16:11:59 +00:00
Michael Sevakis
5d1eb8ee31 This should take care of resetting when unplugging on e200 as reported in FS#9812. Be sure VBUS is valid before posting insert message as a spurious reset can occur. It seems to fix it for me (tested by insulating D+/D- pins).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19800 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 19:23:59 +00:00
Andrew Mahone
76042cb389 new version.sh that works exactly like svnversion.sh, but functions correctly with pure git repositories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19799 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 16:18:30 +00:00
Michael Sevakis
47509fafa4 Fix up ZVM builds. It appeared to share common definitions with PP502x targets so use those. Remove one stale comment left behind in last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19798 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 14:06:47 +00:00
Michael Sevakis
616c98b38f USB detection changes. c200/e200: Consider USB to be powered when charger is plugged but detect USB connection by bus reset. When received, disconnect and restart the driver fully enabled. imx31: Fix hack used to make initial connect succeeded-- set PHY type before initial reset. General: Move some target code out of usb-drv-arc.c and implement it in respective usb sources and CPU headers so things stay clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19797 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 13:41:25 +00:00
Andrew Mahone
cef6399c4c port test_boost.c to global plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19796 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 01:19:02 +00:00
Michael Giacomelli
26c06d165b Commit battery discharge curve for c200v1 by BertrikSikken. The old one wasn't very realistic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19795 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 19:48:34 +00:00
Michael Giacomelli
42567ccd74 Commit battery discharge curve for the Ipod Photo. We still need one for the 4G and Mini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19794 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 19:36:39 +00:00
Bertrik Sikken
c9d000d16e FS#9808 by Ori Avtalion: Update simulator documentation with new 'simdisk' directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19793 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 19:30:28 +00:00
Michael Giacomelli
3db7893911 Commit second part of FS#9663 by Thomas Martitz. Enable button light on fuze and e200v2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19792 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 18:49:36 +00:00
Michael Giacomelli
7278163087 Commit part 1 of FS#9663 by Thomas Martitz. Enables backlight fading on the Fuze and e200v2. Also removed a bit of dead code that was copied by accident into the fuze and e200v2 config files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19791 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 18:43:58 +00:00
Jens Arnold
da367f4bd4 Fix TYPE_BOOL settings format string. Boolean settings should really use 'on'/'off', but this is currently impossible due to the fixed field width requirement introduced in r15052.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19790 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 17:06:29 +00:00
Andree Buschmann
1c44a9f431 Submit FS#9749 by Boris Gjenero. Do not reset IDE0 on startup for iPod Video and iPod 4G. Could also be done for H10 and iPod Color, if tested with positive result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19789 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 12:35:03 +00:00
Andrew Mahone
5ad02f701b use multiply-shift to scale reciprocals for rgb16 output, instead of
multiply-divide

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19788 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 02:45:22 +00:00
Andrew Mahone
0229ec679b fixed euroconverter, missed in the configfile change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19787 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 23:08:35 +00:00
Andrew Mahone
0b41f0599f unify pointers to value for configfile, and add TYPE_BOOL type, used by
pictureflow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 22:53:12 +00:00
Andrew Mahone
2fecb713ea fix pictureflow, previous fix caused cache to never be marked as good
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19785 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 20:53:35 +00:00
Robert Menes
d4e4b580c7 The Gigabeat F manual is now known as the Gigabeat F and X manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19784 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 19:25:27 +00:00
Andrew Mahone
44ab8a63ea fix yellow, but in the long run, configfile needs a TYPE_BOOL as a clean fix to this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19783 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 10:58:21 +00:00
Andrew Mahone
6b32a2d9cd return to transposed images in cache, via new output plugins, to save
multiplies in render_slide

fix empty slide regen on cache version change

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19782 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 09:42:26 +00:00
Andrew Mahone
4541ae9b5c remove unused fh from create_albumart_cache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19781 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:25:49 +00:00
Andrew Mahone
313eaf8e37 pictureflow configfile conversion:
settings use configfile from pluginlib

cache version is stored in config file, so that changes to the cache
file format can trigger rebuild automatically

cache version is set to 0 to flag cache as needing rebuild

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19780 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:13:11 +00:00
Andrew Mahone
56376e6a42 pictureflow cleanup:
remove some old, unused #defines

split DISPLAY_SIZE into DISPLAY_WIDTH and DISPLAY_HEIGHT

scale DISPLAY_WIDTH to compensate for pixel aspect ratio

use new DISPLAY_HEIGHT where appropriate, instead of calculating based
on LCD size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19779 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:12:59 +00:00
Dominik Wenger
15013562dc revert/fix parts of r19673, as it changed some e200 keymaps and introduces not-needed FIXME comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 15:35:05 +00:00
Andrew Mahone
e6bf9f9ff8 fix pluginlib_resize.c for global plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19777 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:49:11 +00:00
Andrew Mahone
23d9812273 loader-initialized global plugin API:
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api

the loader uses this pointer to initialize rb before calling entry_point

entry_point is no longer passed a pointer to the plugin API

all plugins, and pluginlib functions, are modified to refer to the
global rb

pluginlib functions which only served to copy the API pointer are
removed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Andrew Mahone
35677cbc54 fix bug causing pictureflow to write one column past left side of screen, resulting in a stripe of rightmost slide appearing on the left side of the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19775 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 08:18:14 +00:00
Michael Giacomelli
090535fcbd SD driver cleanup by Thomas Martitz. Removes various magic numbers in favor of defines, increases a timeout in hopes of improving support for various SD cards, adds descriptive panic messages, and adds volatile were needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19774 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 01:14:58 +00:00
Jonathan Gordon
4544531585 redraw the lists once before going into the button loop to make things look more responsive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19773 a1c6a512-1295-4272-9138-f99709370657
2009-01-15 06:24:58 +00:00