I've released version 1.26a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspberry Pi OS, Android, iOS and in-browser. The changes in this version are as follows:
- BASIC Interpreter / Run Time Engine
Changed the behaviour of VDU 127 (DEL) in VDU 5 mode to correspond to that of Acorn systems, i.e. the background GCOL mode is ignored.
Fixed a bug causing VDU 127 not to work correctly in VDU 5 mode if the text direction has been changed.
Fixed a bug (in ARM and 64-bit editions only) whereby characters plotted in VDU 5 mode could not be read back using GET(x,y).
- IDEs and Utilities
Fixed a minor bug in SDLIDE.bbc which could cause incorrect indentation of lines added at the end of a program.
Modified compiler.bbc so that message boxes still work when path names are very long.
Modified compiler.bbc (on Windows only) to be tolerant of spaces in the path to BBCSDL.
Added gfxlib.bbc which partially emulates David Williams's GFXLIB2 library for BB4W; see gfxlib_docs.pdf for a detailed description.
Added audiolib to support playing music (including MP3) and sound effects.
Modified dlglib so that it works correctly if @ox% or @oy% is non-zero, or the graphics ORIGIN has been moved.
- Example Programs
Added cowboy.bbc in examples/games; this is David Williams's GFXLIB2 demo for BB4W, converted to use the new gfxlib library.
Added metronome.bbc in examples/sounds (this is also compatible with BBC BASIC for Windows).
Modified lemmings.bbc and tower.bbc to use the new audiolib library.