From: Luca Newsgroups: comp.os.msdos.djgpp Subject: Is it possible? Date: Thu, 26 Nov 1998 13:53:03 +0100 Organization: Universita' di Pisa Lines: 13 Message-ID: NNTP-Posting-Host: galadriel.sssup.it Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello everyone; I have the following problem: I need to mix some 32 bit PM code with some 16 bit RM code (to do real mode interrupt reflection without using DPMI). Is it possible to write the Real-Mode code in C and compile it using DJGPP? I already have the asm routine to switch to real mode (and back to protect mode), but I don't know how to write the 16 bit code (and link it with the 32 bit code!). Thanks in advance, Luca