www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/13/11:20:24

Date: Mon, 13 Dec 93 10:23:07 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: peprbv AT cfa0 DOT harvard DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: calling a real-mode program

> How do I get values for some_segment and some_offset and make them point at
> something useful?

These values are normally returned from other real-mode calls.  For
example, some drivers have an int 0x2f that you do which returns a far
pointer to their regular API.  This pointer is a real-mode
segment:offset pointer.  These are the values that you pass to
_go32_dpmi_simulate_*.

These segment values are *not* protected-mode selector values.


- Raw text -


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