From: shd AT geocities DOT com (Steven Don) Newsgroups: comp.os.msdos.djgpp Subject: Re: can someone convert this small, humble, light weight voxel code to djgpp for me??? Date: 13 Nov 1997 10:50:54 GMT Organization: EuroNet Internet Lines: 29 Message-ID: <64em2e$52s@news.euro.net> References: <01bcec8a$80d7ce80$6c0da8c0 AT Gabriel DOT ncs DOT com DOT sg> NNTP-Posting-Host: breda05.pstn02.concepts.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , "Carolyn Kelly-Pajot" wrote: > >Gabriel wrote in message <01bcec8a$80d7ce80$6c0da8c0 AT Gabriel DOT ncs DOT com DOT sg>... >>hi there can someone please convert this >>small, humble, light weight, tc 3.0, voxel code to djgpp in svga for me??? >> >>Regards >> >>please reply to lord DOT gabriel AT rocketmail DOT com & kmyeo AT ncs DOT com DOT sg >> > >Things to do: >1) Get rid of every occurrence of the word FAR. >2) Put the assembly in quotes and make it the DJGPP format >3) Change farmalloc(a) to malloc(a) >4) The function MK_FP does not exist (line 198). [snip] > >This will make the program compile. I am still trying to figure out what makes >the fatal exception :) I'll tell you later, if I figure it out... *** I'm the original author of the code and I've already converted it (no more exceptions). The exceptions were caused by the fact that it was coded in real-mode and (implicitly) used segment wraparounds, causing a GPD in pmode. The DJGPP version of the voxels code (as well as the Pascal and standard C versions are available from my homepage). Regards, Steven Don http://www.geocities.com/SiliconValley/Heights/8574