
About
The programs from All Micro News Vol. 1 No. 11, January 1993, typed in and on one bootable Xtal BASIC disc.
DOG, David Williams's Dogfight, written for UKEUG, puts you in the gunner's seat of a First World War bomber with four fighters to shoot down, the gunsight moved by the cursor keys. DOGK is ours, the same with its key tests also taking the codes the Einstein's arrow keys give under MAME.
DGMOD, Dogmod, is Dogfight reading the keys through Mike Smallman's machine code, SITES.OBJ, so the sight moves diagonally while firing. As printed DGMOD stops with Syntax Error in 290 and SITES moves the sight left for the right key. DGMOD2 is ours, with that line mended and loading SITES2.OBJ, which is SITES with the one byte corrected by Ted Cawkwell in Einstein Magazine No. 88.
MCDEMO, the Machine Call Demonstration, draws a target and a wandering sight and fires a two line shot drawn by a MOS call. As printed it stops with Syntax Error in 4900; MCDEMO2 is ours, with a missing bracket and a missing & put in. PRKEY.COM is a twelve byte MOS call example that echoes keys, but not 0 to 8 or space. The MOS call articles and their programs carry no name.
The listings were printed on pages 6 to 9 and 13 to 15 of the magazine, which is on this site as All Micro News Vol. 1 No. 11 (January 1993). This disc saves you typing them in.
Running Them
Boot the disc, type XBAS, then LOAD "DGMOD2" and RUN: SPACE starts, N and M move the sight left and right, Q and A up and down, and SPACE fires. LOAD "DOGK" is the original game, steered with the arrow keys; DOG as printed expects other key codes, so under MAME use CTRL+H, CTRL+D, CTRL+K and DOWN with it. LOAD "MCDEMO2" uses 5 to 8 and SPACE. PRKEY runs from the DOS prompt, and CTRL+BREAK leaves it.
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 listings as BASIC text and as tokenised Xtal BASIC, the machine code with the hex as printed and its disassembly, 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 0.289 with Xtal BASIC 4.2. All five BASIC programs loaded and saved back give the same program bytes as ours, and the faulty lines were typed in by hand to confirm the errors. Both Dogfights were played through: all four fighters shot down, the results screen, play again and the cockpit fire ending. MCDEMO2 draws its screen, its shot flashes and a hit scores. PRKEY behaves as the article says. The machine code was printed as hex with no checksum; it went on the disc because all three blocks disassemble completely and run, and SITES, printed again in Einstein Magazine No. 88, agrees with that printing but for the byte that issue's editor corrected. Not run on real hardware.
Kept as Printed
DOG, DGMOD, SITES.OBJ, MCDEMO and PRKEY.COM are as printed; DGMOD, SITES.OBJ and MCDEMO do not work as printed. DOGK, DGMOD2 and MCDEMO2 are ours, and SITES2.OBJ carries Ted Cawkwell's correction from No. 88. SITES.OBJ and PRKEY.COM are 256 bytes, as the article's SAVE 1 makes them; the bytes after the code are zeros of ours. The README says what each change is.
The programs are their authors', published in All Micro News in 1993.


