
About
The programs from The Brain Vol. 1 No. 2, March and April 1986, typed in and on one bootable Xtal BASIC disc.
ROCKET, Syntaxsoft's Rocket Lander, stops as printed with an error at line 1030, where REN is printed for REM. ROCKET2 has that one word corrected and plays: SPACE for thrust, Z and X to drift.
CLOCK, the Einstein 12hr Clock, draws a clock face driven by TI$. Answer its questions with two digits.
TRY1 and TRY2, from Try These, draw short coloured line and point patterns. TRY2B is TRY2 with SIN(1) read as SIN(I), which draws a spiral.
TURTLE, from M. Gaut's Basic Graphics Part 2, is a set of turtle graphics routines as printed, and TURTLE2 adds the two RETURNs that The Brain No. 3 said to add. TLINE, TSQUARE and TSPIRAL are the article's three examples, each with TURTLE2's routines.
SHORTPRG and TYPEIN, A Short Program and Type This In, plot parabolas.
DISCSUBS.ASM, DISCWRT.ASM and DISCRD.ASM, from Disc Handling, are Zen source for BDOS file routines that write and read a serial file. VDPBMAP.ASM is the bitmap set up fragment from All About The VDP Part 2, and TENNMUS.ASM and TENNPING.ASM are M. Gaut's music and sound routines from Anyone For Tennis? Part 2, for the tennis game in No. 1. These are source only.
The listings were printed on pages 8, 22 and 24 to 41 of our scan of the magazine. The issue itself is on this site as The Brain Vol. 1 (March and April 1986). This disc saves you typing them in.
Running Them
Boot the disc, type XBAS, then for example LOAD "ROCKET2" and RUN.
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 Zen sources with their assembled listings, 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 program, loaded and saved back, gives the same program bytes as our files, and all were run and their screens captured. The Zen listings print their object code beside the source; reassembling each source gives the printed bytes, all but three in the tennis music routine, where the magazine's own hex was left over from an earlier assembly and the source is right. The disc handling programs were assembled and run from DOS, and write and read back their test file. The tennis and VDP routines were not run. Not run on real hardware.
Kept as Printed
Everything is as printed except two second versions of ours, ROCKET2 (one word) and TRY2B (one character). TURTLE2 is the magazine's own correction from No. 3. The tennis game itself is on The Brain Vol. 1 No. 1 Listings Disc.
Not on the Disc
The BBC BASIC tips' short @% and *SPRITE examples and the one line examples in the machine code article, which are examples in the text rather than programs.
The programs are their authors', published in The Brain in 1986.


