summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h100-remote.c (follow)
Commit message (Collapse)AuthorAge
* Removed anachronisms introduced with low battery shutdown patch.Michael Sevakis2006-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11524 a1c6a512-1295-4272-9138-f99709370657
* Added a small interface to screens to translate colors into remote gray ↵Michael Sevakis2006-10-14
| | | | | | levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
* Fixed remote contrast settings. Maybe'll get some build errors here.Michael Sevakis2006-09-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11071 a1c6a512-1295-4272-9138-f99709370657
* Fixed the line scrolling not always being smooth.Miika Pekkarinen2006-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11044 a1c6a512-1295-4272-9138-f99709370657
* New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen2006-09-16
| | | | | | | | | | switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
* Allow scrolling lines with different x-margins. The margin at the time of ↵Mark Arigo2006-08-23
| | | | | | the call to puts_scroll will be used as the margin for that line. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10727 a1c6a512-1295-4272-9138-f99709370657
* Irivers: Faster remote LCD update. Maximum speedup (without ticking ↵Jens Arnold2006-08-22
| | | | | | reduction): +32% @11MHz, 2.5 times @45MHz, +45% @124MHz. The speedup is data dependent, the worst case (every pixel having the opposite value from the previous one, in LCD data order) would see no speedup (except @45MHz), but it's a highly unlikely case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10684 a1c6a512-1295-4272-9138-f99709370657
* Reverted an accidental changeLinus Nielsen Feltzing2006-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10583 a1c6a512-1295-4272-9138-f99709370657
* Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing2006-08-15
| | | | | | Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
* Add a define for unplugged remoteHristo Kovachev2006-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10354 a1c6a512-1295-4272-9138-f99709370657
* LCD drivers: * Slight speedup for 2bit greyscale drivers. Use the same ↵Jens Arnold2006-07-28
| | | | | | scrolltext drawing anywhere. * Cleanup, fixes and definitions in preparation for X5 remote. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10346 a1c6a512-1295-4272-9138-f99709370657
* 1bit and 2bit LCD drivers: Low-level bit handling optimisations.Jens Arnold2006-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10225 a1c6a512-1295-4272-9138-f99709370657
* Oops, move out the define from the #ifndef SIMULATORHristo Kovachev2006-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9956 a1c6a512-1295-4272-9138-f99709370657
* Use more proper default contrast for the iriver lcd remotes, also resetHristo Kovachev2006-05-18
| | | | | | | the contrast in the same way as it is for the main screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9955 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Don't scroll remote LCD lines 'in the dark', i.e. with the remote ↵Jens Arnold2006-05-16
| | | | | | unplugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9951 a1c6a512-1295-4272-9138-f99709370657
* Patch #5182 by Liberman Shachar - Vertical screen scroll bug fix (inverse ↵Linus Nielsen Feltzing2006-05-06
| | | | | | bar crop in vertical scroll) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9881 a1c6a512-1295-4272-9138-f99709370657
* Fix fillrect calculation error for 'Screen scrolls out of view'. Fixes bug ↵Peter D'Hoye2006-05-03
| | | | | | 5267. Also some minor code policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9871 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Reworked remote detection & init: * Monitor the remote type & try to ↵Jens Arnold2006-04-24
| | | | | | init the LCD for 20 seconds after plugin. Fixes wrong type detection & non-working LCD when plugging in slowly, and inits much faster if the remote is already plugged at boot (no delayed logo). * Don't try to init the LCD for a non-LCD remote in order to save CPU power. * More precise scroll timing, taking drawing time & other delays into account. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9783 a1c6a512-1295-4272-9138-f99709370657
* Another slight tweak.Jens Arnold2006-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9639 a1c6a512-1295-4272-9138-f99709370657
* H1x0/H300 remote LCD driver rework: * Completely fix remote LCD ticking for ↵Jens Arnold2006-04-11
| | | | | | H300, by not deasserting CS after every single access. CS deactivation is now handled with a 100ms timeout by the tick task. If this really fixes remote ticking for all H300s with 'reduce ticking' disabled, we should remove that option for H300. * Reworked ticking reduction for H1x0. Bytes are now send in sequence, without stretching every single bit, but longer pauses between bytes instead. Both CLK and DATA are handled in a way to minimise their potential to cause ticking (CLK active as short as possible, DATA always high outside of byte transfers, DATA high->low as close as possible to CLK low->high). * Driver is ~10% faster with 'reduce ticking' disabled, and ~65% faster with it enabled. (not @ 11 MHz) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9631 a1c6a512-1295-4272-9138-f99709370657
* font caching fixes by Frank DischnerMarcoen Hirschberg2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Properly working remote type detection regardless of hold switch ↵Jens Arnold2006-03-17
| | | | | | positions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9079 a1c6a512-1295-4272-9138-f99709370657
* Removed lcd_roll() and lcd_remote_roll() functions. These functions were not ↵Jens Arnold2006-03-11
| | | | | | really portable. Removed the only plugin that used lcd_roll(): Oscillograph. Oscilloscope offers everything that oscillograph did and more, in a portable way. * Bumped & sorted plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8995 a1c6a512-1295-4272-9138-f99709370657
* Slight optimisation for 1bit and 2bit (vp) LCD drivers.Jens Arnold2006-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8772 a1c6a512-1295-4272-9138-f99709370657
* Remote type autodetection on iriver, remote_type() returns ↵Linus Nielsen Feltzing2006-02-17
| | | | | | REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
* This should not have been recommitted (went undetected for quite a while).Jens Arnold2006-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8533 a1c6a512-1295-4272-9138-f99709370657
* * Changed implementation of inverse bar: Instead of complementing all pixels ↵Jens Arnold2006-02-02
| | | | | | after drawing the text, the text is drawn in inversevid mode. This is faster, and will be more readable when backdrop image support gets added. Appearance on non-colour targets doesn't change. * Speedup of the scroll thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8532 a1c6a512-1295-4272-9138-f99709370657
* Horizontal screen scrolling part 3 (by Shachar Liberman)Brandon Low2006-01-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8414 a1c6a512-1295-4272-9138-f99709370657
* Horizontal scrolling patch by Shachar LibermanTomas Salfischberger2006-01-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8412 a1c6a512-1295-4272-9138-f99709370657
* waiting is over: initial unicode commitMarcoen Hirschberg2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
* revert scroll pause in continuous scrolling modeMarcoen Hirschberg2005-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8115 a1c6a512-1295-4272-9138-f99709370657
* add a delay when continually scrolling and reaching the beginning of the lineMarcoen Hirschberg2005-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8114 a1c6a512-1295-4272-9138-f99709370657
* Initial gcc4 warning cleanup (and some minor policing)Daniel Stenberg2005-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
* Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold2005-11-21
| | | | | | Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
* Fixed the simulator builds and added HAVE_REMOTE_LCD_TICKING define.Miika Pekkarinen2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7987 a1c6a512-1295-4272-9138-f99709370657
* Added option to reduce (and almost prevent) the remote lcd tickingMiika Pekkarinen2005-11-19
| | | | | | | problem with a cost slightly more CPU usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7985 a1c6a512-1295-4272-9138-f99709370657
* H300: remote backlight on GPO33Linus Nielsen Feltzing2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7973 a1c6a512-1295-4272-9138-f99709370657
* H1x0: Assembler optimised remote lcd driver routine, used for low CPU ↵Jens Arnold2005-11-08
| | | | | | frequencies, e.g. during radio operation. Reduces the scroll lag when using the radio preset list with the remote plugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7791 a1c6a512-1295-4272-9138-f99709370657
* Enable bidirectional text support for remote lcd.Jens Arnold2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7774 a1c6a512-1295-4272-9138-f99709370657
* The const police strikes and hits itself.Jens Arnold2005-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
* Set remote LCD invert state in a clean way.Jens Arnold2005-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7760 a1c6a512-1295-4272-9138-f99709370657
* Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold2005-10-19
| | | | | | attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
* Fixed scroll step settings >127 pixels not working (reported on irc). ↵Jens Arnold2005-07-28
| | | | | | Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
* Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only ↵Jens Arnold2005-07-08
| | | | | | work correctly for b&w. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
* Enabled scrolling on the remote LCD in the simulator. Some small shortcuts ↵Jens Arnold2005-07-07
| | | | | | in the H1x0 remote LCD driver and the recorder LCD driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
* Converted to use the IRAM defines, and some small optimisations.Jens Arnold2005-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
* Use the central IDATA_ATTR define.Jens Arnold2005-07-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
* Iriver: atomic I/O port manipulation macros, to avoid interference between ↵Jens Arnold2005-07-02
| | | | | | normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
* A couple of optimisations.Jens Arnold2005-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
* Graphics: Lowlevel block function are in IRAM now as they're called often. ↵Jens Arnold2005-06-30
| | | | | | Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657