Raspberry BASIC
Raspberry BASIC => Interpreters => BBC BASIC => Topic started by: Richard Russell on December 30, 2021, 05:17:13 PM
-
I've released version 1.27a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, Mac OS, Linux, Raspberry Pi OS, Android, iOS and in-browser. The changes in this version are as follows:
- BASIC Interpreter / Run Time Engine
Treat hexdecimal pointers in *LOAD commands etc. as unsigned numbers.
Disable ON ERROR when in AUTO line-entry mode (64-bit and ARM editions only).
- IDEs and Utilities
The compiler utility can now build a 'web application' bundle to deploy online using https://wasm.bbcbasic.co.uk/bbcsdl.html?app=<URL of web bundle> (https://wasm.bbcbasic.co.uk/bbcsdl.html?app=https://bbcbasic.co.uk/webapps/candle.bbb).
Fixed a race-hazard in the debugger which could cause a rare crash during variable listing.
- Libraries
Updated gfxlib and gfxlib_docs.pdf to add PROC_gfxPlotColumnListScale, PROC_gfxPlotRowListScale and FN_gfxLoadTextureSwapRGB.
Updated audiolib to add PROC_mixCancel (truncates a sound effect) and PROC_mixSoundLevel (plays a sound effect at a specified level).
- Example Programs
Added candle.bbc (in examples/graphics), an animation of a burning candle, adapted from a program by David Williams.
Added compiler directives to a few examples so they run as web applications without modification.
This version may be downloaded, for all the supported platforms, from the usual location (https://www.bbcbasic.co.uk/bbcsdl/). The GitHub repository (https://github.com/rtrussell/BBCSDL) has been updated (used to build the MacOS, Raspberry Pi, Android, iOS, 64-bit Linux and in-browser editions, currently).