Forum
Version 1.0.7 released! - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+--- Thread: Version 1.0.7 released! (/showthread.php?tid=82)



Version 1.0.7 released! - boriel - 02-22-2009

This release includes new fixes and improvements:
  • Fixes a bug in the DRAW command. The draw implementation was buggy. The new DRAW implementation works ok, and is faster and smaller.
  • Support for DRAW with 3 arguments. Now you can DRAW arcs as in Sinclair BASIC. The routine works exactly as the ZX Spectrum ROM, but also allows drawing in the lower 16 scan lines
  • Optimization: If a function is not called, and you use -O1 (or a higher number), it won't be compiled, allowing saving space
  • Optimization: If a global variable is not used, and you use -O2 (or a higher number), it won't be compiled, allowing saving space
  • Optimization: The code generated for temporary atributes is now smaller and faster
New compiler options:
  • Use --array-base=1 to start arrays at subscript 1 (default is 0)
  • Use -On to enable optimizations. Higher n number leads to higher optimizations