Source code for OS1.2, BBC Basic and other Acorn software

discussion of beeb/electron applications, languages, utils and educational s/w
Post Reply
Kevin Edwards
Posts: 103
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Source code for OS1.2, BBC Basic and other Acorn software

Post by Kevin Edwards » Sun Nov 25, 2018 3:49 pm

Hi,

I was wondering if anyone has any original Acorn / Acornsoft source code for the BBC Micro and Electron - BBC Basic and OS in particular.

I seem to remember having a conversation with someone many years ago and them mentioning that OS1.2 and Basic 2 / IV source had been preserved. I'm sure they also had source for the early ARM Development software, 32016 co-processor suite and various Acornsoft Languages. This was many years ago and my memory is failing to recall the full details.

It would be great to have a look through some of this code. I recall seeing some of it myself back in the mid 80s, written using Acorn's 6502 Develpment package, using the alternative 6502 Rockwell mnemeonics - eg. LDAIM 9 for LDA #9.

I know many people have reverse engineered this software using intelligent disassemblers ( including myself ), but was interested in the original source.

Any information about its existence would be great!

Thanks!
Kevin.

Kazzie
Posts: 335
Joined: Sun Oct 15, 2017 7:10 pm
Location: North Wales
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by Kazzie » Sun Nov 25, 2018 5:22 pm

Not Acorn originals, but there's an annotated copy of OS1.2, originally from a series of magazine articles, over on 8bs.com

For Basic, there is source code for various versions on mfds.net.
Last edited by Kazzie on Sun Nov 25, 2018 5:26 pm, edited 2 times in total.
BBC Model B 32k issue 7, Sidewise ROM board with 16K RAM
Archimedes 420/1 upgraded to 4MB RAM (mid- restoration)
Acorn System 1 home-made replica

Kevin Edwards
Posts: 103
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by Kevin Edwards » Sun Nov 25, 2018 7:08 pm

Thanks for the links.

The JGH annotated BBC Basic dissassemblies are great. A lot of effort has been put into the creation of those images!

Still got my fingers crossed that someone has the original ones by Sophie. Possibly an ex-Acorn staff member or 'friends-of' Acorn staff have copies.

I think I have some sections of ARM BBC Basic source -part of the expression evaluator - somewhere amongst my disk archive. Must try and locate them!

Cheers.

User avatar
jgharston
Posts: 3289
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by jgharston » Mon Nov 26, 2018 12:08 am

Kazzie wrote:
Sun Nov 25, 2018 5:22 pm
For Basic, there is source code for various versions on mfds.net.
Also... http://mdfs.net/Info/Comp/Acorn/Source/
Kevin Edwards wrote:
Sun Nov 25, 2018 7:08 pm
I think I have some sections of ARM BBC Basic source -part of the expression evaluator - somewhere amongst my disk archive. Must try and locate them!
See http://mdfs.net/Software/BBCBasic/RISCOS/BasPlus.htm
Last edited by jgharston on Mon Nov 26, 2018 12:10 am, edited 1 time in total.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Kevin Edwards
Posts: 103
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by Kevin Edwards » Mon Nov 26, 2018 12:35 pm

Many thanks, Jonathan for the extra links - and for the magnificent work you have done on your site!

The BasPlus code is really interesting - part of that looks very similar to the code I saw back in the late 80s.

Time for a good browse through it all.

Did you re-create the 8-bit basic source code versions using a labelling disassembler?

All the best,
Kevin.

User avatar
jgharston
Posts: 3289
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by jgharston » Tue Nov 27, 2018 4:26 am

Kevin Edwards wrote:
Mon Nov 26, 2018 12:35 pm
Did you re-create the 8-bit basic source code versions using a labelling disassembler?
Yep, my suite of interchangable disassembly modules: http://mdfs.net/Software/Assembler/DisAssem/

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Alnitak
Posts: 10
Joined: Sun Sep 09, 2018 7:31 pm
Contact:

Re: Source code for OS1.2, BBC Basic and other Acorn software

Post by Alnitak » Wed Dec 05, 2018 9:47 am

I also worked on fixing up the annotated MOS 1.20 disassembly found at JGH's site and wrote scripts to convert the result into source that's compilable with ca65.

https://github.com/raybellis/mos120

Post Reply