BBC BASIC for SDL 2.0 version 1.41a released

New releases of BB4W and BBCSDL, and other updates, will be announced here
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

BBC BASIC for SDL 2.0 version 1.41a released

Post by Richard Russell »

I have released version 1.41a 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:
  1. Environment

    Updated the version of SDL to SDL 2.32.0 (except the Linux and in-browser editions).

  2. BASIC Interpreter / Run Time Engine

    Added array slicing, using the syntax: array(first TO [last]) or array(row, first TO [last]).

    Compound assignment and array arithmetic now also accept the exponentiation operator '^'.

    In the default *HEX32 mode, PRINT~ and STR$~ report an error if the value cannot be expressed as 32-bit hex.

  3. IDEs and Utilities

    In compiler.bbc, improved the manual selection of multiple embedded files from a sub-directory.

    In compiler.bbc, a REM!Resource directive, if present, embeds the resource into a Windows executable.

    Added versinfo.bbc utility to create a VERSIONINFO resource suitable for embedding in a Windows executable.

  4. Libraries

    Updated gfxlib.bbc to add PROC_gfxInvert, PROC_gfxPlotScaleDissolve and PROC_gfxPlotScaleAlphaBlend.

    Updated arraylib.bbc to support creating alias arrays from slices of 1D and 2D arrays.

  5. Example Programs

    Added filters.bbc (in examples/general) and soccerball.bbc (in examples/graphics).

    Added spinmaze.bbc (in examples/physics) and bauble.bbc & belier.bbc (in examples/sounds).
This version may be downloaded, for all the supported platforms, from the usual location (the Android and iOS editions should be installed from the appropriate App Store). The GitHub repository has also been updated.
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: BBC BASIC for SDL 2.0 version 1.41a released

Post by Richard Russell »

Richard Russell wrote: Mon 17 Mar 2025, 17:11 I have released version 1.41a of BBC BASIC for SDL 2.0
I have today fixed a bug in sdldebug.bbc which affected the 64-bit Windows edition of BBCSDL only. It broke the highlighting when debugging or profiling a program in the IDE (the first line in the program was highlighted rather than the line being executed). If you have downloaded the 64-bit Windows edition, please grab it again to pick up the fixed sdldebug.bbc.

I would add that there's little point in using the 64-bit Windows edition, since the 32-bit edition runs fine and is faster, but some people may prefer to. One possible reason would be to provide more of an assurance that your BASIC programs will run properly on other 64-bit platforms, such as MacOS, Linux, Android and iOS.
Flatlander
Posts: 19
Joined: Fri 08 Jul 2022, 02:47
Location: England

Re: BBC BASIC for SDL 2.0 version 1.41a released

Post by Flatlander »

Thank you Richard.
Finishing that game Any Decade Now™