
About
The programs from The Brain Vol. 1 No. 1, January and February 1986, the first issue of Syntaxsoft's magazine for Einstein owners, typed in and on one bootable Xtal BASIC disc.
TENNIS.OBJ, M. Gaut's Anyone For Tennis?, is a bat and ball game in machine code, here ready to run; Q and Z move the bat. TENNISLD is the hex loader the magazine printed for typing it in, and works as printed.
TENNIS.ASM is the game's assembler source as printed, which does not assemble as it stands. TENNIS2.ASM is the source corrected as a reader's letter in UK EUG Newsletter Vol. 1 No. 9 describes, and assembles to TENNIS.OBJ exactly.
CONNECT4 is Connect Four against the computer, which "will not let you win easily". It works as printed.
VDPSUBS.TXT holds the VDP subroutines from All You Wanted To Know About The VDP, as text.
The listings were printed on pages 15 and 20 to 31 of our scan of the magazine. The issue itself is on this site as The Brain Vol. 1 (January and February 1986). This disc saves you typing them in.
Running Them
Boot the disc and type XBAS. For Tennis, type CLEAR &8000, LOAD "TENNIS.OBJ" and CALL &8000. For Connect Four, LOAD "CONNECT4" 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 assembler sources and the Tennis object code, 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. The BASIC programs, loaded and saved back, give the same program bytes as our files. The Tennis object code was typed into the printed loader and all 985 bytes landed as typed, and the game was played to a win and to a loss. No checksum is printed, but the listing gives every byte twice, as hex beside the source: our reading of the hex and an assembly of the source agree on all 985 bytes. Two bytes fall where our scan cuts off the foot of page 21 and are inferred from the code; the README lists them. Connect Four played two games and won both. Not run on real hardware.
Kept as Printed
TENNISLD, TENNIS.ASM, CONNECT4 and the VDP subroutines are as printed. TENNIS.OBJ and TENNIS2.ASM are ours, made from the printed listing, the second with the correction from the reader's letter.
The programs are their authors', published in The Brain in 1986.

