From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Watcom vs djgpp Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <5337D585DDD3D111996B0008C728F07DA42A4B AT pa00fsr01 DOT pa DOT atitech DOT com> <200007210832 DOT KAA07828 AT mailgw3 DOT netvision DOT net DOT il> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 39 X-Trace: /b/VKWJ26WEljmv9uBCB7os60h6lEwvYoQQacRAkLKilkLtBrIPRCb8SDctLLkXWlAfwUj51OMJe!1re4PZlh6AHJmSUU5QvMbvkiQkLOJuG2HDcJwexX1s/yxadX8nHnjZqDK843Wo1UwqRVikcXc5iX!EiqQ X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 21 Jul 2000 16:00:45 GMT Distribution: world Date: Fri, 21 Jul 2000 16:00:45 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 21 Jul 2000 11:32:16 +0200, "Eli Zaretskii" wrote: >> From: Nick DiToro >> Date: Thu, 20 Jul 2000 20:10:30 -0400 >> >> 1) How tough is it to port Watcom code? > >It depends. Some factors that might matter: > > - does the source use inline assembly? Don't the latest GCC and Binutils support Intel syntax? > - how much of the source accesses memory-mapped hardware by using an > absolute address, like this: > > char *video = (char *)0xa00000; In that case, look at the Allegro sources to see an example of how to do it right. > - how much of the code calls real-mode interrupts through int86 or > int386 and their ilk, and expects them to transparently support > buffers in protected-mode memory? __dpmi_int() > - does the code install interrupt handlers? Again, the Allegro sources have useful examples. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/