🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.amiga
Article #4922

Easy fix to fexecv compatibility problems.

#4922
From: Matt Dillon
Date: Mon, 13 Oct 1986 23:07
12 lines
1054 bytes
	There is one place in the code for Manx's fexecv where they try to
get the BCPL enviroment (I think that is what broke).  I like my solution
to the problem better:	Simply save the startup enviroment when you start
up.  That is, the first instruction in the startup object module should be:

	movem.l	D0-D7/A0-A6,_Startup_Regs

	Or something like that.  Then, when you need specific BCPL stuff,
just look at _Startup_Regs instead of meandering through DOS.

					-Matt
Technical Details
Message-ID: <8610132307.AA10388@cory.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon
From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
Newsgroups: net.micro.amiga
Subject: Easy fix to fexecv compatibility problems.
Message-ID: <8610132307.AA10388@cory.Berkeley.EDU>
Date: Mon, 13-Oct-86 19:07:08 EDT
Article-I.D.: cory.8610132307.AA10388
Posted: Mon Oct 13 19:07:08 1986
Date-Received: Tue, 14-Oct-86 07:27:44 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: University of California at Berkeley
Lines: 12