6502 BBC BASIC for 6502 series CPUs
 MDFS::Software.BBCBasic.6502 Search  

The original versions of BBC BASIC were written by Roger Wilson for the 6502 for Acorn Computers. It was developed on the Acorn System computer and as the onboard Basic for the BBC Microcomputer.

It is fairly easy to port 6502 BBC BASIC to other platforms. See Porting for more information.

The simplest method is to use the standard BBC verion of BBC BASIC assembled to a suitable address and write a MOS interface to translate calls to the host system. This requires zero page memory at &00-&5F and &FD-&FF and main memory at &400-&7FF avalable for BASIC. This is the method used with the Commodore 64 port.

If a simple veneer to the host is not possible or practical then you need to add appropriate code to the BASIC source, wrapped in IF/ENDIFs to target the platform. To make things simple, the host system should still provide zero page &00-&5F for BASIC, but the other workspace can be anywhere. This is the method used with the Atom and System versions.

If you cannot reserve &00-&5F to BASIC please contact me direct as move the whole of the zero page workspace elsewhere in zero page requires a lot of patching to the source code.

Basic2.zip is the source for 6502 BBC BASIC, it will run on any 6502-series CPU. The source is assemblable with ARM BASIC 65 and currently supports targetting the Atom/System, BBC and Commodore 64.

Basic4.zip is the source for 65C02 BBC BASIC, it requires a 65C02 or later CPU. The source is assemblable with ARM BASIC 65 and currently only supports targetting the BBC.

Platform Download Details
Acorn System SBASIC1
Basic1.zip (source)
SBASIC2
SBASIC3
Basic2.zip (source)
Acorn System BASIC ("Acorn New BASIC")
Code runs at &A000-&DFFF, workspace at &2800, PAGE=&3000, HIMEM=&A000.
Accesses the MOS via System/Atom MOS entry block.
Source assemblable with ARM BASIC 65 to target either the Atom/System or the BBC.
Acorn Atom ATBASIC1
Basic1.zip (source)
ATBASIC2
ATBASIC3
Basic2.zip (source)

Basic 1
Basic 2
Basic 3
BBC BASIC targetted to the Acorn Atom ("Acorn New BASIC")
Code runs at &4000-&7FFF, workspace at &2800, PAGE=&2C00, HIMEM=&4000.
Accesses the MOS via System/Atom MOS entry block.

Source assemblable with ARM BASIC 65 to target the Atom/System, the BBC, or the Commodore 64.

Acorn Atom with BBC Conversion Kit
The BBC version of BBC BASIC 1, 2 and 3 can also be used on the Acorn Atom with the BBC BASIC conversion kit which remaps the memory to look like the BBC and provides a small BBC MOS interface.
Acorn BBC Microcomputer Basic 1
Basic1.zip (source)
Basic 2
Basic2.zip (source)
Basic 3
HiBasic 3
-
Acorn BBC Master
Acorn BBC Master Compact
Basic 4
Basic4.zip (source)
HiBasic 4
Basic128.zip
Basic 40
Basic 41
HiBasic 4.30
Basic 4r32
-
6502 Second Processor Basic 5 -
Commodore 64 BBCBASIC.prg  Standard BBC version of BBC BASIC II with a host interface to the Commodore 64 Kernel.
Commodore 64 Shado.prg Aztec Software produced a version of BBC BASIC for the Commodore 64 in the 1980s. The released software seems very much an unfinished development demo and appears to just be an overlay over the on-board Commodore BASIC. It has many unimplemented features.


HOME   DOCUMENTS   LINKS   RECENT CHANGES
Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
Last update: 12-Sep-2013