home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / ASM / LCFUNCS.ZIP / READ.ME < prev    next >
Encoding:
Text File  |  1987-04-14  |  4.5 KB  |  118 lines

  1. LCFUNCS.ARC - Access Lattice library from Assembler programs
  2.  
  3. You should have the following files in LCFUNCS.ARC:
  4.  
  5. LATTICE  MAC    19274   3-21-87   1:05a
  6. CLINK    BAT       70   3-15-87   9:35p
  7. CLINKM   BAT       83   3-15-87   9:35p
  8. SKELETON LC       782   3-18-87   8:38p
  9. LATTICE  ASM     2416   3-18-87   8:30p
  10. CALC     ASM     5006   3-21-87   1:22a
  11. SAVINT   ASM      915   3-14-87  11:45p
  12. GETINT   ASM      920   3-14-87  11:45p
  13. UNWS     ASM     3492   4-11-87   2:18p
  14.  
  15. Besides the above files, you must have the following LICENSED software:
  16.  
  17. Lattice C 2.14 libraries LCS.LIB and LCMS.LIB
  18. Microsoft Macro Assembler  (tested with version 3.0)
  19. Microsoft Linker
  20. exe2bin.exe
  21.  
  22. The Following is a brief description of the above files.  Before I get
  23. into the description of the files, an editorial comment:
  24.  
  25. -----------------------------------------------------
  26. The one thing I can't stand about Public domain and shareware programs
  27. is the format of the documentation included with the program.  Shareware
  28. authors often will send a printed, and possibly even bound copy of the
  29. documentation, which I feel is well worth the small fee they charge.  For
  30. those of you who don't offer this service, the least you can do is to keep
  31. the files in STANDARD ASCII format.  What I mean is NO CONTROL characters,
  32. expand all your tabs, (they get shrunk with ARC anyways), and NO pretty line
  33. graphics please!  There are those of us who don't have IBM graphics
  34. printers, or who want to look at the documentation with our favorite (or
  35. handy) editor.  I know indexes are great, but I'd rather sacrifice them in
  36. order that I may format MY printer output to MY standards.  Cut out the page
  37. numbers.  The programs in this library do not have any un-standard
  38. characters, and all tabs are expanded to spaces so us less fortunate ones
  39. can continue to use editors such as Turbo Pascal, or SideKick which barf at
  40. tabs.  Enclosed is a short program UNWS.ASM, which cuts out all control
  41. characters except CR and LF.  It also expands tabs.  End of editorial.
  42. -----------------------------------------------------
  43.  
  44. LATTICE.MAC
  45.  
  46. This is the main engine for interfacing your assembler programs to Lattice
  47. C 2.14 library.  It contains dozens of macroes ranging from proper segment
  48. naming to advanced floating point IO.  there are plenty of comments.  You may
  49. want to print this file as it has detailed information on how to implement
  50. Lattice functions, and also gives a description of each of the macros.
  51.  
  52. NOTE:  If you aren't using Floating-Point, you can disable all related
  53. macroes by defining a the constant NOMATH before including LATTICE.MAC.
  54.  
  55. --
  56. CLINK.BAT
  57.  
  58. Sample batch file for linking NON-FLOATING-POINT programs to the Lattice
  59. library.  This batch file assumes that you have a directory 'C:\LATTICE'
  60. which contains your Lattice library.
  61.  
  62. --
  63. CLINKM.BAT
  64.  
  65. Same as above, but for numeric applications
  66.  
  67. --
  68. SKELETON.LC
  69.  
  70. This is a basic skeleton of an assembler program that will access the
  71. Lattice Library.  In this skeleton, Console Input and Output are opened
  72. as two different files.
  73.  
  74. --
  75. LATTICE.ASM
  76. Demo program inputs two Floting-Point numbers, performs some math functions,
  77. and prints the results.  There is some 8087 dependent stuff here which can
  78. be deleted if you don't have an 8087.
  79.  
  80. --
  81. CALC.ASM
  82. Demo program simulates a desk calculator.  Functions are + - / * ^ and
  83. A)rctangent, and sQuare root.  There is an accumulator so you can do chain
  84. calculations.
  85.  
  86. --
  87. SAVINT.ASM and GETINT.ASM
  88. Demo program saves interrupt vectors 0x80 thru 0xff to file 'D:SAVE.INT'
  89. The reason this program exists is because the debugger CODESMITH86 wipes
  90. out some interrupt vectors above 0x80 that are used by my Western Digital
  91. disk controller.  So, when I need to debug a program, I run SAVINT to save
  92. the interrupt vectors to my ram disk, and run GETINT after from the ram-disk
  93. so I don't have to re-boot the computer.
  94.  
  95. --
  96. UNWS.ASM
  97. Program to Un-Wordstar a file.  Expands tabs out to every 8th column, and
  98. eliminates some control characters.  Also sets bit 7 of each character to
  99. zero.
  100.  
  101. --------------------------------------------------------------
  102. If you like this program please feel free to distribute it in any way you
  103. choose.  All I ask is that if you use it for commercial use or distribution,
  104. please obtain written consent from the author.
  105.  
  106.  
  107.   Mark E Johnson
  108.   Johnson Brothers Wholesale Liquor Company
  109.   2341 University Avenue
  110.   St. Paul MN  55114
  111.  
  112. day: 612-646-2736
  113. eve:     698-3686
  114.  
  115.  
  116. Lattice and Lattice C are trademarks of Lattice Corporation.
  117.  
  118.