Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
BBC BASIC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Other platforms=== BBC BASIC has also been ported to many other platforms.<ref>[http://mdfs.net/bbcbasic/ BBC BASIC - MDFS::Software.$.BBCBasic<!-- Bot generated title -->]</ref> A [[NS320xx|NS32016]] version of BBC BASIC was supplied with the Acorn 32016 coprocessor and Acorn ABC. In addition to the version of BBC BASIC supplied with the [[BBC Micro]]'s Zilog Z80 second processor, a Z80-based version of BBC BASIC also exists for [[CP/M]]-based systems. A Zilog Z80 version of BBC BASIC was also used on the [[Tiki 100]] desktop computer, [[Cambridge Z88]] portable and the [[Amstrad NC100]] Notepad and [[Amstrad NC100|Amstrad NC200]] Notebook computers. This version has been implemented on the [[TI-83 Plus]] and [[TI-84 Plus]] series [[graphing calculator]]s. Due to efforts of J. G. Harston (also responsible for a [[PDP-11]] version<ref>[http://mdfs.net/bbcbasic/PDP11/ BBC BASIC for PDP-11]</ref>) a version of [http://mdfs.net/bbcbasic/Spectrum/ BBC BASIC] for the [[ZX Spectrum]] was released in January 2002, with many improvements made in subsequent releases. For [[IBM PC compatible|PC]]-based systems, BBC BASIC was also implemented for [[DOS]] as ''BBCBASIC (86)'', which aimed for maximum compatibility with the BBC Micro, and ''BBasic'', which concentrated on the BASIC language, with its own enhancements based on BASIC II. A version of BBC BASIC integrated with the [[Microsoft Windows]] [[graphical user interface]], [http://www.rtrussell.co.uk/products/bbcwin/bbcwin.html BBC BASIC for Windows] created by [[Richard T. Russell|Richard Russell]], developer of the Z80 and [[x86]] versions, was released in 2001. Whilst supporting nearly completely the original BBC BASIC specification (BASIC IV), the Windows version supports much of BASIC V/VI syntax as well as some advanced features of its own. Features unique to BBC BASIC for Windows include interpreter support for record/structure types, and the ability to call Windows [[API]] routines or those in an external [[Dynamic-link library|DLL]]. Recent versions have included advanced features comparable with languages like [[C (programming language)|C]], and an external [[library (computing)|library]] has recently added support for objects. BBC BASIC for [[Simple DirectMedia Layer|SDL]] was also developed by Richard T. Russell, and is largely compatible with the previous BBC BASIC for Windows, sharing with that dialect many new and advanced features including data structures, PRIVATE variables, an EXIT statement, long strings, event interrupts, an address-of operator, byte variables, a line continuation character, indirect procedure and function calls and improved numeric accuracy. The first version was released in February 2019, and remains in active development {{As of|2024|08|lc=y}}.<ref>{{Cite web |title=BBC BASIC for SDL 2.0|url=https://www.bbcbasic.co.uk/bbcsdl/index.html |access-date=2024-08-05 |website=bbcbasic.co.uk}}</ref> [https://www.bbcbasic.co.uk/bbcsdl/index.html BBC BASIC for SDL 2.0] supports Windows, MacOS, Linux, Raspberry Pi OS, Android, iOS and mobile devices supporting the SDL library,<ref name=":0" /> as well as a version which allows the running of BBC BASIC programs as applets in a web-page via the Web Assembly framework. Programs can be run via the interpreter or compiled to a standalone application bundle which will run without BBC BASIC having to be installed (.exe file in Windows, .dmg file in MacOS, .zip file in Linux or Raspberry Pi OS and .apk file in Android). A high degree of compatibility with the BBC Microcomputer is also retained, including emulation of the SOUND and ENVELOPE statements, and the MODE 7 (teletext) screen mode. BBC BASIC for SDL 2.0 incorporates an assembler which depends on the CPU in the platform: x86 (32-bit or 64-bit) for Windows, MacOS or Linux; ARM (32-bit or 64-bit) for Raspberry Pi. In the case of Android the assembler is ARM or x86 as appropriate. Application Program Interface (API) functions can be accessed from BASIC and from assembler code, allowing an experienced programmer to produce sophisticated applications. A [[GPL]] clone of BBC BASIC named ''Brandy'', written in portable [[C (programming language)|C]], is also available.<ref>{{cite web | url=http://jaguar.orpheusweb.co.uk/branpage.html | title=Brandy | access-date=6 July 2011| archive-url= https://web.archive.org/web/20110717080829/http://jaguar.orpheusweb.co.uk/branpage.html| archive-date= 17 July 2011 | url-status= live}}</ref><ref>{{cite web | url=http://sourceforge.net/projects/brandy/ | title=Brandy Basic V Interpreter | access-date=6 July 2011}}</ref> A fork of this, ''Matrix Brandy'', remains under active development.<ref>{{cite web | url=http://brandy.matrixnetwork.co.uk/ | title=Matrix Brandy BASIC VI | access-date=21 August 2023}}</ref> An emulator of the BBC Micro for the [[Commodore International|Commodore]] [[Amiga]] was produced by Ariadne Software for [[Commodore International|CBM]] (UK). While extremely fast, it did not emulate the 6502 at full speed, so assembly code would run slower than a real BBC while BASIC programs would run much faster. Due to the way the optimised BASIC and the 6502 emulation interacted, almost no commercial games would run but well-behaved code and educational software generally worked. Additionally, it used a slightly less precise [[floating-point]] numeric format. For a while it was bundled with a special academic package of the [[Amiga 500]], in the hope that schools would replace their ageing BBC Bs with Amiga 500s. A version of BBC BASIC V (Z80) has also been made for the TI-83/84+ [[Texas Instruments]] calculator families by Benjamin Ryves. A [[Commodore 64]] version ''Shado'' was produced by a small software house Aztec Software in the early 1980s.<ref>{{Cite web | url=http://mdfs.net/Software/BBCBasic/C64/ | title=Commodore 64 BBC BASIC - MDFS::Software.BBCBasic.C64 }}</ref> Patched versions of Acorn's 6502 based HI-BASIC have also been experimentally run on C64, with an interface to the C64 Kernel, replacing the Acorn MOS calls otherwise made. There have also been efforts to make 6502 based version of BBC BASIC available on the [[Apple II]]. [https://github.com/bobbimanners/Applecorn Applecorn] being one such effort. BBC BASIC is the programming language used in the Agon Light, an [[open-source]]d 8-bit [[Z80]]-based [[single board computer]] and [[Single-board microcontroller|microcontroller]] designed by Bernardo Kastrup and released in 2022.<ref>{{Cite web |title=Olimex Forks Bernardo Kastrup's Agon Light, Offers a Tweaked Z80 Single-Board Computer Design |url=https://www.hackster.io/news/olimex-forks-bernardo-kastrup-s-agon-light-offers-a-tweaked-z80-single-board-computer-design-356ee5f03afb |access-date=24 December 2022 |website=Hackster.io |language=en}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)