BBC BASIC for SDL 2.0 version 1.22a released

New releases of BB4W and BBCSDL, and other updates, will be announced here
DDRM
Posts: 327
Joined: Mon 02 Apr 2018, 18:04

BBC BASIC for SDL 2.0 version 1.22a released

Post by DDRM »

Copied from the Groups.io site ( https://groups.io/g/bb4w/topic/bbc_basi ... 0,83153563 ):

I've released version 1.22a 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

Cmd+left, Cmd+right, Cmd+up and Cmd+down are mapped to Home, End, Ctrl+Home and Ctrl+End, respectively, for improved compatibility with Apple Macs.

In the in-browser edition *RUN now runs JavaScript code (previously it did nothing useful) e.g.

Code: Select all

     OSCLI "window.open(""http://www.rtrussell.co.uk"")"

The QUIT n statement can now accept a parameter of zero (ARM and 64-bit editions only, 32-bit x86 editions always could).

A few performance optimisations have been carried out (e.g. fixing memory alignment issues).

IDEs and Utilities

In SDLIDE.bbc Alt+left and Alt+right are mapped to Word Left and Word Right, respectively, for improved compatibility with Apple Macs.

Added a -P command-line switch to SDLIDE.bbc to activate the profiler.

The Android and iOS editions report if a later version is available.

Libraries

Changed gleslib.bbc and ogllib.bbc to call glLightfv by address rather than name.

Example Programs

Added Newton's Cradle simulation (cradle.bbc in examples/physics).

Bundled the set of instructive Box2D demos in examples/physics/samples (these all use Debug Draw graphics).

Updated sudoku.bbc to add Tidy and New Game options (the difficulty of the generated game is very variable!).

This version may be downloaded, for all the supported platforms, from the usual location. The GitHub repository has been updated (used to build the MacOS, Raspbian, Android, iOS, 64-bit Linux and in-browser editions, currently).