Oct. 7, 2009
10:13 p.m.
Author: wmb Date: 2009-10-08 07:13:30 +0200 (Thu, 08 Oct 2009) New Revision: 1402 Modified: dev/olpc/dcon/dcon.fth Log: OLPC - Added backlight-{on,off} to DCON driver for XO-1. Modified: dev/olpc/dcon/dcon.fth =================================================================== --- dev/olpc/dcon/dcon.fth 2009-10-07 18:56:31 UTC (rev 1401) +++ dev/olpc/dcon/dcon.fth 2009-10-08 05:13:30 UTC (rev 1402) @@ -121,6 +121,9 @@ : brighter ( -- ) bright@ 1+ h# f min bright! ; : dimmer ( -- ) bright@ 1- 0 max bright! ; +: backlight-off ( -- ) mode@ 8 invert and mode! ; +: backlight-on ( -- ) mode@ 8 or mode! ; + \ Colour swizzle, AA, no passthrough, backlight : set-color ( color? -- ) dup to color?
5967
Age (days ago)
5967
Last active (days ago)
0 comments
1 participants
participants (1)
-
svn@openfirmware.info