[comp.sys.amiga] Starting up a process without a LoadSeg?

AXDRW%ALASKA.BITNET@cunyvm.cuny.edu (Don R. Withey) (05/01/89)

> In article <15103@gryphon.COM> keithd@gryphon.COM (Keith Doyle) writes:
>>And BTW, did anyone find any problems with Leo's method of starting
>>up a process without doing a LoadSeg?  If not, I plan to start doing
>>some experimentation in that area.
>>
>     Gee.  Someone who actually saw the code.  I was beginning to think
> everyone had ignored that one.
>
>     And BTW, it's Brian Witt's method; I just wrote the example.
>
> _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> Leo L. Schwab -- The Guy in The Cape    INET: well!ewhac@ucbvax.Berkeley.EDU

Was Leo's code posted on comp.sys.amiga or comp.sys.amiga.tech?  If it was I
must have missed it.  I would be very happy if someone could point me to where
I could get my hands on it to take a look.
        Don
axdrw@alaska.bitnet (Don R. Withey)

jms@tardis.Tymnet.COM (Joe Smith) (05/08/89)

In article <15103@gryphon.COM> keithd@gryphon.COM (Keith Doyle) writes:
>And BTW, did anyone find any problems with Leo's method of starting
>up a process without doing a LoadSeg?

Leo Schwab replies:
>     And BTW, it's Brian Witt's method; I just wrote the example.

In article <14338@louie.udel.EDU> AXDRW%ALASKA.BITNET@cunyvm.cuny.edu (Don R. Withey) writes:
>Was Leo's code posted on comp.sys.amiga or comp.sys.amiga.tech?  If it was I
>must have missed it.  I would be very happy if someone could point me to where
>I could get my hands on it to take a look. >axdrw@alaska.bitnet (Don R. Withey)

It's included in the _main.c routine that Leo hacked up to get robotroff to
work.  It can be found on Fred Fish disk number 59.

Given that Leo wanted robotroff's function to be a surprise, I can understand
why there are no comments in this code.  But now that this section of a cute
hack is becoming useful, I would appreciate it if Leo would repost the code,
WITH COMMENTS, so that we can learn from this genius's thought processes.
I've read the code, and the more I think I understand it the more I'm sure
that I'm missing something important.  Honest.

-- 
Joe Smith (408)922-6220 | jms@antares.Tymnet.COM or jms@tymix.Tymnet.COM
McDonnell Douglas FSCO  | UUCP: ...!{ames,pyramid}!oliveb!tymix!antares!jms
PO Box 49019, MS-D21    | PDP-10:JMS@F74.Tymnet.COM  CA license plate:"POPJ P,"
San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"

ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (05/10/89)

In article <111@tardis.Tymnet.COM> jms@tardis.Tymnet.COM (Joe Smith) writes:
>It's included in the _main.c routine that Leo hacked up to get robotroff to
>work.  It can be found on Fred Fish disk number 59.
>
>Given that Leo wanted robotroff's function to be a surprise, I can understand
>why there are no comments in this code.  But now that this section of a cute
>hack is becoming useful, I would appreciate it if Leo would repost the code,
>WITH COMMENTS, so that we can learn from this genius's thought processes.

	Well, it turns out that that's not my goodie, either.  It's Jim
Goodnow II's (author of the Manx C compiler).  I'm not entirely certain I
can go around distributing even a modified version of it.  (I'll ask the
next time I see him.)

	I tested 'Robotroff' on a Gamma version of 1.3 once, and it crashed
the system all the way back to Kickstart.  I don't know why it did this, but
that _main.c module has always been a wee bit suspect.

	If ever I get sufficient free time (ha!), I'll rewrite most of my
hacks to be more compatible with contemporary OS technology.

	I understand that, if you have Manx 3.6 or Lattice 5.0?, detatching
startup modules are provided.

>I've read the code, and the more I think I understand it the more I'm sure
>that I'm missing something important.  Honest.
>
	It's not *that* terrible, is it?  The only really icky part is where
he turns the SegList into a MemList and sticks it in the task structure.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	INET: well!ewhac@ucbvax.Berkeley.EDU
 \_ -_		Recumbent Bikes:	UUCP: pacbell > !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor