Date: Mon, 13 Oct 1997 15:18:57 +0200 (IST) From: Eli Zaretskii To: "Gurunandan R. Bhat" cc: Leath Muller , firewind , djgpp AT delorie DOT com Subject: Re: DJGPP+Allegro: Porting from DOS to Linux. Easy or Hard!?! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 12 Oct 1997, Gurunandan R. Bhat wrote: > Isn't it the _stub_ that does the rm -> pm switch. I always thought that > the DPMI host makes DPMI services available via INT 31H in much the way > that DOS makes DOS services available via INT 21H. It's both, actually. The DPMI host provides a function to switch the CPU into protected mode. The stub *calls* this function to do the switch. The DPMI host then actually switches the CPU into PM by using whatever low-level support it has available (VCPI, XMS, etc.) from installed memory manager (EMM386, QEMM, HIMEM...).