[openfirmware] [commit] r3765 - cpu/x86/pc/olpc
repository service
svn at openfirmware.info
Fri Jan 16 02:17:13 CET 2015
Author: quozl
Date: Fri Jan 16 02:17:12 2015
New Revision: 3765
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3765
Log:
OLPC - display test, add blue versus red gradient, unused
Modified:
cpu/x86/pc/olpc/disptest.fth
Modified: cpu/x86/pc/olpc/disptest.fth
==============================================================================
--- cpu/x86/pc/olpc/disptest.fth Fri Jan 16 02:15:57 2015 (r3764)
+++ cpu/x86/pc/olpc/disptest.fth Fri Jan 16 02:17:12 2015 (r3765)
@@ -111,6 +111,21 @@
loop
loop
;
+0 [if]
+: bvsr ( -- )
+ set-stripes half-bias black-screen ( )
+ d# 256 0 do ( )
+ d# 256 0 do ( )
+ i 0 j rgb>565 ( color )
+ hstripe i * xbias + ( color x )
+ vstripe j * ybias + ( color x y )
+ hstripe vstripe ( color x y )
+ fill-rect
+ loop
+ loop
+;
+[then]
+
: hgradient ( -- )
set-stripes black-screen ( )
d# 256 0 do ( )
More information about the openfirmware
mailing list