Skip to content

version 8.7

Compare
Choose a tag to compare
@irmen irmen released this 06 Nov 22:09
· 1372 commits to master since this release
  • rnd and rndw are no longer builtin functions, but are now regular routines in the math module.
  • rnd and rndf routines can now be seeded with rndseed and rndseedf routines. You can get a reproducible sequence of random numbers this way.
  • new integer rnd routine that is smaller and faster than the previous one.
  • added cx16diskio.vload_raw to load headerless file into VRAM.
  • added gfx2.pget to get a pixel color value.
  • bit shifts of 8 and more no longer silently result in 0 but give a warning.
  • removed silent promotion of byte -> word bit shift that would occur if it was a simple assignment.
  • fixed indexing pointer variable with word index.
  • fixed various compiler problems with negating array values.
  • documentation improvements and spelling corrections.
  • other bug fixes.
  • the IR and VM have been rewritten to use a graph based code chunk representation. A dead code remover has been added that can remove all unused/unreachable code lines. NOTE: this codegen backend still only works in the vm target.