Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!purdue!decwrl!shelby!Portia!Jessica!rdsesq From: rdsesq@Jessica.stanford.edu (Rob Snevely) Newsgroups: comp.sys.mac.programmer Subject: MPW to LSP sample file conversion Message-ID: <564@Portia.Stanford.EDU> Date: 1 Mar 89 06:50:47 GMT References: <532@Portia.Stanford.EDU> <2642@pegasus.ATT.COM> Sender: USENET News System Reply-To: rdsesq@Jessica.stanford.edu (Rob Snevely) Organization: Stanford University Lines: 23 Hello All, Does anybody know what the segment _DataInit does in MPW. I am trying t convertone of Apple's sample programs, Sample (the one that does the traffic light) from MPW to LSP. When I remove the procedure _DataInit; External; and remove the only reference to it UnloadSeg(@_DataInit). It bombs bad. 1: id 28 dsStknHeap "Stack has moved into application heap" which bombs LSP. Or 2: Won't call the first part of the program and locks my machine tight, I can't even hit the interuppt switch to get into macsbug. Of course if I don't remove these sections it gives a link error. Of course if anybody has already converted this sample program to LSP, I would greatly appreciate it if you could mail me a copy of the LSP source. Many thanx in advance, and please e-mail if you don't think it would be of interest to the net. Again, Many thanx in advance. rob snevely rdsesq@jessica.stanford.edu