
About
The programs from All Micro Magazine No. 69, March to April 1994, typed in and on one bootable Xtal BASIC disc: Dave Arts's drawing programs for his home built graphic arm, from Graphically Sketching, Chapter 3, The Graphic Arm (Part 4).
GEOM2 is the arm drawing program in BASIC. As printed it stops at once with Next Error in 210; GEOM2B is our copy with that line corrected.
GEOM3 draws using the machine code and saves pictures to disc, and UTILITY.OBJ is the machine code itself: it saves and restores the screen and reads the arm quickly, averaging its readings. ADCREAD.ASM is the article's assembler listing of the averaging routine, as text.
The listings were printed on pages 10, 12 and 13 of the magazine, which is on this site as All Micro Magazine No. 69 (March to April 1994). This disc saves you typing them in.
Running Them
Boot the disc, type XBAS, then LOAD "GEOM2B" and RUN; or CLEAR &8000:LOAD "UTILITY.OBJ", then LOAD "GEOM3" and RUN. The programs need the arm from the series (parts in Nos. 67 and 68), or a joystick in the analogue port to see them work. GEOM3 writes to the disc, so in MAME boot a copy of the MFI.
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 the assembler listing, 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, with MAME's analogue inputs standing in for the arm. The BASIC programs, loaded and saved back, give the same program bytes as our files. GEOM2B traced a test path on the screen, lifted the pen and stopped on cue. The machine code's hex has no printed checksum: its first 72 bytes agree with a separate reading of the same code printed in All Micro News Vol. 1 No. 12, the rest with a separate assembly of the article's own assembler listing, and it disassembles completely. Its screen save and restore work. Its fast arm reading gets the previous reading under MAME, an emulator timing matter, so GEOM3 as printed draws only a few dots in MAME; with the routine called twice it draws properly and saves and restores the picture. Not run on real hardware or with a real arm.
Kept as Printed
GEOM2 fails as printed (NEXTF for NEXTN in line 210); GEOM2B is our corrected copy. Everything else is as printed. No. 70 finishes the series.
The programs are their author's, published in All Micro Magazine in 1994.