summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
...
* Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon2008-12-31
| | | | | | | | | | | | not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
* Ingenic Jz4740:Maurus Cuelenaere2008-12-31
| | | | | | | | | | * Clean up header file a bit * Add information about the IPU * Add original license * Add Ingenic Media Extension Instruction Set header file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19621 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Allow recording from FM. Give FM the same volume range as ↵Michael Sevakis2008-12-31
| | | | | | playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
* Ingenic players:Maurus Cuelenaere2008-12-31
| | | | | | | | | * Further implement USB driver * Add preliminary clock setup * Fix USB VID/PID git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19618 a1c6a512-1295-4272-9138-f99709370657
* Implemented system_reboot().Björn Stenberg2008-12-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19617 a1c6a512-1295-4272-9138-f99709370657
* Make si4700 tuner driver more sane with bit and field defines and entirely ↵Michael Sevakis2008-12-27
| | | | | | hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
* i7: set low-battery values and enable shutdown on low-batteryVitja Makarov2008-12-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19597 a1c6a512-1295-4272-9138-f99709370657
* Latest work on the bmp on-load scaler:Andrew Mahone2008-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | Macros for calculating size needed for bitmap load and scaling, so that these can be compile-time constant when their inputs are. Reduce size of bayer dither by chopping all but first row of dither matrix, and replacing 2D lookup with 1D lookup and small calculation. Move some functions not related to actual bmp file loading out of bmp.c. A smaller brightness() for mono targets, and a higher-quality one for greyscale targets, both replacing the division by 10 with a shift. Port of the linear and area scalers to greyscale targets, this costs some binsize but produces better output even when dithered to 2bpp. Move duplicated row output code from inside vertical scalers to a separate row output function. Move some multiplies out of the line scaler, for a small speedup and code size reduction, as well as a small improvement in accuracy for the upscaling case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19592 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes ↵Michael Giacomelli2008-12-25
| | | | | | Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
* H10 can distinguish USB and MAIN charger input so return proper flags. H100s ↵Michael Sevakis2008-12-24
| | | | | | were misconfigured and should use CHARGING_SIMPLE. Comment more on what charging types mean in config.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19582 a1c6a512-1295-4272-9138-f99709370657
* Fix red and yellow.Michael Sevakis2008-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19580 a1c6a512-1295-4272-9138-f99709370657
* Simplify powermgmt thread loops so it calls functions turn (no more ↵Michael Sevakis2008-12-24
| | | | | | power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some ↵Michael Giacomelli2008-12-24
| | | | | | buttons defined, a bootloader, and stubs for most drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
* Fix inverted de-emphasis bit for si470x FM chip.Bertrik Sikken2008-12-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19566 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Enable keyboard line editing and morse code input.Michael Sevakis2008-12-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19558 a1c6a512-1295-4272-9138-f99709370657
* Enable the RTC on the Philips HDD16x0. The RTC is a PCF8563, but it's ↵Mark Arigo2008-12-22
| | | | | | register compatible with the E8564. Thanks to Anton Veretenenko. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19555 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Michael Sevakis2008-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19551 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Make tuner_power have the expected behavior (return old state). ↵Michael Sevakis2008-12-21
| | | | | | Static i2c node structure and add fmradio_i2c_enable to the fmradio i2c API for those that can implement it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19550 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Implement charging and power control to charge from AC or USB. ↵Michael Sevakis2008-12-21
| | | | | | Hold MENU while plugging USB cable to charge from USB without connecting. Under Windows, plugging USB for charging only but not connecting still needs to be properly handled (driver popup issue) but it will charge when connected normally-- no issue under Linux. Some accomodating changes made to powermgmt.c will soon be made nicer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19547 a1c6a512-1295-4272-9138-f99709370657
* revert accidental commit of unrelated filesFrank Gevaerts2008-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19539 a1c6a512-1295-4272-9138-f99709370657
* merge 19488 back from the 3.1 branchFrank Gevaerts2008-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
* Ingenic players:Maurus Cuelenaere2008-12-20
| | | | | | | | * Enable clocks when needed * Fix VX747+ button_hold() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19505 a1c6a512-1295-4272-9138-f99709370657
* Ingenic targets:Maurus Cuelenaere2008-12-20
| | | | | | | | | | | | * LCD rework * Dynamic DMA enabling * PCM cleanup * USB: replace printf() with logf() * System: get rid of in_interrupt_mode() * Backlight: add support for software PWM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19495 a1c6a512-1295-4272-9138-f99709370657
* Fix SVN propertiesMaurus Cuelenaere2008-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19482 a1c6a512-1295-4272-9138-f99709370657
* * Add support for Onda VX747+ (FS#9674 by Olivier Barbut)Maurus Cuelenaere2008-12-19
| | | | | | | | * Fix Onda VX767 support * Small cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19481 a1c6a512-1295-4272-9138-f99709370657
* Fix BOOTDIR setting Vitja Makarov2008-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19466 a1c6a512-1295-4272-9138-f99709370657
* Move the Synaptics touchpad driver for the m:robe 100 to a common place. It ↵Mark Arigo2008-12-17
| | | | | | will (soon) be used for the Philips HDD1630. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19465 a1c6a512-1295-4272-9138-f99709370657
* Make the Philips HDD1630 build compile again.Mark Arigo2008-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19454 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9650 (by Thomas Martitz). This adds hotswap and microSD support for ↵Frank Gevaerts2008-12-15
| | | | | | the Fuze. It doesn't seem to work for all cards yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19447 a1c6a512-1295-4272-9138-f99709370657
* Keyclick fixup take two. It is only 88 samples (2msec) long so keep a small ↵Michael Sevakis2008-12-13
| | | | | | static buffer around for beeps less than or equal to keyclick duration. This way it operates no matter the buffer state and still won't interfere with alternate PCM operations like recording or plugin playback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19415 a1c6a512-1295-4272-9138-f99709370657
* PCM buffer beeping needs the audio buffer reset in order to work after ↵Michael Sevakis2008-12-13
| | | | | | operations that trash the buffer or keyclick won't be audible until playback is restarted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19413 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#8660-Recording hardlocks with keyclick enabled and FS#9388-keyclicks ↵Michael Sevakis2008-12-13
| | | | | | too late. Introduce audio_buffer_state to check whether PCM buffer is useable or disabled (trashed). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19411 a1c6a512-1295-4272-9138-f99709370657
* Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis2008-12-12
| | | | | | low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
* FS#9591 by Anton Veretenenko for the Philips GoGear HDD1620/1630 (with a few ↵Mark Arigo2008-12-12
| | | | | | changes by me). Fixes boot problem, pixel format, sound, and a few other things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19395 a1c6a512-1295-4272-9138-f99709370657
* Sansa e200v2 and Fuze : disable not implemented recordingRafaël Carré2008-12-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19391 a1c6a512-1295-4272-9138-f99709370657
* Sansa e200v2 and Fuze : disable tuner until i2c communication is tested (or ↵Rafaël Carré2008-12-11
| | | | | | | | written) Correct a comment (si4702 is compatible with si4700.c) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19390 a1c6a512-1295-4272-9138-f99709370657
* Fix minor copy & paste error in comment. No functional change.Nils Wallménius2008-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19383 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: enable tagcache, quickscreen and pitchscreenRafaël Carré2008-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19382 a1c6a512-1295-4272-9138-f99709370657
* Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis2008-12-10
| | | | | | gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
* resize-on-load for bitmap files on 2bpp and color targetsAndrew Mahone2008-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19374 a1c6a512-1295-4272-9138-f99709370657
* FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet Nils Wallménius2008-12-09
| | | | | | | | | implemented but manual tuning works nicely. Thanks to Rafaël Carré, Bertrik Sikken and Robert Menes for suggestions and debugging help. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
* Have drivers merged for WM8711/21/31 since they are so similar but respect ↵Michael Sevakis2008-12-08
| | | | | | all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: implement the fmradio_i2c interface using generic_i2cBertrik Sikken2008-12-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19366 a1c6a512-1295-4272-9138-f99709370657
* Generic I2C: fix various problems with this (now) unused driverRafaël Carré2008-12-07
| | | | | | | | | | | Explicit if SDA is input or output in static functions Do not use logf() but return codes Check for overflow when adding an interface Indent on 4 spaces Rewrite i2c_read_data() and i2c_write_data() using goto for error cases Make subaddress optional (not sent if == -1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19360 a1c6a512-1295-4272-9138-f99709370657
* Meg F/X can beep and click using a hardware timer so let us try it out. To ↵Michael Sevakis2008-12-07
| | | | | | match things up better, fix PCM beeping to give correct frequency (and get a pointer wrap bug too). Do some minor adjustments to compensate for corrections. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19355 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: use vectored interruptsRafaël Carré2008-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19351 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: PCM driver (FS#9592)Rafaël Carré2008-12-04
| | | | | | | Note that on low memory targets (Clip/m200v4 tested) you will encounter random crashes. Applying FS#9332 seems to help a lot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19342 a1c6a512-1295-4272-9138-f99709370657
* Ingenic targets:Maurus Cuelenaere2008-12-04
| | | | | | | | | | | * Clean up codec & PCM + functional changes * LCD: Don't wait on DMAC in lcd_unlock() * SADC: add battery mutex + other changes * NAND: add mutex * USB rework (still not working) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19327 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow.Michael Sevakis2008-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19326 a1c6a512-1295-4272-9138-f99709370657
* Meg-FX: s3c register definitions really should be unsigned. Switch from ↵Michael Sevakis2008-12-04
| | | | | | 'int' to 'unsigned long' like other targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19325 a1c6a512-1295-4272-9138-f99709370657