BBC BASIC for SDL 2.0 version 1.25a released

New releases of BB4W and BBCSDL, and other updates, will be announced here
Posts: 8
Joined: Sun 03 Feb 2019, 17:29

BBC BASIC for SDL 2.0 version 1.25a released

Post by colinhoad »

Copied from Richard's post at Stardot:

I've released version 1.25a 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
  • PAGE may now be lowered without generating an error. This is dangerous in general, but in limited memory environments (e.g. the Raspberry Pi Pico) it can be useful, as it was on the original BBC Micro.

    Implemented a new SUM operator which performs modulo-2^64 addition, i.e. overflows are ignored. Using this operator modulo-2^64 subtraction and multiplication functions can be written:

    Code: Select all

          DEF FNsub64(a%%,b%%)=a%%SUMNOTb%%SUM1
          DEF FNmul64(a%%,b%%)LOCALA%,B%:A%=a%%AND&7FFFFFFF:B%=b%%AND&7FFFFFFF
  • IDEs and Utilities

    No changes (other than the version number of being updated).
  • Libraries modified so that FN_binary() and FN_tobase() accept 64-bit integers.
  • Example Programs

    There are no changes to the example programs in this release.
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, Raspberry Pi, Android, iOS, 64-bit Linux and in-browser editions, currently).

Posts: 398
Joined: Mon 02 Apr 2018, 18:04

Re: BBC BASIC for SDL 2.0 version 1.25a released

Post by DDRM »

Thanks, missed that!