[<<][packetforth][>>][..]
Fri Oct 3 13:26:24 CEST 2008

type error when creating xv blitter

The error happens here:

> "xv.pf" load "" xv-blitter xv
> : blit xv blit ;
#<error:e_type> 

Something wrong with the parsing word 'xv'

This works fine:

> "" x11:make-xv
> constant XV
> XV p
#<0809b1a0:x11/:0.0> > 
> 
> ` bitmap/i420/320/240 new
> XV x11:blit
> 

So it looks like the error is in create-binder.

Looks like the elements popped from the allot stack get accessed
somewhere still..

> mark : boo 123 ; mark>
> p
((boo #<xt:,> (#<undef> "<string>" 0) #<cf:0xb7eb5390> #<xt:lit> 123 #<xt:leave> #<endlink:boo>)) > 

ok, but this:

> mark : boo 123 ; mark> constant BOO
> BOO p
(()) >

is not ok.

It's bad.. The type field of the listvar contains garbage at the point
static PF_PRIMITIVE(pf_forthword_dict_find) is invoked.

Ok.. kick me.  Double deref...



[Reply][About]
[<<][packetforth][>>][..]