Author: wmb Date: 2010-01-26 10:03:28 +0100 (Tue, 26 Jan 2010) New Revision: 1706
Modified: cpu/x86/pc/olpc/plot.fth cpu/x86/pc/olpc/via/drawboardtop.fth cpu/x86/pc/olpc/via/fw-version.fth cpu/x86/pc/olpc/via/fw.bth Log: XO-1.5 - Added line and curve drawing routines and vector board outline images.
Modified: cpu/x86/pc/olpc/plot.fth =================================================================== --- cpu/x86/pc/olpc/plot.fth 2010-01-26 08:19:58 UTC (rev 1705) +++ cpu/x86/pc/olpc/plot.fth 2010-01-26 09:03:28 UTC (rev 1706) @@ -1,3 +1,4 @@ +dev screen : plot0 ( -- x y ) 0 screen-height 10 - ; : clear-plot ( width height -- ) 2>r @@ -71,3 +72,10 @@ : lineplot ( xt xmin xmax xscale ymin ymax -- ) " plot" $call-screen ; : vgrid ( width height interval -- ) " vgrid" $call-screen ; : hgrid ( width height interval -- ) " hgrid" $call-screen ; + +: setup-plot ( -- ) + h# ffff set-fg 0 set-bg + d# 1200 d# 900 clear-plot + d# 1200 d# 900 d# 100 hgrid + d# 1200 d# 900 d# 100 vgrid +;
Modified: cpu/x86/pc/olpc/via/drawboardtop.fth =================================================================== --- cpu/x86/pc/olpc/via/drawboardtop.fth 2010-01-26 08:19:58 UTC (rev 1705) +++ cpu/x86/pc/olpc/via/drawboardtop.fth 2010-01-26 09:03:28 UTC (rev 1706) @@ -63,10 +63,10 @@ 564 259 18 18 boxat 570 269 moveto 573 273 lineto 578 263 lineto ; -: led0 518 348 led-symbol ; -: led1 491 348 led-symbol ; -: led2 72 348 led-symbol ; -: led3 99 348 led-symbol ; +: led0-top 518 348 led-symbol ; +: led1-top 491 348 led-symbol ; +: led2-top 72 348 led-symbol ; +: led3-top 99 348 led-symbol ; : mic-led 31 45 led-symbol ; : camera-led 569 45 led-symbol ; : wlan-conn 144 82 90 27 boxat ; @@ -95,10 +95,10 @@ x-but square-but check-but - led0 - led1 - led2 - led3 + led0-top + led1-top + led2-top + led3-top mic-led camera-led wlan-conn
Modified: cpu/x86/pc/olpc/via/fw-version.fth =================================================================== --- cpu/x86/pc/olpc/via/fw-version.fth 2010-01-26 08:19:58 UTC (rev 1705) +++ cpu/x86/pc/olpc/via/fw-version.fth 2010-01-26 09:03:28 UTC (rev 1706) @@ -1,3 +1,3 @@ \ The overall firmware revision macro: FW_MAJOR A -macro: FW_MINOR 29c +macro: FW_MINOR 29j
Modified: cpu/x86/pc/olpc/via/fw.bth =================================================================== --- cpu/x86/pc/olpc/via/fw.bth 2010-01-26 08:19:58 UTC (rev 1705) +++ cpu/x86/pc/olpc/via/fw.bth 2010-01-26 09:03:28 UTC (rev 1706) @@ -506,6 +506,11 @@ fload ${BP}/cpu/x86/pc/olpc/via/fsverify.fth devalias fsdisk int:0
+fload ${BP}/cpu/x86/pc/olpc/strokes.fth +fload ${BP}/cpu/x86/pc/olpc/plot.fth +fload ${BP}/cpu/x86/pc/olpc/via/drawboard.fth +fload ${BP}/cpu/x86/pc/olpc/via/drawboardtop.fth + fload ${BP}/dev/logdev.fth
fload ${BP}/ofw/inet/sntp.fth