Raspberry BASIC

Recent Posts

Pages: 1 2 3 [4]
31
BBC BASIC / BBC BASIC Compiler?
« Last post by John Spikowski on April 15, 2019, 03:33:17 AM »
Richard,

Quote from: Your Web Site
The Raspberry Pi edition has an ARM assembler.

This was the reason I thought BBC BASIC was a BASIC to ASM compiler.

32
ScriptBasic / Resources
« Last post by John Spikowski on April 15, 2019, 02:07:05 AM »
The following resources are available for the Raspberry Pi.

ScriptBasic Runtime - RPi Zero (this version runs on all models of the Raspberry Pi)
https://raspberrybasic.org/download/scriptbasic-rpi-zero.deb

ScriptBasic Runtime - Rpi ARMv7 (B / B+ Doesn't run on the Zero)
https://raspberrybasic.org/download/scriptbasic-2.1-linux-armhf.deb

ScriptBasic Runtime - AppImage (ARMv7 single file no install)
https://raspberrybasic.org/download/sb.AppImage.zip

DEB Install (installs needed dependences as well)
sudo apt install ./scriptbasic-2.1-linux-armhf.deb

AppImage
Extract the sb file from the zip in a directory in the system path.

Note: The DEB installs use scriba to run scripts and the AppImage uses sb to run them.

The source can be found in the AllBASIC sandbox.
https://sandbox.allbasic.info:8181/scriptbasic/sb-dev

Extract your source download whch will create a sb-dev directory. Make sure you install the developer dependencies for the extension modules.

libcurl4-gnutls-dev
libiodbc2-dev
libmariadbclient-dev-compat (provides mysqlclient)
libncurses5-dev
libsqlite3-dev
libssl-dev
zlib1g-dev

sudo perl jamal.pl -i    (this adds a Perl module the ScriptBasic build system needs but normally not installed by default)

./setup   (this builds the ScriptBasic runtime executables and include files created in the bin directory.

If all goes well, run the mkdeb.sh script to create the PACKAGES .deb install file or create a local install using mkdist.sh <dest dir>.


Documentation (User and Developer) can be found in the ScriptBasic Wiki.
https://scriptbasic.org/wiki

Feel free to send me a PM (Private Message) or post your questions to the ScriptBasic forum board.

Attached is a set of scripts and data files I use to test the extension modules with.

Additional Extension Modules

GPM Fibo
Extract the zip and put the gmp.so extension module that should go in the /usr/local/lib/scriba directory.

https://raspberrybasic.org/download/gmp_zero.zip


TinyScheme
* Unzip to a tmp directory.
* Copy libtinyscheme.so to your /usr/lib/ directory.
* Copy ts.so to your /usr/local/lib/scriba/ directory.
* Copy the remaining examples and init.scm to your ScriptBasic examples directory where ever that may be.

Note: The init.scm file is a Lisp script that adds additional syntax to your Lisp scripts.

https://raspberrybasic.org/download/TinyScheme_RPi_Zero.zip
33
BBC BASIC / Introduction to BBC BASIC
« Last post by Richard Russell on April 14, 2019, 09:58:19 AM »
BBC BASIC is the programming language originally specified and adopted by the British Broadcasting Corporation for its groundbreaking Computer Literacy Project of the early 1980s. It has since been extended and ported onto at least seven CPUs and more than thirty different platforms.  Today BBC BASIC is a modern, structured, language capable of most programming tasks.

The Raspbian edition of BBC BASIC is free and open-source.  It is highly compatible with the Windows, MacOS, Linux, Android and iOS editions, and generally BASIC programs will run on all these platforms with no modification, even if they use 2D or 3D graphics, sound, joystick input, file or network access etc. More than 100 example programs are supplied with BBC BASIC to demonstrate its capabilities.

Raspbian BBC BASIC needs at least an RPi 2; an RPi 3 or later is recommended for best performance.  It may be downloaded as a precompiled binary in the form of a Zip file or the source code, libraries and examples may be obtained from GitHub.  There is a makefile in the bin/raspi directory (the SDL2 development libraries must first be installed from the Raspbian repository).

Here are some YouTube videos which illustrate things that BBC BASIC can achieve on the Raspberry Pi:

Video games
2D graphics
3D graphics
Ceefax simulator
Sprites
Music and 3D animation
Shader programming
34
Interpreters / Re: BBC BASIC
« Last post by admin on April 14, 2019, 05:19:31 AM »
Welcome!

I created a child board for BBC BASIC.

35
Interpreters / BBC BASIC
« Last post by Richard Russell on April 13, 2019, 03:57:06 PM »
Will there be a child board for BBC BASIC?
36
ScriptBasic / ScriptBasic Introduction
« Last post by John Spikowski on April 09, 2019, 07:16:57 PM »


Script BASIC is written in ANSI C with an object like API. The scripting engine is embeddable, with a thread safe memory manager and virtually unlimited expandability. The core language uses one source tree for all platforms. Variables are maintained in a variant like structure and typeless until used.

Script BASIC comes with an array of industry standard library extension modules and a multi-threaded proxy HTTPD application server running as an OS service.

Scripting doesn't get any easier and based on a language syntax we all grew up with.

ScriptBasic Forum

37
General Discussion / Forum Registration Information
« Last post by admin on April 09, 2019, 06:02:35 AM »
Welcome to the Raspberry BASIC forum!

Standard forum registration has been disabled due to the overwhelming abuse by spammers.

If you would like to join the forum, e-mail me at support @ scriptbasic.org with RaspberryBASIC in the subject title and the forum user ID you would like to use. I recommend using your real name.

Thanks!

John Spikowski
Pages: 1 2 3 [4]