Author: Guido Schimmels
Date: 02:04:03 08/18/98
Go up one level in this thread
On August 17, 1998 at 11:14:21, Robert Hyatt wrote: >On August 17, 1998 at 09:21:02, William Dozier wrote: > >>Dear Robert: Question:1 Why all versions of crafty 14 work, with no >>moedification for memory? And again version 15 wont work, no matter what >>modifacation that i make in memory. So why do one work, and the other doesnt? >>May i have some info on who is running all versions of craftt 15 on the Mac >>Powepc, and what problems they encountered running this version; and how they >>solve the problem. Thank You Robert. >> >> Respectfully/William > > >The main difference is that in version 14, all the state-space memory was >statically allocated. In version 15, all the state-space memory is allocated >via malloc() at startup. The memory requirements are no different between >the two versions, but perhaps the C compiler or MacOS is having problems >with the initialization malloc() calls to set up the search data space... Yes, when I was programming for the mac, I *did* have some trouble with C-library function calls with my otherwise good Symantec C-compiler. I had to replace the malloc() with NewPtr() calls. open() caused problems as well. These functions are rarely used by mac-programmers, thus compiler-writers might not spend much time on the C-library in their mac-implementations. Steven Edwards SAN-kit also crashes badly with this compiler, which is another strong indication something must be wrong with the C-library. These experiences are from years ago with my 68K-mac, but it looks these problems have carried over to the PPC generation, zzz,zzz,zzz... I would recommend try and replacing malloc() with NewPtr(), which can be done quickly. Let me hear if it works ! - Guido -
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.