BBC BASIC
« BBC BASIC for SDL 2.0 v0.18a released »

Welcome Guest. Please Login or Register.
Sep 24th, 2017, 01:27am


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: BBC BASIC for SDL 2.0 v0.18a released  (Read 322 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 587
xx BBC BASIC for SDL 2.0 v0.18a released
« Thread started on: Aug 1st, 2017, 09:23am »

I've updated BBCSDL, the free cross-platform implementation of BBC BASIC, to version 0.18a. The various editions may be downloaded as follows:The Android edition will also run on the Amazon Fire TV Stick.

The main changes in this version are as follows:

BASIC interpreter:
  1. Hacked the SYS statement so that floating-point parameters may be successfully passed on the Raspberry Pi, which uses the 'hard float' ABI. This makes the 3D demo programs run correctly on that platform.

  2. Modified the *SCREENSAVE/*GSAVE command to generate a 'bottom-up' BMP.

  3. Fixed a subtle bug which could cause the MOD() function to misbehave when running on an ARM CPU.

  4. Fixed a bug which could cause the *KEY command to fail if used near the start of a program.
Libraries:
  1. Extended ogllib.bbc to support 'back face culling' for compatibility with BB4W's D3DLIB. This feature is used by Rubik.bbc and bbcowl.bbc.

  2. Added a new gleslib.bbc library to support 3D graphics on Android.
IDEs:
  1. SDLIDE now supports the 'File... Insert' command.

  2. The SDLIDE 'Load File' dialogue now includes an 'All files' option.

  3. Fixed a minor bug in touchide.bbc which could cause erratic cursor (caret) positioning when tapping in the editor.
Example programs:
  1. Added a simulation of the BBC's OWL (aka COW) rotating-world logo.

  2. Added the 3D Rubik's Cube simulation (except the Android edition).

  3. Added the pyramid.bbc, lighting.bbc, teapot.bbc and world.bbc programs to the Android edition.
I still need volunteers to contribute to the documentation, help viewer, addin utilities and libraries.

Richard.
« Last Edit: Aug 1st, 2017, 12:42pm by Richard Russell » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 587
xx Re: BBC BASIC for SDL 2.0 v0.18a released
« Reply #1 on: Aug 5th, 2017, 09:32am »

I should add that the latest release of BBCSDL may also be of interest to those content to use only BBC BASIC for Windows. The 3D animated Rubik's Cube program is fully compatible with BB4W and will run on that platform with no modifications.

Rubik.bbc can be found in the examples/games folder, along with the .Tables subdirectory that it uses. It is a good illustration of how the supplied 3D libraries (D3DLIB for BB4W and ogllib for BBCSDL) make writing cross-platform 3D applications straightforward, despite the significant differences between the underlying components (Direct3D in one case and OpenGL in the other).

On which point, why have so few people ever taken advantage of these libraries to write their own 3D games etc., when they make it so easy? Apart from a demo by David Williams, which never got developed further, I'm not aware of any BBC BASIC programs using these libraries, other than mine!

Richard.
« Last Edit: Aug 5th, 2017, 09:37am by Richard Russell » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 587
xx Re: BBC BASIC for SDL 2.0 v0.18a released
« Reply #2 on: Aug 25th, 2017, 2:34pm »

I have updated the Raspberry Pi edition to version 0.18b:

http://www.rtr.myzen.co.uk/bbc-rpi.zip

This minor revision speeds up the insert line (Enter) and delete line (Backspace) operations in the SDLIDE editor, which were previously rather slow on this platform.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 587
xx Re: BBC BASIC for SDL 2.0 v0.18a released
« Reply #3 on: Aug 25th, 2017, 9:29pm »

on Aug 25th, 2017, 2:34pm, Richard Russell wrote:
This minor revision speeds up the insert line (Enter) and delete line (Backspace) operations in the SDLIDE editor

Oh, I nearly forgot: I've also included (in install-rpi.txt) instructions for creating a desktop shortcut.

Richard.
User IP Logged

jbk
New Member
Image


member is offline

Avatar




PM


Posts: 12
xx Re: BBC BASIC for SDL 2.0 v0.18a released
« Reply #4 on: Aug 25th, 2017, 9:38pm »

thank you smiley
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls