From: foggy AT flashnet DOT KILLTHIS DOT it (Fogbank) Newsgroups: comp.os.msdos.djgpp Subject: Re: VESA 1.2 banked - How do I call a far pointer function in DJGPP? Date: Wed, 28 Oct 1998 17:45:43 GMT Organization: Customer of Flashnet S.p.A. - http://www.flashnet.it Lines: 12 Message-ID: <3637572a.9616450@news.flashnet.it> References: NNTP-Posting-Host: ppp-2.bo.flashnet.it X-Trace: news.flashnet.it 909596412 7146 194.247.164.82 (28 Oct 1998 17:40:12 GMT) X-Complaints-To: abuse AT flashnet DOT it NNTP-Posting-Date: 28 Oct 1998 17:40:12 GMT X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 27 Oct 1998 22:58:51 -0500, "Jonathan Villani" wrote: >I am currently porting my graphic library from Borland C to DJGPP and I >would like to know how to call a far pointer function in DJGPP. The solution to your problem should be the __dpmi_simulate_real_mode_procedure_retf() function. I've never used it, so it may not. It's very slow anyway because of the switch pm->rm->pm. You don't gain as much as you used to in real mode.