
About
The program from Einstein Magazine and All Micro News No. 91, April 1999, typed in and on one bootable Xtal BASIC disc.
DISKLAB, the Auto Disk Label Printer, is the editor Ted Cawkwell's reworking (December 1998) of a label printer by Stuart Marshall (1990). It prints a label for a 3" disk: side A the right way up, side B upside down so it reads when the disk is turned over, and a title for the spine. Each side is the disk's directory or your own lines of text.
DDDUMP.OBJ is the printer dump it uses: Tatung's GDUMP screen dump by M. St.J. Bailey, with the editor's changes, built from the magazine's hex.
The listing was printed on pages 12 to 16 of the magazine, which is on this site as Einstein Magazine No. 091. This disc saves you typing it in.
Running It
Boot the disc, type XBAS, then LOAD "DISKLAB" and RUN, with an Epson compatible printer on line. After a 40 second wait, type a title (or ENTER), then D or T for each side: D reads the directory of the disk in drive 0, T lets you type up to nine lines.
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, 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. MAME's printer was attached. The program was loaded into BASIC and saved back, giving the same bytes as ours, and the machine code loads to the printed bytes. Labels were made both ways, from the directory and from typed text, and the printer output drawn out: side A upright, the title along the middle, side B upside down. With no printer the dump returns and the program carries on. Not run on real hardware or on paper.
Kept as Printed
Both are as printed. The machine code was printed as hex with no checksum. It is on the disc because it disassembles completely, it runs, and it matches two other printings of the same routine, Tatung's assembler source in Einstein User 1/4 (on the Einstein User Vol 1 No 4 Listings Disc) and the hex in Einstein Monthly 1/11, apart from exactly the bytes the editor says he changed. DDDUMP.OBJ is 256 bytes; the bytes after the routine are zeros of ours. Older dot matrix printers may need the ESC L variant the article describes, which is not on the disc. No addresses are in the listing.
The program is its authors', published in Einstein Magazine in 1999.

