From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) Newsgroups: comp.os.msdos.djgpp Subject: Re: Calling real mode far procedures Date: Sun, 29 Dec 1996 16:11:07 GMT Organization: Southwest Missouri State University Lines: 15 Message-ID: <32c696ce.7190251@ursa.smsu.edu> References: <32c67f4b DOT 1170160 AT ursa DOT smsu DOT edu> NNTP-Posting-Host: forseti.i31.smsu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >segment overrides or such, I might be able to move the real mode code >into my PM code-space, convert the real mode code to PM instructions >at startup, and call it directly as a C function. This would make the I just disassembled my video bios' bank swap code. It was a mess of subroutine calls that would have required a bunch of dynamic relocations to convert it to a sequential stream of protected mode instructions, and I don't want to go through that much trouble for speed's sake just yet. I wrote a little function to test the speed of the bank swap interrupt under __dpmi_int(), and it seems tolerable enough to work with for the time being. Thanks to all who replied.