Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!mcsun!hp4nl!dutrun!hans From: hans@duttnph.tudelft.nl (Hans Buurman) Newsgroups: comp.sys.atari.st Subject: Malloc on 2.5 Meg 1040stf - help needed Summary: gemdos bug ? Message-ID: <1055@dutrun.UUCP> Date: 23 Dec 89 00:25:56 GMT Sender: tnphnws@dutrun.UUCP Reply-To: hans@duttnph.UUCP (Hans Buurman) Organization: Delft University of Technology, The Netherlands Lines: 26 I think I'll need help on this one... I recently upgraded my 1040 stf to 2.5 Mb using a kit by Weide (although this is not a hardware problem). I found that one of the programs I use intensively (turbo c linker) won't make full use of the extra memory. The reason is the following: This linker uses gemdos call 0x48 (Malloc) at least twice for each file read. It appears that this call can only be issued some 300 times, after which it fails, regardless of the amount of free memory. This problem does not occur on a Mega ST ! Maybe it is only present in early gemdos versions ? (I bought the 1040stf in March, 1987). Right now, my workaround is to link from the desktop, without ramdisk, turbodos, etc. I'm cooperating in a large project, so I really could use a solution. Can anybody help me ? Anyway, merry Chistmas everybody ! Hans ======================================================================== Hans Buurman | hans@duttnph.tudelft.nl | hans@duttnph.UUCP Pattern Recognition Group | 31-(0)15-78 46 94 | Faculty of Applied Physics | Delft University of Technology