home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / library / asic / asicmake / asicmake.doc < prev   
Text File  |  1991-05-10  |  4KB  |  92 lines

  1. ASICMAKE Documentation
  2.  
  3. ASICMAKE is a program that will allow you to merge ASIC '.ASI' files
  4. together into one file.
  5. It was created by me to allow you to create libraries of ASIC functions and
  6. utilize them. (Well, actually, once I wrote ALU-LIB, I realized that there
  7. was no way to use it without some sort of program to merge files.)
  8.  
  9. When you run ASICMAKE it will present you with a menu to either Create a
  10. '.MAK' file, Assemble an '.ASI' file or End.
  11.  
  12. Press 'c' (or 'C') to create a MAK file. You will be prompted for a file name
  13. for the make file. This file name will also be the file name for the ASI
  14. file.(YOURPROG.MAK will become YOURPROG.ASI when Assembled.)
  15. The next prompts will be for the '.ASI' files you want to assemble into
  16. one file.
  17. When you're done, type /e at the filename prompt and YOURPROG.MAK will be
  18. created.
  19.  
  20. Going back to the main menu, press 'a' (or 'A') to assemble the '.ASI'
  21. file. You'll be prompted for the '.MAK' file you wish to use. (Do NOT
  22. type in an extender for the file name. The program takes care of it for you
  23. automatically.)
  24. Then the program will ask you if you want a printout of the file as it is
  25. assembled. Type 'y' or 'n' for, obviously, yes or no.
  26. Once that's done, the files will be assembled into the '.ASI' file you
  27. want.
  28. As the file is being assembled the lines will be printed to the screen.
  29. The program will beep at you to let you know it's done and display the
  30. number of lines in the '.ASI' file so that you'll know whether or not you
  31. can use the integrated editor/compiler ASIC to compile the program or if
  32. you'll have to use the command line compiler ASICC to compile your program.
  33.  
  34. To exit the program from the main menu press 'e' (or 'E').
  35.  
  36. CAVEATS:
  37.         In order for the program to work properly with dim and data lines
  38.         arrays MUST be dimensioned in all uppercase or lowercase.
  39.         IE: dim array(20)=right.
  40.             DIM array(20)=right.
  41.             Dim array(20)=wrong.
  42.             diM array(20)=wrong.
  43.         Data lines the same.
  44.         IE: data n,n1=right.
  45.             DATA n,n1=right.
  46.             Data n,n1=wrong.
  47.             dAtA n,n1=wrong.
  48. These lines MUST also have dim or data beginning in the FIRST column.
  49. IE:
  50. dim array(10)=right.
  51.     dim array(10)=wrong.
  52. data n,n1=right.
  53.     data n,n1=wrong.
  54.  
  55. Also, the last line in any of the '.ASI' files MUST be a blank one. What
  56. this means is that after typing the last line, type a carriage return
  57. (ENTER key).
  58. IE:
  59. end(no CR)=wrong.
  60. end(CR)
  61. =right.
  62.  
  63. If you follow these rules when you write a library, you'll be able to merge
  64. your library functions into your ASIC programs.
  65.  
  66. I do suggest running ASICMAKE from the integrated editor/compiler 'ASIC'
  67. (From command line-'ASIC ASICMAKE') because this will allow you to load,
  68. edit and compile (As long as it has less than 809 lines.) your program
  69. after it's been merged. (However, some programs such as my ALU-LIB.ASI
  70. won't compile correctly in ASIC and must use ASICC.)
  71.  
  72. That's about it.
  73. Just remember that ANY and ALL of my programs are in the PUBLIC DOMAIN and
  74. NOTHING may be charged for their use or distribution by themselves or as
  75. part of a package. They are FREE for now and all time. (May be kind of
  76. silly but, I write for the sheer pleasure of it. Okay?)
  77.  
  78. If you run into any problems with this or any of my programs, I can be
  79. contacted on COMPUSERVE at 73007,3614.
  80. I hope this ASICMAKE utility will help you write some super programs in
  81. ASIC.
  82.  
  83. Keep in mind that, while my programs are free, ASIC is a copyrighted
  84. program by David A. Visti and if you decide you want to use ASIC, that you
  85. register with him. (C'mon, for only TEN bucks? It's DEFINITELY worth it.)
  86.  
  87. Enjoy and have fun.
  88.                                                 Steve Almond
  89.                                                 COMPUSERVE 73007,3614
  90.  
  91.  
  92.