The 1988 CAD program in the library came with no instructions. This guide was worked out from its BASIC listing and by running it in MAME. Where a command has not been tried, it says so.

XBAS.RUN "CAD".The screen clears to a red frame with two dotted lines crossing in the middle, and a > prompt at the top left. The dotted lines are the axes. Where they cross is the centre of the model's space, point 0, 0, 0.
You type a command and press ENTER. Numbers and letters that go with a command come after it, separated by colons, like this:
TUBE 8:40:60:Z
Three rules save a lot of puzzling:
DRAW. Commands change the model, and DRAW shows it.The program is written in BASIC and takes its time. Wait for the > prompt to come back before typing the next command.
Type these one at a time:
TUBE 8:40:60:Z makes an eight sided tube, 40 units in radius and 60 long, lying along the Z axis, which points out of the screen.DRAW shows it. Seen end on it is just an octagon.ROTATE X:60 tips it 60 degrees about the X axis.ROTATE Y:20 turns it 20 degrees about the Y axis.DRAW now shows the whole tube as a wireframe.HIDE then DRAW draws it again as a solid, with the lines at the back removed.
Type DIR to list the models on the disc, then LOAD"CUPBOARD and DRAW. There is no closing quote: the program takes everything after the quote mark as the name. LOAD adds to whatever is already in memory, so type NEW first if you want a clean start.
| Command | What It Does |
|---|---|
DRAW | Clears the screen and draws the model |
VIEW Z | Look from the front: X across, Y up. This is how the program starts |
VIEW X | Look from the side: Z across, Y up |
VIEW Y | Look from above: X across, Z up |
PERSPEC | Turns perspective on or off. With it on, far things are drawn smaller |
HIDE | Turns hidden line removal on or off |
AXIS | Turns the dotted axes on or off |
STATUS | Shows the settings, and how many faces and points are used and free |
LIST 0:0:0:0:0 | Lists every point and face. The five values are first point, last point, first face, last face, and 1 to send the list to a printer. A 0 means from the start or to the end |
VIEW only changes where you look from. ROTATE, below, changes the model itself.
| Command | What It Does |
|---|---|
TUBE sides:radius:length:axis | Adds a tube. Sides from 3 upwards, radius from 2 to 600, length from 2 to 1200 (0 makes it the same as the radius), axis X, Y or Z. TUBE 4:15:120:Y is a tall square post |
MOVE x:y:z | Shifts by that many units each way. MOVE 60:0:0 moves right |
ROTATE axis:degrees | Turns about the X, Y or Z axis |
SQUASH x:y:z | Stretches or shrinks. 1 leaves a direction alone, .5 halves it, 2 doubles it. All three must be above 0 |
MIRROR axis | Flips the shape. X, Y or Z |
COPY | Makes a second copy of the shape in the same place, ready to be moved |
CENTRE | Moves the shape so its middle is at the centre. Read from the listing, not tried |
DELETE face | Removes one face by number. Not tried |
NEW | Clears the model and starts again |
EXIT | Leaves the program. Not tried |
To begin with, every command acts on the whole model. To work on one part, give a run of faces a number with DEFINE. The faces are numbered in the order they were made, and STATUS tells you how many there are.
| Command | What It Does |
|---|---|
DEFINE n:first:last | Calls faces first to last shape n (1 to 19) and selects it |
USE n | Selects shape n. USE 999 selects the whole model again |
DELSHP n | Deletes shape n. Not tried |
The selected shape is drawn in blue and the rest in yellow. This example carries on from the eight sided tube above, which used faces 1 to 8:
TUBE 4:15:120:Y adds a square post. It becomes faces 9 to 12.DEFINE 1:9:12 calls the post shape 1.MOVE 60:0:0 moves only the post.COPY makes a second post, faces 13 to 16.DEFINE 2:13:16 then MOVE -120:0:0 puts the copy on the other side.PERSPEC and DRAW.
ENTER lets you draw a flat face corner by corner in the current view. A cursor starts at the centre and its position is shown at the top of the screen.
| Key | What It Does |
|---|---|
| X and Z | Move right and left |
| : and / | Move up and down |
| 1 to 5 | Set how far each press moves |
| E | Fix a corner here. The program asks ENTER 3rd VALUE, which is the corner's depth: type a number and press ENTER, then carry on to the next corner |
| F | Fix the last corner here and finish the face |
Use capital letters. ALTER uses the same keys to pick up a point that is already there and move it. It cannot be used while perspective is on, and we have not tried it.

SAVE"NAME saves the whole model as NAME.SHP. Up to eight letters, and no closing quote.LOAD"NAME adds NAME.SHP to the model in memory.DIR lists the .SHP files on drive 0.A .SHP file is plain text: the number of points, the X, Y and Z of each point, the number of faces, then for each face how many corners it has and the number of its first point.
CODE.OBJ, which is a replacement written by TatungBytes because the one on the disc we were sent was blank. The entry explains what it does.
This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.