Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
BBC BASIC
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
===Acorn Archimedes (RISC OS)=== {{Main|RISC OS}} With the move to the 32-bit [[ARM architecture|ARM]] CPU and the removal of the 16 KB limit on the BASIC code size many new features were added.<ref> {{Cite newsgroup | title=BASIC V 1.02 versus 1.04 changes (for Richard LLoyd!) | author=Roger Wilson | date=3 July 1989 | newsgroup=eunet.micro.acorn | message-id=807@acorn.co.uk | url=https://groups.google.com/group/eunet.micro.acorn/browse_thread/thread/35385e5c11376a79/ | access-date=14 June 2011}} </ref> BASIC V version 1.04 was 61 KB long. Current{{When|date=December 2023}} versions of RISC OS still contain a BBC BASIC V interpreter. The source code to the [[RISC OS]] 5 version of BBC BASIC V has been released under the Apache 2.0 license by [[RISC OS Open]]. Amongst the new commands and features supported were: * <code>[[While loop|WHILE-ENDWHILE]]</code> * <code>IF-THEN-ELSE-ENDIF</code> * <code>CASE-OF-WHEN-OTHERWISE-ENDCASE</code>, * <code>RETURN</code> parameters in procedures, * local arrays, * procedure libraries (<code>LIBRARY</code>,<code>INSTALL</code> and <code>OVERLAY</code>), * <code>LOCAL DATA</code> and <code>LOCAL ERROR</code> handlers, * a relative <code>RESTORE</code>, * [[Array data structure|array]] operations, * new operators, * <code>STEP TRACE</code>, * Commands for the new sound system, mouse, graphics. The graphics commands were entirely [[backwards compatible]], the sound less so; for example, the <code>ENVELOPE</code> keyword from BASIC V onwards is a command that takes fourteen numeric parameters and effectively does nothing— as in older versions, it calls OS_Word 8, but that does nothing on RISC OS.<ref>{{Cite web | url=http://mdfs.net/Archive/BBCMicro/2006/11/19/185014.htm | title=Subject: Envelope command in Basic V }}</ref> The in-line 6502 assembler was replaced by an [[ARM architecture|ARM]] assembler. BASIC V was said, by Acorn, to be "certainly the fastest interpreted BASIC in the world" and "probably the most powerful BASIC found on any computer". BASIC VI is a version of BASIC V that supports [[IEEE 754]] 8-byte format real numbers, as opposed to the standard 5-byte format introduced in BASIC I. BBC BASIC V and VI were delivered as standard on the [[Acorn Archimedes]] and the [[RiscPC]]. A version of BBC BASIC V was also available to run on the [[Tube (BBC Micro)|ARM second processor]] for the BBC Micro. A compiler for BBC BASIC V was produced by Paul Fellows, team leader of the Arthur OS development, called the Archimedes BASIC Compiler and published initially by DABS Press.{{citation needed|date=December 2011}} ABC was able to implement almost all of the language, with the obvious exception of the EVAL function, which inevitably required run-time programmatic interpretation. As evidence of its completeness, it was able to support inline assembler syntax. The compiler was written in BBC BASIC V. Many applications initially written to run under the interpreter benefitted from the performance boost that this gave, putting BBC BASIC V on a par with other languages for serious application development.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
BBC BASIC
(section)
Add topic