home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
pgmutl
/
elan.zoo
/
bin
/
tech.doc
< prev
Wrap
Text File
|
1988-10-13
|
3KB
|
67 lines
INSTALLATION ADVICE
The Elan Programming Environment uses an overlay called "prelbin.bin" which
should be present either:
- in the current directory,
- in the directory "\bin", or
- in the directory "a:\bin".
It is advised not to use your master-floppy for program development, instead
keep the "\bin" directory reachable for DOS by means of a PATH assignment and
keep your Elan programs on another drive (e.g. b:).
When you have a fixed disk installed, simply copy the "\bin" directory from
this disk to the fixed disk ( use same directory name ) and include it in your
PATH. Because the Elan Programming Environment uses the ANSI.SYS device be
sure to have the next line included in the system configuration file
"CONFIG.SYS"
DEVICE=ANSI.SYS
and to have the file "ANSI.SYS" copied to the root directory of the fixed disk.
GRAPHIC PROCEDURES
The Elan Programming Environment is available with Hercules, IBM Color and
Enhanced Color graphics controllers.
Here is the list of applicable procedures:
Standard library: Turtle packet:
INT PROC graphics x limit enter turtle graphics
INT PROC graphics y limit leave turtle graphics
REAL PROC aspect PROC turtle window
(INT CONST xmin, xmax, ywin, ymax,
PROC enter graphics mode REAL CONST x rng, y rng)
PROC enter text mode
BOOL PROC in text mode
PROC move (REAL CONST x, y)
PROC color (INT CONST c) PROC move (REAL CONST lgth)
PROC clear graphics screen PROC draw (REAL CONST x, y)
PROC draw (REAL CONST lgth)
INT PROC current x position PROC turn (REAL CONST radian)
INT PROC current y position PROC turn (INT CONST angle)
PROC move (INT CONST x, y) PROC turn left
PROC draw (INT CONST x, y) PROC turn right
PROC plot pixel
After 'entering' turtle graphics
PROC plot text (TEXT CONST t) the 'window' is at the center of
INT PROC character width the screen, the range is in both
INT PROC line height direction from 0.0 to 100.0,
starting from the bottom left
The consol input-output routines corner in contrast to integer
are applicable also in graphics graphics mode where the origin
mode (e.g. put, get, line, page, is the upper left corner with
inchar, get cursor, cursor, the coordinates (1, 1).
x size, y size, ...).
PRINTING THE SCREEN
The Shift-PrtSc key of your PC will invoke printing of the screen either in
text or graphics mode.