From: Martin Str|mberg Newsgroups: comp.os.msdos.djgpp Subject: Re: can we eliminate dpmi ? Date: Thu, 26 Jul 2001 10:36:05 +0000 (UTC) Organization: University of Lulea, Sweden Lines: 14 Message-ID: <996143765.466753@queeg.ludd.luth.se> References: <20010726101002 DOT 32519 DOT qmail AT mailweb15 DOT rediffmail DOT com> X-Trace: news.luth.se 996143765 8004 130.240.16.109 (26 Jul 2001 10:36:05 GMT) X-Complaints-To: abuse AT luth DOT se User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m)) Cache-Post-Path: queeg.ludd.luth.se!unknown AT father DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nilesh Modi wrote: : Hi, : I am making an embedded router , i have already made a protected mode program in assembly language program which receives and sends data packets in protected mode , but as routing logic is hard to implement in assembly lang. i will need to code it in c lang. , so i will need a 32 bit instructions exe generated from c , but it shouldn't use dpmi,or dos interrupts as my router will operate independent of os . : So can anyone guide me how can i do such thing with djgpp to say it not to use dpmi and generate pure bios functions using exe ? I'm not an expert but I think you _can't_ call the BIOS from protected mode as it requires real mode. Right, MartinS