BBC BASIC for SDL 2.0 v0.24a released

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

BBC BASIC for SDL 2.0 v0.24a released

Post by DDRM » Thu 20 Sep 2018, 08:41

Copied from the groups.io forum: a new update to BBCSDL (posted there by Richard).

I have today released 'BBC BASIC for SDL 2.0' version 0.24a. The changes in this version are as follows:

The line editor used by the INPUT and INPUT LINE statements (and in immediate mode) has improved support for UTF-8 (Unicode) encoding. Cursor movement, insert/delete, typing (in both insert and overtype mode) etc. should work correctly so long as a fixed-pitch (monospaced) font is selected. Since SDL uses UTF-8 for keyboard input, even something as simple as entering the £ sign requires this support.
The 'socklib' library has been enhanced to support UDP as well as TCP communication.
A new 'utf8lib' library provides UTF-8-compatible replacements for the LEFT$, RIGHT$, MID$, INSTR and LEN functions.
David Williams' Rainbow Snake game is included as snake.bbc in the examples/games directory.
A new example program 'lanchat.bbc' demonstrates using UDP packets for a 'serverless' chat application.

This new version may be downloaded, for all the supported platforms (Windows, Linux, Mac OS, Raspberry Pi, Android, iOS) , from the usual place: https://www.bbcbasic.co.uk/bbcsdl/

If you use the bbc2apk Android Application Generator it is important that you download a new 'template' to update it to the new version.

As discussed elsewhere, I have now released the C source of BBCSDL along with build instructions for Windows (32 bits and 64 bits), Linux and Raspberry Pi. Those who need to know will already be aware of how to obtain the source code.

Post Reply