www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/29/11:58:56

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: <Pine DOT SUN DOT 3 DOT 91 DOT 961229092751 DOT 10388P-100000 AT is> <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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019