• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Retro Rendezvous

Connect, Collaborate and Code

  • Home
  • Recommended Resources
  • Retro Shop
  • About Me
  • Contact Me

Programming Project : Space Probe

October 30, 2023 by Paul Bussey

Back in 1986 I coded a game for the ZX Spectrum that was published in Popular Computing Weekly. Remember that magazine, where you could type in Basic programs and perhaps get them to work?

In this thread I’ll be working on converting this to BBC Basic as part of my relearning of this language.

For anyone else that may have published their BASIC programs during that time, there’s two useful archives here:-

1. Index for Spectrum/QL typed in scripts : http://www.users.globalnet.co.uk/~jg27p … _names.htm
2. This archive is from the “World of Spectrum” but the mag covers all scripts from different machines of the time. https://worldofspectrum.org/archive/mag … ing-weekly

Here’s the original mag and published page:-

Image
Image

I’ve been using the excellent Owlet editor on my Mac (I can type faster on a modern keyboard) and my first question is on the use of RND, which is very much prevalent in the code above which I’ll need in the BBC script.

I’ve noticed in Owlet that when using RND(X) it ends up giving you theĀ same number each time, unless you have some code asking for input at the beginning (providing a random time spanned event at the start).

Here’s my finished script which ends up being better than the 1986 version.

Use this link to see and run the BBC Basic script.

Filed Under: BASIC Programming, BBC Micro B

Primary Sidebar

Footer

The Venue

We meet at the Falkirk Business Hub.

Learn more about it here

The blog

Learn about my “rediscovery” of the BBC Micro B here in my blog

Recommended Resources

As I discover them I’ll be logging useful resources for Acorn machines HERE.