Source code for old BBC Micro games

Discussions related to graphics (2D and 3D), animation and games programming
Post Reply
colinhoad
Posts: 5
Joined: Sun 03 Feb 2019, 17:29

Source code for old BBC Micro games

Post by colinhoad » Fri 08 Mar 2019, 16:59

Hi there,

Does anyone know if the source code for old BBC Micro games is available anywhere online? I've started developing my own game using the excellent BB4W and I am just curious to know how the old games were put together. Did they write them in BBC BASIC or was it all just straight down to the assembler? Games like "Imogen", "Stryker's Run", "Palace of Magic" and "Snapper" were old favourites of mine as a child, and it would be fascinating to look under the covers and see how they were put together. I understand these things are no doubt covered by copyright law etc. but if there are any generous programmers or former software houses out there on the web who have made their IP public in the spirit of "open source", it would be lovely to find out.

David Williams
Posts: 68
Joined: Wed 04 Jul 2018, 16:23

Re: Source code for old BBC Micro games

Post by David Williams » Fri 08 Mar 2019, 17:18

Kevin Edwards recently released the source code for his BBC Micro game 'Galaforce':

https://stardot.org.uk/forums/viewtopic.php?f=1&t=16628

It's obviously not applicable to BB4W though, because Galaforce is written in 6502 assembly language.


David.
--

colinhoad
Posts: 5
Joined: Sun 03 Feb 2019, 17:29

Re: Source code for old BBC Micro games

Post by colinhoad » Fri 08 Mar 2019, 17:32

Hi David,

Ah yes, that brings me full circle back to my query a few weeks ago regarding old program listings using assembly code that wouldn't run under BB4W! I guess most of the games back then were written in assembly code rather than BBC BASIC.

Thank you for the pointer, though, I will definitely check out Kevin's listing on GitHub.

KenDown
Posts: 52
Joined: Wed 04 Apr 2018, 06:36

Re: Source code for old BBC Micro games

Post by KenDown » Fri 15 Mar 2019, 08:19

Of course there is the point that something written in old 6502 assembler (happy days) will now run as fast, if not faster, when written in plain old BASIC. In fact, I can remember when the Archimedes with is ARM processor first came out, one of the boasts was that its BASIC ran as fast as the old BBC Micro assembler and achieving that end had been one of the aims of the producers.

colinhoad
Posts: 5
Joined: Sun 03 Feb 2019, 17:29

Re: Source code for old BBC Micro games

Post by colinhoad » Fri 15 Mar 2019, 10:58

Hi Ken,

Yes, unfortunately I am not able to program in 6502 assembler code, and the learning curve is pretty steep! I don't suppose there are any decent online resources you're aware of that explain how to? Even something that explained how to read it would be a good start...

DDRM
Administrator
Posts: 103
Joined: Mon 02 Apr 2018, 18:04

Re: Source code for old BBC Micro games

Post by DDRM » Sat 16 Mar 2019, 17:28

Hi Colin,

I think the point he was making is that you can probably write it in BBC BASIC, and a modern computer will run the code as fast as an old BBC would have run assembled code - so you don't NEED to be able to write 6502 code. Of course, if you are converting an old program, you DO need to be able to understand what is happening....

Best wishes,

D

Post Reply