home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
tech
/
autoskem
/
asdoc
next >
Wrap
Text File
|
1988-10-25
|
18KB
|
463 lines
AUTOSKEM
V 1.2R
Copyright 1986,1988
by
David J. Markovitch
************* RESTRICTED VERSION ************
(See last page for details)
If you like this program send $30 for an
unrestricted version to:
D.J.M.
301 Knutson Dr.
Madison, WI.
53704
System requirements: IBM PC or compatible, 384K ram, 1 floppy
drive, Epson or IBM compatible printer, and one of the following
graphics cards; CGA, EGA, VGA, Hercules, or PC3270.
There are four files included on the disk:
AUTOSKEM.EXE- This is the drawing program which can be run from
the DOS prompt by typing AUTOSKEM. The file can be copied and
renamed as long as the extension remains '.EXE'.
LINECHAR.FON- This is the font data required by AUTOSKEM. It must
be copied along with AUTOSKEM but should not be renamed.
ELECTRON.SYM- These are the pre-defined symbols that come with the
program. This file must also be copied with AUTOSKEM but should
not be renamed.
ASDOC- This is the documentation which can be printed by typing
COPY ASDOC PRN at the DOS prompt.
The files 'LINECHAR.FON' and 'ELECTRON.SYM' must be in the
current directory of the default drive when the program is loaded
and run. (This can be changed as explained in the configuration
section)
AUTOSKEM is a general purpose drawing program which has been
optimized for schematics. Drawings are constructed from three
basic objects: lines,text, and symbols. All lines are straight
lines between any two points in the drawing area. Text can be
scaled to one of five sizes and placed anywhere in the drawing
area. Symbols are any collection of up to 30 lines which can be
defined by the user. They can be scaled in size, rotated in 90
degree increments, and placed anywhere in the drawing. The program
comes with about 40 pre-defined symbols and a sample drawing which
shows them (SYM.PIC).
The drawing area is 1000 by 1000 units in size and only
partially visible on the screen. The screen size varies from 300
by 192 to 340 by 335 units, depending on the graphics card in use.
Objects are located on the drawing by a cross shaped cursor
controlled by the cursor keys. The co-ordinates of the cursor are
displayed at the bottom left of the screen. The cursor can move in
increments of one or eight units at a time, switching every time
the TAB key is hit when the cursor is visible. The RETURN key is
used to select the point under the cursor. Any part of the cursor
which covers a line segment becomes invisible. Screen color can be
changed (if a color monitor is used) to one of sixteen colors by
hitting the F2 key.
Commands are displayed at the right side of the screen and are
selected by the up and down cursor keys and RETURN key. Commands
which display a cursor can be exited by hitting the SPACE bar any
time the cursor is visible, otherwise the RETURN or ESC keys can be
used to exit. The command which is currently executing is
1
dislplayed on the bottom line of the screen along with any prompts.
If a prompt requires entering a letter or name, either upper or
lower case can be used. File names may include a drive letter and
path but no extension; Example: B:SYM A:\CAD\SYM (the
program creates its own extensions)
The following is a description of each command in the order
that it appears on the menu:
DRLIN- Draws a straight line between any two points in the drawing
area. Move cursor keys to starting point and hit RETURN. The end
point is selected the same way, except that a new section of the
drawing may be displayed through the NEWIN command by hitting <W>.
ERLIN- Erases lines in the drawing. Move cursor to a point on or
close to the line to be erased and hit RETURN.
LISYM- Lists the symbols in the current library in alphabetical
order.
DRSYM- Draws a symbol with its reference point at the position of
the cursor. The scale of the symbol can be changed from .1 to 10
times normal size in increments of .1. A list of symbols can also
be displayed. Move the cursor to the desired location and hit
RETURN. Enter a two letter code for the desired symbol and hit
RETURN. The symbol can be re-positioned by using the cursor keys
and the <V> key, but will not be entered into the drawing until the
RETURN key is hit again. Symbols may be rotated in 90 degree
increments by adding a third letter to their code: <U> for 90
degrees counter-clockwise; <D> for 90 degrees clockwise; <L> for
180 degrees. Example: 'OAL' would produce an op-amp rotated 180
degrees from the orientation in which it was defined.
ERSYM- Erases symbols in the drawing. Move cursor to a point on
or close to the reference point of the symbol to be erased and hit
RETURN.
DRTXT- Writes text at the position of the cursor. The scale of
the text can be changed to one of five sizes. Move the cursor to
the desired position of the lower left hand corner of the text and
hit RETURN. Enter text one line at a time and hit RETURN. The
text can be re-positioned by using the cursor keys and the <V> key,
but will not be entered into the drawing until the RETURN key is
hit. Two characters on the keyboard have been re-defined as
electronic symbols: <@> is the symbol for ohms and <&> is the
symbol for micro.
ERTXT- Erases text in the drawing. Move cursor to a point on or
close to the lower left hand corner of the text to be erased (the
reference point) and hit RETURN. The reference point for text is
slightly below the character (at the underline) so the larger
characters have more space between the character and the reference
point.
DROBJ- Draws an object at the position of the cursor. An object
2
can be any drawing or section of a drawing which is used like a
symbol. Objects are stored in their own files with an '.OBJ'
extension and are refered to by file name. An object is placed by
moving the cursor to the desired position, hitting RETURN, and
entering the file name. The reference point chosen when the object
was defined will appear at the cursor position.
ERBOX- Erases the contents of a rectangular area of the drawing.
Move the cursor to one corner of the area to be erased and hit
RETURN. Move to the opposite corner and hit RETURN. If the second
corner is outside of the display area, the display can be changed
through the NEWIN command by hitting <W>.
COBOX- Copies the contents of a rectangular area of the drawing.
Move the cursor to one corner of the area to be copied and hit
RETURN. Move to the opposite corner and hit RETURN. If the second
corner is outside of the display area, the display can be changed
through the NEWIN command by hitting <W>. Move to the upper left
corner of the area to be copied to and hit RETURN.
MOBOX- Moves the contents of a rectangular area of the drawing.
Position the cursor at one corner of the area to be moved and hit
RETURN. Move to the opposite corner and hit RETURN. If the second
corner is outside of the display area, the display can be changed
through the NEWIN command by hitting <W>. Position the cursor at
the upper left corner of the area to be moved to and hit RETURN.
Symbols and text are included in a rectangular area as long as
the area contains their reference points. Lines are included only
if both endpoints lie inside the area.
CHLBR- Allows the selection of a different symbol library or the
creation of a new library. Libraries of up to 100 symbols each can
be created for different types of drawings, but a drawing may only
contain symbols from a single library. Drawings will only appear
correct when the symbol library with which they were created is the
currently selected library. The library 'ELECTRON.SYM' is
automatically loaded when the program is first started. Libraries
are created with an extension of '.SYM' which should not be
changed.
DPLOT- Creates a high resolution printer copy of all or part of
the current drawing. The section to be printed is selected by
placing a window around it. The orientation may be vertical (the
same as the screen), or horizontal (rotated 90 degrees clockwise).
Three types of printers may be selected with a default of an Epson
FX. The drawing width can be chosen as well as the starting
position on the paper. The length will automatically be adjusted
so that equal X and Y increments in the drawing will have equal
lengths on the paper. This can be changed by entering a desired
drawing length.
DIR- Displays the directory of the selected path and drive.
Hitting RETURN displays the current directory of the default drive.
Wildcards may be used to select a listing of only specific file
3
types; Example: C:\CAD\*.PIC will list all files in the 'CAD'
directory of drive C: which have an extension of '.PIC'.
SAVE- Saves a drawing or object to disk. If the drawing option is
selected, the entire drawing is saved with an extension of '.PIC'.
Each drawing file takes up a fixed size of about 22K which does not
change when the drawing is edited. If the object option is
selected, a rectangular area is defined by selecting opposite
corners and the contents of the area are saved with an extension of
'.OBJ'. The object file size depends on its complexity, but it
takes up less space than a drawing file. An object can be loaded
into a drawing at any position just like a symbol but can not be
scaled or rotated.
LOAD- Loads a drawing file into memory after erasing current
drawing. The drawing to be loaded must have an extension of
'.PIC'. If a drawing is to be loaded on top of the current drawing
without first erasing it, then the MERGE command should be used.
MERGE- Merges a drawing file on disk with the current drawing in
memory. The file to be merged must have an extension of '.PIC'.
This command can be used to combine separate layers of a drawing.
EDSYM- Allows editing of defined symbols. Enter the two letter
code for the symbol to be edited and select the desired option. A
symbol may be removed or have its name or description changed. The
'LINES' option causes the symbol to be drawn as a series of lines
which can be individually erased with the ERLIN command. This is
useful for making small changes in a symbol without re-drawing the
entire symbol. All changes are made to the current symbol library.
DFSYM- Allows new symbols to be created. A symbol is any
collection of up to 30 lines. All pre-defined symbols are stored
in the file 'ELECTRON.SYM' which is loaded when the program is run.
The symbols are accessed by a two character code which can contain
letters or numbers. A maximum of 100 symbols can be defined in a
single library. Before a symbol can be defined, it must be drawn
with the DRLIN command. After selecting DFSYM, move the cursor to
one corner of the area containing the symbol and hit RETURN, then
move to the opposite corner and hit RETURN. Next move the cursor
to the desired reference position (the point that will be located
at the cursor position when the DRSYM command is used) and hit
RETURN. Enter a two character code for the new symbol. If the
code has already been used, the old symbol will be overwritten.
The new symbol will be stored in the current library.
NEWIN- Changes the currently displayed section of the drawing.
This command has two options: First the cursor can be positioned
at a point which will become the new center of the screen. When
the RETURN key is hit, the screen will be re-drawn with the new
center. This can be repeated as many times as necessary until the
desired section of the drawing is displayed. The second option,
selected by hitting <W>, allows you to view the entire drawing area
and to choose the displayed section. This is done by moving the
4
cursor to the lower left corner of the area to be displayed and
hitting the RETURN key.
RDRAW- Re-draws the contents of the screen. Used mainly after
editing operations which erase parts of lines or text.
SPACE- Displays the number of lines, symbols, labels, and
characters which are left to use in the current drawing. The
drawing limits are: 1000 lines, 500 symbols, and 500 labels (lines
of text) or 3000 characters whichever is reached first.
ERPIC- Erases the current drawing.
DOS- Exits the program permanently if <E> is selected, or
temporarily if <S> is chosen (typing 'EXIT' at the DOS prompt will
return the program).
Any command which tries to increase the size of the drawing
beyond its limits will be ignored.
CONFIGURATION: The default program configuration may be changed by
including five parameters on the command line when the program is
started. These parameters in order are:
1. Font path and name (no ext.) Default is 'LINECHAR'
2. Symbol library path and name (no ext.) Default is 'ELECTRON'
3. Screen color 0 - 15 Default is 15:
0 = black 8 = dark gray
1 = blue 9 = light blue
2 = green 10 = light green
3 = cyan 11 = light cyan
4 = red 12 = light red
5 = magenta 13 = light magenta
6 = brown 14 = yellow
7 = light gray 15 = white
4. Printer number 1 - 3 Default is 1:
1 = Epson 216 (1/216" vertical resolution) FX,RX ..
2 = Epson 144 (1/144" vertical resolution) MX
3 = IBM (same as 1 except horizontal positioning command)
5. Graphics driver number 0 - 10 Default is 0:
0: Auto-detect 1: CGA 2: MCGA 3: EGA 4: EGA64
5: EGAMONO 7: Hercules 9: VGA 10: PC3270
The program normally detects the graphics card present and
uses the proper driver. A non-zero driver number on the command
line will force the program to use the specified driver.
5
All parameters on the command line must be present and
seperated by spaces; Example:
AUTOSKEM LINECHAR A:\SYMBOLS\PIPE 2 3 1
Sets the font file to 'LINECHAR.FON' in the current directory of
the default drive, the symbol library to 'PIPE.SYM' in the
'SYMBOLS' directory on drive A:, the color to green, the printer to
IBM, and the graphics driver to CGA.
Entering the parameters every time the program is run can be
avoided by creating a single line batch file with the program name
and parameters.
Tips on using objects
Objects can be used like symbols in that they can be inserted
anywhere in a drawing. Their biggest advantage is that they can
contain text and symbols as well as lines. One disadvantage is
that they can not be scaled or rotated like symbols. Objects are
good for anything which is frequently used in a drawing but is too
complex to define as a symbol. When working on a drawing in
sections, it is a good idea to save each section as an object.
This saves disk space and allows the sections to be inserted
anywhere in the final drawing.
Full Version
This restricted version of AUTOSKEM only allows 100 lines, 50
symbols, 50 labels, and 300 characters in a drawing. The full
version allows 1000 lines, 500 symbols, 500 labels, and 3000
characters. The full version may be obtained by sending $30 to:
D.J.M.
301 Knutson Dr.
Madison, WI.
53704
6