home .. forth .. colorforth mail list archive ..

[colorforth] XcolorForth crashes on read or write to frame buffer.


I'm trying to plot some points to the display, and unfortunately, any 
write to the frame buffer segfaults the executable.  It also appears 
that reading from the framebuffer also causes a crash.

Here is my code (in punctuated form):

: px over ! 4 + ;
: r $FF0000 px ;
: g $FF00 px ;
: b $FF px ;
: rgb [ frame ] r g b ; rgb

(Note: [ XYZ ] indicates that XYZ is yellow.)

Any ideas as to why this is happening?

Thanks for the help.

--
Samuel A. Falvo II


---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com