home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / modem / byepc300.arc / BYEXLIB.ARC / README.DOC < prev    next >
Text File  |  1987-11-04  |  2KB  |  52 lines

  1.  
  2.           ************************************************
  3.           **                                            **
  4.           **     BYE-PC Interface Libraries for MSC     **
  5.           **                 using                      **
  6.           **     Microsoft Assembler Version 5.0        **
  7.           **                                            **
  8.           ************************************************
  9.  
  10.      This disk contains all of the source code a MAKE files needed
  11. to create the libraries for all memory models. This code requires using
  12. the Microsoft Macro Assembler Version 5.0. Many new features have been
  13. added to the assembler to ease creation of C modules, not to mention
  14. an impressive assemble time.
  15.  
  16.      These libraries on this disk were created using the steps below
  17. with MASM Version 5.0. Other assemblers will not work without modifing
  18. the source code modules. The new .CODE, and .MODEL directives take care
  19. of all the segment declarations for use with MS languages. Also, the
  20. PROC's are automatically converted to NEAR or FAR based on the model
  21. directive. Likewise, the BP+# is adjusted by the ARG equates based on
  22. memory model @codesize directive.
  23.  
  24.      To change the memory model you simply need to edit one include
  25. file on this disk MODEL.INC. Set the complier MODEL directive in this
  26. file to .SMALL, .COMPACT, .MEDIUM or .LARGE. After selection the
  27. appropriate memory model you are ready to compile the code. This assumes
  28. your disk is setup with MASM, LIB, and MAKE. Edit the MAKE file BYEXLIB
  29. to set the macro "$(model)=s,c,m or l". The following examples show the
  30. command line form:
  31.  
  32.    SMALL MODEL:
  33.      Step 1)   Edit MODEL.INC and set directive to "MODEL .SMALL"
  34.      Step 2)   C>make model=s byexlib
  35.      Step 3)   Link applications to newly created BYEXLIBS.LIB
  36.  
  37.    COMPACT MODEL:
  38.      Step 1)   Edit MODEL.INC and set directive to "MODEL .COMPACT"
  39.      Step 2)   C>make model=c byexlib
  40.      Step 3)   Link applications to newly created BYEXLIBC.LIB
  41.  
  42.    MEDIUM MODEL:
  43.      Step 1)   Edit MODEL.INC and set directive to "MODEL .MEDIUM"
  44.      Step 2)   C>make model=m byexlib
  45.      Step 3)   Link applications to newly created BYEXLIBM.LIB
  46.  
  47.    LARGE MODEL:
  48.      Step 1)   Edit MODEL.INC and set directive to "MODEL .LARGE"
  49.      Step 2)   C>make model=l byexlib
  50.      Step 3)   Link applications to newly created BYEXLIBL.LIB
  51.  
  52.