dlarson@blake.acs.washington.edu (Dale Larson) (08/19/89)
/* Go ahead, eat this line... */ I am trying to load and start a process to run concurently with the parent process. The problem is that I keep getting visits from the guru when I try the CreateProc. Below are two VERY short programs that I am compiling with Aztec 3.6a. The first is supposed to load and start the second which is just supposed to send some junk to my debug terminal. -------------- /* Program 1 */ #include <libraries/dos.h> main() { LONG newseg; if ( (newseg = LoadSeg("test")) != 0L) { printf ("Successfully loaded segment to %ld.\n", newseg); if ( (CreateProc("mytest", 0L, newseg, 4000L) ) != 0L) { puts("Successfully CreateProc'ed"); /* Yeah, I realize that this loses some memory and that at some point in the future I would need to UnLoadSeg */ } else { puts("failed CreateProc."); UnLoadSeg(newseg); puts("unloaded."); } } else { puts("failed LoadSeg."); } } ------------------- /* program 2 */ #include <libraries/dos.h> main() { KPutStr ("I was here..."); Delay(500L); KPutStr ("But now I'm leaving!"); } --------------------- Pray tell, to what depths of stupidity have I fallen this time? -- dTb dTb I know enough about epistemology to know that I don't know anything about programming OR epistemology! Digital Teddy Bear dlarson@blake.acs.washington.edu
rtczegledi@crocus.waterloo.edu (Richard Czegledi) (08/20/89)
Hi ho! did you say terminal? Maybe then you know how to enter the ROM Wack? I have a vintage 1000, a televideo term (set at 9600 8n1) usualy attached to my miga, and once, during a routine guru or something, my terminal came alive with the wonders of wack. Shortly after depressing a few buttons on Mr. T. Terminal, the machine decided to GURU anyway. I seem to recall reviewing a passage in the old (1.1 ugh ugh ughhh) rkm's, but I can't seem to find it again. Maybe I lost that book. I have the purple hardware, the green intuition, and the orange rom one at present. I probably 'lent' it to someone forever without my concious mind realizing it. Anyway, could you give me the bootblock sized synopsis on what wonderous things the whacky wack will do for me? I know this message seems to be in WizOoZ speak, but hey?