Nick Glencross wrote:

> Here's a nice little Jako example which draws a circle (oval, strickly 
> speaking!) using VT100 control codes, which means that it should work 
> in xterms, gnome-terminals, consoles and konsoles. 

One observation is that although scale_height is declared an integer, 
the assembled code generated is:

set      I4, 5833.33333333333      # scale_height = 140000 / height;

This may be ok if the assembler truncates the number to 5833, but 
disassembling the bytecode reveals:

 set              I4, [nc:3] where nc:3 is "5833.33333333333"

This is really no big deal, and I presume that the assembler is doing 
'the right thing' in the grand sceme of things.

Is this a niggle worth revisiting in Jako?

Nick

Reply via email to