home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource1 / xlib20 / readme.doc < prev    next >
Encoding:
Text File  |  1993-10-18  |  3.9 KB  |  81 lines

  1. ******************************************************************************
  2. Communicating with TechniLib Via Electronic Mail
  3. ******************************************************************************
  4.  
  5.      You can communicate with TechniLib via CompuServe electronic mail.  Direct
  6. mail to account 74730,167.  
  7.      XLIB may also be registered through CompuServe.  Use GO SWREG (shareware
  8. registration).  The program identification number is 1423.  The program title 
  9. is XLIB 2.0.  After registering, TechniLib will contact you to give you a 
  10. registration number and to determine if you want a printed copy of the user 
  11. manual.
  12.  
  13. ******************************************************************************
  14. Quick Start with XLIB
  15. ******************************************************************************
  16.  
  17.      The user manual is largely dedicated to cover specifics of XLIB which will
  18. rarely be of concern to the typical programmer.  
  19.      If all you need is protected-mode execution within an assembly language 
  20. program, then the introductory chapter will tell you nearly all that you need 
  21. to know.  You might also familiarize yourself with the predefined descriptors
  22. and selectors in XLIB by studying Chapter 2.
  23.      If you need to place data in extended memory, then examine the GETMEM and
  24. PMGETMEM procedures in Chapter 7.
  25.      C programmers wishing to use inline protected-mode execution should study
  26. the inline mode switch procedures in Chapter 5.
  27.  
  28. ******************************************************************************
  29. Improvements in XLIB Version 2.0
  30. ******************************************************************************
  31.  
  32. 1) Procedures enabling protected-mode programming in C using inline assembly.
  33. 2) Protected-mode file routines which can transfer extended memory to files 
  34.      or files to extended memory.  Sequential and random access are supported.
  35. 3) Better interrupt management services.
  36. 4) User-defined descriptors.
  37. 5) More descriptors.  XLIB 2.0 can be used to create protected-mode libraries
  38.      for nearly all language products.
  39. 6) More configurability.
  40. 7) Minor bug fixes
  41. 8) Better documentation.
  42.  
  43. ******************************************************************************
  44. Instructions for Constructing Protected-Mode Libraries
  45. ******************************************************************************
  46.  
  47.      The following batch file uses Microsoft LIB to combine an OBJ file with
  48. XLIB.LIB to produce a protected-mode library.  Call the batch file using the
  49. base name of the OBJ file as the argument.  This base name will also be given
  50. to the library.  It is assumed that all files, including LIB.EXE, are in the
  51. current directory.
  52.  
  53. @echo on
  54. del %1.lib
  55. lib %1.lib/noi +%1.obj+xlib.lib;
  56.  
  57.  
  58.      The following batch file uses Microsoft LINK and LIB to combine an OBJ
  59. file with XLIB.LIB to produce a protected-mode library and quick library for
  60. Microsoft BASIC 7.0.  Call the batch file using the base name of the OBJ
  61. file as the argument.  This base name will also be given to the library and 
  62. the quick library.  It is assumed that all files, including LINK.EXE and 
  63. LIB.EXE, are in the current directory.  The current directory must also 
  64. contain the file QBXQLB.LIB (included in the BASIC distribution disks).
  65.  
  66. @echo on
  67. del %1.qlb
  68. del %1.lib
  69. link /q/nopackf xlib.lib+%1.obj,%1.qlb,,qbxqlb.lib;
  70. lib %1.lib +xlib.lib+%1.obj+qbxqlb.lib; 
  71.  
  72. ******************************************************************************
  73. Explanation of PMPRINT.ASM
  74. ******************************************************************************
  75.  
  76.      Since protected-mode debuggers are hard to find, a programmer is greatly
  77. assisted by a set of screen management routines when preparing such code.  The
  78. file PMPRINT.INC includes a set of basic screen routines for protected-mode.
  79. Programmers using monochrome monitors will have to change the base address for
  80. the screen.  This file is included for your convenience.
  81.