X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using DJGPP for C++ DOS development today? Date: Thu, 28 Nov 2013 06:56:04 -0500 Organization: Aioe.org NNTP Server Lines: 37 Message-ID: References: <0404a92b-e194-4e75-97b5-58c8e5b3c076 AT googlegroups DOT com> <52957941 DOT 9050203 AT iki DOT fi> <57ae09cc-bc48-4dcf-978d-9078096b2127 AT googlegroups DOT com> <82676ab0-7e81-4b89-bc7a-e3360d6c3b93 AT googlegroups DOT com> NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Bytes: 2274 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 28 Nov 2013 04:34:05 -0500, John Davidson wrote: > Rod Pemberton wrote: >> An alternate solution might be instruction emulation. > > Thanks, didn't think about that! It sounds like a fragile solution > though; wouldn't there be problems with switching in and out of > protected mode? (man, I never thought I'd ever say that again!) > > Surely something as basic as the xadd or cmpxchg instruction must be > used by every other function if it was enabled during compilation, so > opcode emulation would be a big performance hit? > > Or do I just write the 486 emulation myself in DJGPP? I can't remember > all this DOS interrupt business. I guess I'll have some catching up to > do. And stocking up, on aspirin... I would assume the answer to all three questions is: "likely" ... :-) You could also search and ask on Vogons and "DOS Ain't Dead" forums: DOS Ain't Dead http://www.bttr-software.de/forum/forum.php Vogons http://www.vogons.org/ Otherwise, if emulation becomes the primary option, I may have to post links to all the old DOS websites so you can comb through them... Why are you using a 386 anyway? Or, can you upgrade slightly? Seriously, spending money is the easiest solution. Rod Pemberton