home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / elan / bin / tech.doc < prev   
Text File  |  1988-10-13  |  3KB  |  67 lines

  1.  
  2. INSTALLATION ADVICE
  3.  
  4. The Elan Programming Environment uses an overlay called "prelbin.bin" which
  5. should be present either:
  6.         - in the current directory,
  7.         - in the directory "\bin", or
  8.         - in the directory "a:\bin".
  9.  
  10. It is advised not to use your master-floppy for program development, instead
  11. keep the "\bin" directory reachable for DOS by means of a PATH assignment and
  12. keep your Elan programs on another drive (e.g. b:).
  13.  
  14. When you have a fixed disk installed, simply copy the "\bin" directory from
  15. this disk to the fixed disk ( use same directory name ) and include it in your
  16. PATH. Because the Elan Programming Environment uses the ANSI.SYS device be
  17. sure to have the next line included in the system configuration file
  18. "CONFIG.SYS"
  19.  
  20.      DEVICE=ANSI.SYS
  21.  
  22. and to have the file "ANSI.SYS" copied to the root directory of the fixed disk.
  23.  
  24.  
  25. GRAPHIC PROCEDURES
  26.  
  27. The Elan Programming Environment is available with Hercules, IBM Color and
  28. Enhanced Color graphics controllers.
  29.  
  30. Here is the list of applicable procedures:
  31.  
  32.  Standard library:                    Turtle packet:
  33.  
  34.  INT PROC graphics x limit            enter turtle graphics
  35.  INT PROC graphics y limit            leave turtle graphics
  36.  REAL PROC aspect                     PROC turtle window
  37.                                            (INT CONST xmin, xmax, ywin, ymax,
  38.  PROC enter graphics mode                   REAL CONST x rng, y rng)
  39.  PROC enter text mode
  40.  BOOL PROC in text mode
  41.                                       PROC move (REAL CONST x, y)
  42.  PROC color (INT CONST c)             PROC move (REAL CONST lgth)
  43.  PROC clear graphics screen           PROC draw (REAL CONST x, y)
  44.                                       PROC draw (REAL CONST lgth)
  45.  INT PROC current x position          PROC turn (REAL CONST radian)
  46.  INT PROC current y position          PROC turn (INT CONST angle)
  47.  PROC move (INT CONST x, y)           PROC turn left
  48.  PROC draw (INT CONST x, y)           PROC turn right
  49.  PROC plot pixel
  50.                                       After 'entering' turtle graphics
  51.  PROC plot text (TEXT CONST t)        the 'window' is at the center of
  52.  INT PROC character width             the screen, the range is in both
  53.  INT PROC line height                 direction from 0.0 to 100.0,
  54.                                       starting from the bottom left
  55.  The consol input-output routines     corner in contrast to integer
  56.  are applicable also in graphics      graphics mode where the origin
  57.  mode (e.g. put, get, line, page,     is the upper left corner with
  58.  inchar, get cursor, cursor,          the coordinates (1, 1).
  59.  x size, y size, ...).
  60.  
  61.  
  62. PRINTING THE SCREEN
  63.  
  64. The Shift-PrtSc key of your PC will invoke printing of the screen either in
  65. text or graphics mode.
  66.  
  67.