
About
The programs from The Brain Vol. 1 No. 5, September and October 1986, typed in and on one bootable Xtal BASIC disc.
SPACETRK is Space Trek, a Star Trek strategy game, as printed. It does not run: line 60 is missing and three lines have syntax slips. SPACETR2 is our mended version, and plays.
WEIGHT, Weightlifter, has you time Feeble Fred's lifts. ANAGRAMS is a word game, and MYSTERY shows a sprite globe with two characters orbiting it. All three work as printed.
POKE1 and POKE2 are from Pokeing Around. POKE1 changes the cursor character, and stops with a Syntax Error as printed; POKE1B is mended. POKE2 lists BASIC's keyword table, but was written for EBASIC on the Einstein 256 and shows nothing on Xtal BASIC 4.2; POKE2A uses Xtal BASIC 4.2's addresses.
GDC.BBC, Gilbert Ronald's Graphs Machine Program, adds a CTRL G graphics screen dump to BBC BASIC (Z80), and works as printed. INPUT.BBC, from BBCBASIC Assembler, builds a keyboard input routine saved as INPUT.COM; as printed it stops with a Syntax error, and INPUT2.BBC is mended and works.
SCRFILL.ASM, from Machine Code, is the LDIR screen fill example as printed, with two operands blank on the page. It was not assembled.
The listings were printed on pages 156 to 179 of the magazine. The issue itself is on this site as The Brain Vol. 1 (September and October 1986). This disc saves you typing them in.
Running Them
Boot the disc, type XBAS, then for example LOAD "SPACETR2" and RUN. The .BBC files are text for BBC BASIC (Z80), which is not on the disc: load them into it with *EXEC.
What Is in the Download
A zip holding the disc image as a DSK, the same disc as an MFI for MAME to write to, the BASIC listings as text and as tokenised Xtal BASIC, the BBC BASIC and assembler files, a README with the full account of each program, and the screen captures and MAME scripts used to test them.
Verified
Transcribed from the page images and run on the Einstein in MAME with Xtal BASIC 4.2. Every BASIC file, loaded and saved back, gives the same program bytes as our files. SPACETR2 was played through every menu option; Weightlifter through two full lifts and a foul; Anagrams through a game to the end, scoring 9. MYSTERY and POKE2A were run. GDC's 202 bytes match the assembler listing the magazine prints beside it, and its printer dump, captured from MAME's printer and redrawn, matches the screen. INPUT2.COM was saved and run from DOS. Not run on real hardware.
Kept as Printed
SPACETR2, POKE1B, POKE2A and INPUT2.BBC are our corrected versions; the README says exactly what changed in each. Everything else is as printed.
Not on the Disc
Dragon Dungeon, printed on pages 180 to 185, is not on the disc. Page 184 is missing from our scan and from the other copy of the same scan we know of, and we have not found a copy with page 184. Lines 2010 to 2570 were printed on it and the game calls into them, so it cannot run without them. If you have a copy of this issue with page 184, we would like to hear from you.
Also not on the disc: the WDPRO and Spreadsheet printer patches, which are patches to commercial software, the BBCBASIC assembler skeleton, and the fragments inside the Machine Code text.
The programs are their authors', published in The Brain in 1986.


