Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!styx!ames!ucbcad!ucbvax!COGSCI.BERKELEY.EDU!bryce From: bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) Newsgroups: comp.sys.amiga Subject: Re: Message ports in 68000 Message-ID: <8704280815.AA22323@cogsci.berkeley.edu> Date: Tue, 28-Apr-87 04:15:12 EDT Article-I.D.: cogsci.8704280815.AA22323 Posted: Tue Apr 28 04:15:12 1987 Date-Received: Wed, 29-Apr-87 05:38:33 EDT References: <8704260218.AA05317@cogsci.berkeley.edu> <1764@cbmvax.cbmvax.cbm.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: cogsci.berkeley.edu!bryce@cogsci.berkeley.edu (Bryce Nesbitt) Organization: University of California, Berkeley Lines: 24 Keywords: 68000 Message ports Summary: Why it's ok. Example code in comp.sources In article <1764@cbmvax.cbmvax.cbm.UUCP> phillip@cbmvax.cbm.UUCP (Phillip Lindsay CATS) writes: >in article <8704260218.AA05317@cogsci.berkeley.edu>, bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) says: >> >> Some time after writting a complete hyper-tiny replacment for [exec_support] ^^^^^ >> - move.l 4,a6 [;hyper cheap msg port create] >> - suba.l a1,a1 >> - jsr _LVOFindTask(a6) >> - add.l #pr_MsgPort,d0 > >NO!!! > In almost every call you make to DOS *that* port is used. > >BTW, What happens if a TASK wants to create a port with your exec_support code? Sorry that it was not clear that ->THIS<- was the experiment and the exec_support clone "rolls it's own" as is good and proper. This was tried only in an experimental program that fires packets directly at DOS (rather than calling the usual stubs). It assumes far too much for general use, however since this was guaranteed a process, was doing the DOS work and was only a exploratory test probe never to leave even the security of VD0: no danger was involved. The several persons asked for the *real* thing, and that has been posted to comp.sources.amiga.