home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 21 / 021.d81 / t.pgm < prev    next >
Text File  |  2022-08-26  |  3KB  |  157 lines

  1.  
  2.               PGM-64
  3.  
  4.       Program Graphics Manager
  5.  
  6.           by:  David P. Darus
  7.                Ken French
  8.                Louis R. Wallace
  9.  
  10. ======================================
  11.  
  12.    PGM-64 is a library of machine lan-
  13.  
  14. guage routines which, once loaded, can
  15.  
  16. be called (via the SYS command) from a
  17.  
  18. BASIC program.  From its name, you
  19.  
  20. would think that all of the PGM-64
  21.  
  22. routines are for graphics.  Not so!
  23.  
  24. Many are for sprites and for general
  25.  
  26. memory manipulation which would be
  27.  
  28. harder, slower and/or impossible from
  29.  
  30. BASIC alone.  You do NOT need to know
  31.  
  32. machine language to use these
  33.  
  34. routines.
  35.  
  36.    PGM-64 is documented in the Feb/Mar
  37.  
  38. 86 issue of Commodore Power/Play.  For
  39.  
  40. now, I'll give a brief run-down of the
  41.  
  42. features:
  43.  
  44.  
  45.    * Allows Hi-Res and Multi-Color
  46.      mode Graphics.
  47.  
  48.    * Allows graphics screen to be
  49.      placed in any of 6 locations,
  50.      including under BASIC or Kernal
  51.      ROMs.
  52.  
  53.    * Allows color memory and sprite
  54.      images to be placed in several
  55.      locations.
  56.  
  57.    * Provides BLOAD (LOAD any RAM)
  58.      and BSAVE (SAVE any memory)
  59.      commands.
  60.  
  61.    * Easy DOS access, including non-
  62.      destructive directory, and dis-
  63.      playing error channel.
  64.  
  65.    * Fill RAM range with any byte
  66.      value.
  67.  
  68.    * Move any memory to any RAM with
  69.      optional EOR.
  70.  
  71.    * Character driver, allows text
  72.      on Hires screen, including:
  73.      + 40/80 columns
  74.      + Multiple fonts
  75.      + Double width (40-col only)
  76.      + Double height
  77.      + Underline
  78.      + Erase under character or not
  79.      + Independent background color
  80.        per character.
  81.      + VERY fast!
  82.  
  83.    * Data compression and uncompres-
  84.      sion, to/from RAM or disk.
  85.  
  86.    * Windows:
  87.      + Clear
  88.      + Fill
  89.      + Reverse
  90.      + Color
  91.      + Copy (store)
  92.      + Restore
  93.  
  94.    * Plot/Unplot dots.
  95.  
  96.    * Draw/Undraw lines.
  97.  
  98.    * Area fill.
  99.  
  100.    * 3-D Bars.
  101.  
  102.    * Sprites:
  103.      + 8-sprite normal mode
  104.      + 14-sprite mode:
  105.        - 2 background colors
  106.        - Sprites 0 and 13, full
  107.          screen
  108.        - Sprites 1-7, animatable,
  109.          above split
  110.        - Sprites 8-12, below split
  111.        - Movable horizontal split
  112.      + Sprite move and animate
  113.      + Any # of sprites on or off
  114.        with one command
  115.      + Priority, horiz/vert expand,
  116.        hires/multicolor, colors
  117.      + Reflect and reverse sprites
  118.        anywhere in RAM.
  119.      + Store sprites outside VIC
  120.        bank, and move them in when
  121.        needed.
  122.      + Move sprite with joystick
  123.        (mouse emulation)
  124.  
  125.    * Fast directory reader, reads
  126.      directory entries into 32-char
  127.      string variable.
  128.  
  129.  
  130.    On this disk is a "header" program
  131.  
  132. which loads the binary version of PGM
  133.  
  134. and defines abbreviations for all of
  135.  
  136. the calls.  It takes up lines below
  137.  
  138. 50 and also line 63999 (for disabling
  139.  
  140. PGM-64).  To write your own program,
  141.  
  142. first LOAD the header, and start wri-
  143.  
  144. ting at line 50.  SAVE when done, of
  145.  
  146. course!
  147.  
  148.  
  149. ======================================
  150.  
  151. FILES USED:
  152.  
  153.    PGM.BIN       (ML routines)
  154.    PGM STARTER   (BASIC header)
  155.  
  156. ----------< end of article >----------
  157.