HeadlinesBriefing favicon HeadlinesBriefing.com

EndBASIC 0.14 Adds Sound Support and Graphics for Retro Gaming

Hacker News •
×

EndBASIC 0.14 arrives as a significant update that transforms the BASIC interpreter into a multimedia-capable platform. While version 0.13 focused purely on performance improvements through a new compiler and VM, this release adds sound support, expanded graphics primitives, and retro styling that brings the project closer to its 1.0 vision.

The graphics enhancements include triangle and polygon drawing commands (GFX_TRI, GFX_TRIF, GFX_POLY, GFX_POLYF) plus bucket-fill capabilities. The author also replaced modern TTF fonts with the classic IBM VGA 8x16 font across all platforms, creating a unified retro aesthetic. A bouncing circles demo showcases these new features in the online interpreter.

Sound support arrives via BEEP and SOUND commands that integrate with the existing console framework, enabling tone generation even in terminal environments. The SDL console finally works again on macOS after threading architecture fixes, though unsigned binaries still trigger security warnings. Shebang support (#!) enables direct script execution on Unix-like systems with custom console configuration through magic comments.

EndBASIC 0.14 represents the culmination of a 2020 vision to create retro-style mini-games with BASIC simplicity. The addition of audio, enhanced graphics, and proper Unix integration provides everything needed for the 1.0 release, though features like sprites and file management remain on the roadmap.