Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!ns-mx!piquet.cipl.uiowa.edu!wolf From: wolf@piquet.cipl.uiowa.edu (Michael J. Wolf) Newsgroups: comp.sys.mac.programmer Subject: Help with NewPtr(64K) needed Message-ID: <6608@ns-mx.uiowa.edu> Date: 22 Jun 91 20:07:07 GMT Sender: news@ns-mx.uiowa.edu Organization: Cardiovascular Image Processing Laboratory, U of Iowa Lines: 21 I am trying to allocate a pixmap which needs to be 64k bytes in size. When I do Newptr(64k) it will not return a ptr. I tried with 32k size pixmap but t will not return that as well. I am using Think Pascal 3.02 on a IIci with 8megs. 3Meg allocated to TP. I have set the Run otions zone size to 1Meg, Stack size to 64k. In my initialization I do MaxApplZone, then try to do the allocating of memory to various pixmaps and data structures. But it will not allocate a 64k or even 32k Ptr. It has worked previously on pixmap of 32k-128bytes. So just under 32k it is ok, but not over. Are Ptr's limited to 32k? I di not think they were. Any suggestions? Michael.