Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!wrdis01!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!dewolfe From: dewolfe@ug.cs.dal.ca (Anarchy for Peace) Newsgroups: comp.graphics Subject: Re: Rayshade for DOS is here! (Achievement value only) Message-ID: <1991Apr16.151743.26262@cs.dal.ca> Date: 16 Apr 91 15:17:43 GMT References: <1991Apr16.121537.7023@topaz.ucq.edu.au> Sender: news@cs.dal.ca (USENET News) Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada Lines: 42 Nntp-Posting-Host: ug.cs.dal.ca In article <1991Apr16.121537.7023@topaz.ucq.edu.au> enzerinkp@topaz.ucq.edu.au writes: >Well folks, I have Rayshade compiling and linking successfully under DOS. >Now guess what? It doesn't run! As some people have pointed out, Rayshade needs >a LOT of memory. DOS is limited to 640k normally with extra memory available >but not readily accessable. (Expanded and entended memory) > >I assume that Rayshade can't find enough memory to even initialise itself, let >alone do anything. The program terminates with an: > >'abnormal program termination' error. > >I'm at a bit of a loss as to where to go from here. Could anyone tell me of >their experiences with memory problems on a UNIX platform so that I at least >have an idea of where I'm going. > >I here that some images require megabytes of memory to complete. What happens >if your machine doesn't have that much memory? > I have ported rayshade 4.0 to the Amiga and had no problems linking, compiling or whatever. However when I run it, I have to give it a HUGE stack. I run out of my default stack (4000) on even the simplest of the test images. I have even had to have it up around 800K for the mtv test image. So, what you might try doing is using the DOS stack command to set the stack higher. As for heap requirements, 640K will get you through some of the simpler stuff, but after setting your stack, you won't have anywhere that much left. I have a 4 Meg A3000, if that's any help. -- Colin DeWolfe dewolfe@ug.cs.dal.ca >Any coments greedily accepted! > >Regards Peter > >-- > Hello, Hello. What's going on here then? >^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^ >Peter Enzerink ENZERINKP@TOPAZ.UCQ.EDU.AU >University College of Central Queensland