Date: Thu, 5 Aug 1993 13:39 EST From: "Wonkoo Kim, EE, U. of Pittsburgh" Subject: a program locked the system To: akrause AT saturn DOT SDSU DOT EDU, djgpp AT sun DOT soe DOT clarkson DOT EDU >Date: Wed, 4 Aug 93 23:06:09 PDT >From: akrause AT saturn DOT SDSU DOT EDU (Alan Krause) > > Ack! My program is locking up my computer so that only a hardware reset will >get me back to the command line. The source follows. To compile, type: > gcc prog.c -o prog -lgrx -lm > > You need not use the grx library, it will do the same thing with the regular >gr library as well. > The commands are: (i) - move up > (k) - " " down > (j) - turn left > (l) - turn right > > To crash the program, try rotating in one direction by holding down the >(j) or (l) keys. That oughtta do the trick. >..... On my system, there was no problem with your program.(for both cases of -lgr and -lgrx) I am using the standard distribution of djgpp 1.10 and go32 1.10a from pub/csdpmit1.zip and *.grn drivers and libgrx.a from pub/grxdrvb1.zip. Please check your versions your are using. If versions are the same as mine, I guess the problem might be in somewhere else other than djgpp. (possibly, memory conflict with memory manager and graphics board??....) Regards, Wonkoo.