Path: utzoo!attcan!uunet!convex!texsun!pitstop!sun!amdcad!ames!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!jensen From: jensen@sun.soe.clarkson.edu (Jim Jensen) Newsgroups: comp.ai.neural-nets Subject: PDP source compiled in TurboC Message-ID: Date: 19 Mar 89 22:01:53 GMT Sender: news@sun.soe.clarkson.edu Distribution: na Organization: Clarkson University, Postdam NY Lines: 26 I am looking for some ideas on why I can't get the simulation programs from volume III of the PDP books (version 1.1 in main.c) to compile and work under TurboC version 2.0. I am most interested in the bp.c simulations, although it seems that the problem will occur in any of the simulations. Specifically, after compiling, which works after commenting out the int_handler() function in general.c, and running the program as: > bp xor.tem xor.str I get an out of memory error (I believe it came from the function char *emalloc(); in general.c, called from init_command()). Has anyone tried to do this and figured out a solution? Or does anyone have any suggestions? It seems that turboc is malloc'ing differently, or returning a different type of pointer than Microsoft C does. I have successfully compiled and run the bp program under Microsoft C, with the medium memory model, and am trying to use the huge memory model in turboc. Thanks for any help.... Jim -- jensen@sun.soe.clarkson.edu (internet) jensenje@clutx (bitnet) (315) 268-6591