***************************************************************************** * BM2Detach--A CLI Detaching Version of System Startup Code * ***************************************************************************** * System.asm * * Copyright (c) 1986, 1987, 1988 by Avant-Garde Software and Leon Frenkel * * * * Assembly CLI detach code & optimizations * * Copyright 1991 Anthon Pang (Internet: a665@mindlink.bc.ca, BIX: apang) * * * * Version: 1.0 Released: 1991.08.03 * * * * Distribution: Freely Redistributable * * Intended for: users of Avant-Garde Software's Benchmark Modula-2 * ***************************************************************************** What is it? BM2Detach allows Benchmark Modula-2 programs to run in the background (without using RUN). The process is detached from the CLI, but the CLI window remains open until the process exits. BM2Detach replaces your existing existing System.OBM at link time. (I don't recommend overwriting your original--there may be a time when you _don't_ want your program to detach from the CLI.) What do you get? This archive contains: BM2Detach.readme -- This readme file BM2Detach.tech -- Technical notes m2l/Detach.obm -- CLI detaching startup code m2l/System.obm -- Optimized (compatible) version of System.obm src/System.def -- Softcopy of pp 32-172 & 32-173 (from manual) src/System.asm -- Metacomco/A68k compatible assembler source code m2/a68k_m2lib.i -- Alternate assembler include file m2/mylib.i -- General assembler macro package How do you use BM2Detach? Simply copy Detach.OBM _to_ your current working directory (not M2L:) _as_ System.OBM, so that the linker uses it instead of the normal one in M2L:. Link as you normally would--the linker will search the current working directory before M2L: for object files. The final executable should detach from CLI when run. How do you recompile it? In addition to the included files, you will need the following files from your Benchmark M2 package: AsmInterface/System_Map.i Tools/M2GenObm Also, you'll require an assembler & a linker. I recommend you get Charlie Gibb's A68K v2.71, and Software Distillery's BLink v6.7. Also, see "system.i" for additional info. Select a working directory...eg RAM: (cd RAM:) Copy System.SBM to your working directory (copy M2L:System.SBM RAM:) Assemble System.asm (A68k System.asm ; produces System.o) Link the object code (BLink System.o to System.cod) Convert to .OBM (M2GenObm System) Save System.OBM for later use (copy System.OBM M2L:Detach.OBM) The world of Modula-2 for the Amiga: Subscribe to the Amiga M2 mailing list (amiga-m2-request@virginia.EDU) being administrated by Tom Breeden (tmb@davinci.acc.virginia.edu). Check out the ftp archives on ab20.larc.nasa.gov. Look in the path /amiga/languages/modula2 for the subdirectories: modula2_benchmark and modula2_benchmarknew. And don't forget to use BINARY mode for file transfers. There is also a Usenet group (comp.lang.modula2) and a Fidonet echo that discuss M2. Note: these are not Amiga specific. Avant-Garde/Leon Frenkel can be reached on Compuserve as 76004,2002 and via UUCP/Internet email as 76004.2002@compuserve.com (through CI$'s Internet gateway). - EOF -