home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / bbs / windkw.arc / WINDOW.DOC < prev    next >
Text File  |  1985-06-22  |  2KB  |  45 lines

  1.                      Window Library Documentation
  2.                  (FIDO-10)
  3.                     George Sanderson 22 Jan. 1985
  4.                             St.Louis, MO
  5.                           (314) 234-3310
  6.   WINDOW.C -
  7. Window.c ia a simple window management library based in part on the 
  8. article "A Simple Window Package" by Edward Mitchell in the January
  9. 1984 issue of Dr. Dobb's Journal.  Ray L. McVay of Arlington, TX 
  10. on 30 August, 1984, entered and made some modifications to the original
  11. code.  The window module was largly rewritten and again made available.
  12. The code may be freely copied at ones own risk and the code can not
  13. be claimed or in any other manner restricted from public access.
  14. This implementation uses dynamically allocated buffers for window 
  15. control blocks and screen save buffers instead of the fixed arrays 
  16. used by Mitchell. This library is written to be  used with the 
  17. Lattice C compiler.  This module was largly rewritten and includes 
  18. a number of new functions.
  19.  
  20.   VLIB.A -
  21.   An assembly  language  support  library  called  VLIB  is  used  to
  22. interface the  Lattice C  compiler  with  the  IBM  ROM  BIOS  video
  23. routines.  VLIB will undoubtedly have to be rewritten if the window
  24. package  is   to  be  used  with  other  compilers.  The  following
  25. paragraphs should  be of  help to  those folks  who must tread this
  26. path.
  27.   The calling  convention for  Lattice is to push parameters rightmost
  28. first then do an intrasegment call to the function. In other words,
  29. functions are NEAR procedures. Some compilers do intersegment (FAR)
  30. calls to assembly language functions so their parameters will be two
  31. bytes farther away on the stack.
  32.   Functions return  char's and  int's in  the AX register.
  33.  
  34.   WNDEMO.C -
  35.   Just what it says. WNDEMO shows how to open windows, write strings
  36. in them and close 'em and use some of the other functions.
  37.  
  38.   FINALLY -
  39.   Since all  the windowing  functions go  through the  standard  BIOS
  40. calls, any display mode can be accommodated. The graphic modes will
  41. require more  attention from  the host  program than  was  paid  in
  42. WNDEMO, but  that (as is so often said) is left as an excercise for
  43. the reader (programmer).
  44.  
  45.