In bm_snake, running tsim with -rjit results in a buggy visual display, as well as some invalid memory accesses.
Running the following two commands on macOS High Sierra on two different machines results in different visual output :
tsim -@ plugins/sdl.rcp ex/bm_snake.texe
tsim -rjit -@ plugins/sdl.rcp ex/bm_snake.texe
There is evidence of an off-by-one error, since the character ranges used to draw snakes appear to be offset by one between the two cases.
After 256 major loops, the output of the interpreter looks like this :

After 256 major loops, the output of the JIT looks like this :

In
bm_snake, runningtsimwith-rjitresults in a buggy visual display, as well as some invalid memory accesses.Running the following two commands on macOS High Sierra on two different machines results in different visual output :
There is evidence of an off-by-one error, since the character ranges used to draw snakes appear to be offset by one between the two cases.
After 256 major loops, the output of the interpreter looks like this :

After 256 major loops, the output of the JIT looks like this :
