home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
asic
/
asicmake
/
asicmake.doc
< prev
Wrap
Text File
|
1991-05-10
|
4KB
|
92 lines
ASICMAKE Documentation
ASICMAKE is a program that will allow you to merge ASIC '.ASI' files
together into one file.
It was created by me to allow you to create libraries of ASIC functions and
utilize them. (Well, actually, once I wrote ALU-LIB, I realized that there
was no way to use it without some sort of program to merge files.)
When you run ASICMAKE it will present you with a menu to either Create a
'.MAK' file, Assemble an '.ASI' file or End.
Press 'c' (or 'C') to create a MAK file. You will be prompted for a file name
for the make file. This file name will also be the file name for the ASI
file.(YOURPROG.MAK will become YOURPROG.ASI when Assembled.)
The next prompts will be for the '.ASI' files you want to assemble into
one file.
When you're done, type /e at the filename prompt and YOURPROG.MAK will be
created.
Going back to the main menu, press 'a' (or 'A') to assemble the '.ASI'
file. You'll be prompted for the '.MAK' file you wish to use. (Do NOT
type in an extender for the file name. The program takes care of it for you
automatically.)
Then the program will ask you if you want a printout of the file as it is
assembled. Type 'y' or 'n' for, obviously, yes or no.
Once that's done, the files will be assembled into the '.ASI' file you
want.
As the file is being assembled the lines will be printed to the screen.
The program will beep at you to let you know it's done and display the
number of lines in the '.ASI' file so that you'll know whether or not you
can use the integrated editor/compiler ASIC to compile the program or if
you'll have to use the command line compiler ASICC to compile your program.
To exit the program from the main menu press 'e' (or 'E').
CAVEATS:
In order for the program to work properly with dim and data lines
arrays MUST be dimensioned in all uppercase or lowercase.
IE: dim array(20)=right.
DIM array(20)=right.
Dim array(20)=wrong.
diM array(20)=wrong.
Data lines the same.
IE: data n,n1=right.
DATA n,n1=right.
Data n,n1=wrong.
dAtA n,n1=wrong.
These lines MUST also have dim or data beginning in the FIRST column.
IE:
dim array(10)=right.
dim array(10)=wrong.
data n,n1=right.
data n,n1=wrong.
Also, the last line in any of the '.ASI' files MUST be a blank one. What
this means is that after typing the last line, type a carriage return
(ENTER key).
IE:
end(no CR)=wrong.
end(CR)
=right.
If you follow these rules when you write a library, you'll be able to merge
your library functions into your ASIC programs.
I do suggest running ASICMAKE from the integrated editor/compiler 'ASIC'
(From command line-'ASIC ASICMAKE') because this will allow you to load,
edit and compile (As long as it has less than 809 lines.) your program
after it's been merged. (However, some programs such as my ALU-LIB.ASI
won't compile correctly in ASIC and must use ASICC.)
That's about it.
Just remember that ANY and ALL of my programs are in the PUBLIC DOMAIN and
NOTHING may be charged for their use or distribution by themselves or as
part of a package. They are FREE for now and all time. (May be kind of
silly but, I write for the sheer pleasure of it. Okay?)
If you run into any problems with this or any of my programs, I can be
contacted on COMPUSERVE at 73007,3614.
I hope this ASICMAKE utility will help you write some super programs in
ASIC.
Keep in mind that, while my programs are free, ASIC is a copyrighted
program by David A. Visti and if you decide you want to use ASIC, that you
register with him. (C'mon, for only TEN bucks? It's DEFINITELY worth it.)
Enjoy and have fun.
Steve Almond
COMPUSERVE 73007,3614