Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!uflorida!sun.ufnet.ufl.edu!misterx
From: misterx@sun.ufnet.ufl.edu ( )
Newsgroups: comp.sys.amiga.tech
Subject: MultiTasking HELP! Please...
Message-ID: <20974@uflorida.cis.ufl.EDU>
Date: 2 Oct 89 15:55:47 GMT
Sender: news@uflorida.cis.ufl.EDU
Reply-To: misterx@sun ( )
Organization: UFNET
Lines: 30


Hello multi-tasking GURUs,

	I have some questions about startup code, processes, and tasks
that I hope someone out there can answer!

1.	What is the correct sequence of events for starting a process?
I have come up with LoadSeg the program, CreateProc it and it should
go,go,go!  But it doesn't.  I think I have a problem with the startup
code provided (in my case) by Lattice.  This leads to question 2.
2.	What is necessary in the startup code for a process started by
another process?  Do tasks need startup code?  What I mean by startup
code is the absolute minimum needed for a process (or task) to store
whatever info it needs from the parent (or whereever) so that it doesn't
munge up.
3.	What is the correct sequence of events for starting a task?  Can
a task be LoadSeg()ed in by a process?  I looked at Matt Dillon's
many-task example (written in Aztec C) and was completely baffled by his
loading of the A4 (?) register.  Why is he saving A4?  Must I always save
A4 in all my tasks?  Is Dan Quayle really VP?
Any pointers to commented source code, english language descriptions, underground
newspapers, or a good resturant welcome; as always, I will summarize the
responses.

Thanks!

--
"Hey Wang, any of these guys savvy English?"
UUCP: ...!gatech!uflorida!sun.ufnet.ufl.edu!misterx  
Internet: misterx@sun.ufnet.ufl.edu | vishnu@pine.circa.ufl.edu