{translated by www.lived.ch, Misel Zivanovic, 23rd of September 2025}
---------------------------------------------------------------------

The entire development part of AmigaCOMAL is located in the library (drawer)
PackDev, which you are now in. This drawer contains two more libraries:

     PackDevC
     PackDevAsm

We recommend that you copy each of these libraries onto other
floppies - a special assembler development disk and a special C 
development disk.

The assembler development disk is created as follows: First, initialize
a new floppy and name it PackDevAsm. Then, copy the entire contents of 
the PackDevAsm library onto this disk by issuing the command:


     copy AmigaCOMAL:PackDev/PackDevAsm to PackDevAsm: all

     copy AmigaCOMAL:Compiler/BLink to PackDevAsm:c


Now, if you are in the Sources directory on this disk, you can compile
a package source into a finished package by issuing the command


     execute genpack <package source>

where <packagesource>.asm is the source text for the package.


The Execute file uses the assembler Asm68k. 
If you want to use the Metacomco assembler (not included on the 
AmigaCOMAL diskette), you must after copying PackDevAsm, copy this
assembler into the c library on the new disk.
If the c library on the new disk now contains the assembler Assem,
a package source can be compiled into a finished package 
(which is placed in the Packages directory) by executing the command


     execute genpack1 <packagesource>

where <packagesource>.asm is the source text for the package.


The C development disk is created as follows: 

First, initialize a new diskette and name it PackDevC. 
Then copy the entire contents of the PackDevC library onto this disk by
issuing the command:

     copy ComalDev:PackDev/PackDevC to PackDevC: all

     copy AmigaCOMAL:Compiler/BLink to PackDevC:c

After this, you must copy your C compilers into the c library on the new
disk, your lib files (including LC.lib and Amiga.lib) into the Lib library
and your C header files (.h files) into the Include library. 
All of these copies can be done by first copying "copy" into RAM:, 
then changing to RAM: and then placing your Lattice C disk(s) into df0:

If you have Lattice C v. 3.03 now execute the commands:

     copy df0:c/LC1 to PackDevC:c
     copy df0:c/LC2 to PackDevC:c
     copy df0:Lib/LC.lib to PackDevC:Lib
     copy df0:Lib/Amiga.lib to PackDevC:Lib
     copy df0:Include to PackDevC:Include all

If you have Lattice C v. 5.0x, execute the commands:
 
     copy Lattice_C_5.0.1:c/lc1 to PackDevC:c
     copy Lattice_C_5.0.1:c/lc2 to PackDevC:c
     copy Lattice_C_5.0.1:c/lcerrs.txt to PackDevC:c
     copy Lattice_C_5.0.1:c/blink to PackDevC:c
     copy Lattice_C_5.0.2:Lib/LC.lib to PackDevC:Lib
     copy Lattice_C_5.0.2:Lib/Amiga.lib to PackDevC:Lib
     copy Lattice_C_5.0.2:CompactH to PackDevC:Include all
     assign lc: PackDevC:c
     assign lib: PackDevC:c
     assign include: PackDevC:c

Now a package source can be compiled into a finished package
(which is placed in the Packages directory) by executing the command:

     execute genpack3 <package source> (Lattice v. 3.03)
or
     execute genpack5 <package source> (Lattice v. 5.0x)

where <package source>.c is the source text for the package.


The AmigaCOMAL disk contains the assembler Asm68k and the linker Blink.
Both the assembler and the linker are "Public Domain" software. 

They are taken from AmigaLibDisk69 and AmigaLibDisk40 
(popularly called Fish disks), respectively. 

Documentation for these programs is available on the AmigaCOMAL disk. 
All of the manual's example assembler packages have been developed using
the Metacomco assembler, and it cannot be assumed that the listings in 
the manual can be used by other assemblers without minor modifications. 

However, the sources on the disk have been modified
so that they can be assembled by the Asm68k assembler provided. 

Enjoy your development!
