home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / windc86.zip / WINDOW.DOC < prev    next >
Text File  |  1989-03-20  |  3KB  |  69 lines

  1.  
  2.  
  3.                           Window Management Library Documentation
  4.  
  5.                               Ray L. McVay - 30 August, 1984
  6.                                         S P A R K S
  7.                                         908 Newton
  8.                                    Arlington, TX  76010
  9.                                       (817) 265-7688
  10.  
  11.                   Conversion to Computer Inovations C86
  12.                 Mike T. Elkins - 25 December, 1984
  13.                             720 Flora drive
  14.                                       Oceanside, Ca. 92056
  15.                         (619) 722-4363
  16.                                 Mike's "C" Board  619-722-8724
  17.  
  18.             WINDOW.C -
  19.  
  20.             Window.c ia a simple window management library based on the article
  21.             "A Simple Window Package" by  Edward Mitchell  in the  January 1984
  22.             issue of  Dr. Dobb's Journal.  This implementation uses dynamically
  23.             allocated buffers for window control blocks and screen save buffers
  24.             instead of the fixed arrays used by Mitchell. Although this library
  25.             is written  to be  used with  the CI C-86 C compiler, the only non-
  26.             standard characteristic  of the source is that some of the function
  27.             names are more than 8 characters long.
  28.  
  29.             VLIB.A -
  30.  
  31.             An assembly  language  support  library  called  VLIB  is  used  to
  32.             interface the CI C-86 C  compiler  with  the  IBM  ROM  BIOS  video
  33.             routines.  VLIB will undoubtedly have to be rewritten if the window
  34.             package  is   to  be  used  with  other  compilers.  The  following
  35.             paragraphs should  be of  help to  those folks  who must tread this
  36.             path.
  37.  
  38.             The calling  convention for CI C-86 is to push parameters rightmost
  39.             first then do an intrasegment call to the function. In other words,
  40.             functions are NEAR procedures. Most other compilers do intersegment
  41.             (FAR) calls to assembly language functions so their parameters will
  42.             be 2 bytes farther away on the stack.
  43.  
  44.             Functions return  char's and  int's in  the AX register. Long's are
  45.             returned in DX:AX.
  46.  
  47.  
  48.             WNDEMO.C -
  49.  
  50.             Just what it says. WNDEMO shows how to open windows, write strings
  51.             in them and close 'em.
  52.  
  53.             FINALLY -
  54.  
  55.             Since all  the windowing  functions go  through the  standard  BIOS
  56.             calls, any display mode can be accommodated. The graphic modes will
  57.             require more  attention from  the host  program than  was  paid  in
  58.             WNDEMO, but  that (as is so often said) is left as an excercise for
  59.             the reader (programmer).
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.