Subject: Re: new ADBTEST kernel available
To: Taras Ivanenko <ivanenko@ctpa03.mit.edu>
From: John P. Wittkoski <jpw@netscape.com>
List: port-mac68k
Date: 10/02/1996 10:55:06
Taras Ivanenko wrote:

> I look at a web page on www.netbsd.com and saw that the status of
> ADBTEST kernels on Mac IIcx is not known exactly. Well, I tried it on
> my Mac, it works (no surprise).

Cool. Thanks for the update.

> More interesting question: what is left of MRG stuff in ADBTEST/intvid
> kernel? Are all those traps and global variables and obscure regions
> of memory used by anything else but ADB and video drivers?

Well, most of the MRG code still is in the ADBTEST kernels.

All the code that sets up the MRG hook routines and the setting up of
most of the global variables still happens. The MRG hooks for the
ADB routines (ADBReInit, ADBOp, etc) are removed, of course, so 
that my ADB routines are called instead.

In short, the MRG code itself will still function if you call
non-ADB routines that have been defined in the MRG setup. For
example, if you put a NewPtr call in your code, it will be trapped
via the MRG code and get translated into a malloc call.

	--John