From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: MSC/BC -> DJGPP Code Converter? Date: Wed, 08 Jan 1997 21:44:33 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 21 Message-ID: <32D484F8.6BED@cs.com> References: <5b120h$mp5$1 AT bashir DOT ici DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp107.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Carl Perry wrote: > > Does anyone know where I can get a program that will convert Microsoft > C or Borland C code to DJGPP while maintaning some usablility. > Specifically, I'm trying to get out all the nasty 16 near, far, > interrupt flags, and get inline ASM to work. Can anyone help? There is no program to do that, because so much of the conversion is context-sensitive and depends on what the code was originally trying to do. There is, however, a complete guide to converting 16-bit code to DJGPP in the DJGP FAQ (v2/faq202b.zip). Chapters 10, 17, and 18 have most of the gory details. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------