Author |
Topic: BBC BASIC for SDL 2.0 v0.18a released (Read 846 times) |
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
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: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.
Modified the *SCREENSAVE/*GSAVE command to generate a 'bottom-up' BMP.
Fixed a subtle bug which could cause the MOD() function to misbehave when running on an ARM CPU.
Fixed a bug which could cause the *KEY command to fail if used near the start of a program. Libraries:Extended ogllib.bbc to support 'back face culling' for compatibility with BB4W's D3DLIB. This feature is used by Rubik.bbc and bbcowl.bbc.
Added a new gleslib.bbc library to support 3D graphics on Android. IDEs:SDLIDE now supports the 'File... Insert' command.
The SDLIDE 'Load File' dialogue now includes an 'All files' option.
Fixed a minor bug in touchide.bbc which could cause erratic cursor (caret) positioning when tapping in the editor. Example programs:Added a simulation of the BBC's OWL (aka COW) rotating-world logo.
Added the 3D Rubik's Cube simulation (except the Android edition).
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.
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
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.
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
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.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
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.
|
|
Logged
|
|
|
|
jbk
New Member
member is offline


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