The file called EALstartup.asm is not actually supplied by Electronic Arts, but
is instead a modified version of the Lstartup.asm provided on the Amiga C disk.

The modifications consist of bypassing the reference to "__main" which is
produced by compiling the Amiga C version of _main.c.


The way showilbm.c is written, it won't run from workbench without the changes
that were made to create EALstartup.asm.   When linked with Lstartup.obj
(from Lstartup.asm) the program runs fine if called from CLI, but if called
from Workbench, opens and closes the debug window, then flashes the screen.
If linked with EALstartup.obj (from EALstartup.asm), it runs either from
Workbench or from CLI.



*** Commodore-Amiga has modified the source.files/showilbm.c to allow it to
be linked with the STANDARD Lstartup.obj found on the Amiga C disk.  If
compiled without using -dTINY, it allows the status information, if any,
to be redirected to the little window that the Lattice startup code
automatically opens in the workbench.   The lines that change are:

   added a line:

      extern struct WBStartup *WBBenchMsg;

   changed a line:

      from:     wbStartup = (struct WBStartup *)argv;
      to:       wbStartup = WBenchMsg;

   changed references from PrintS to printf throughout.


Rob Peck
