Date: Sun, 12 Dec 93 16:09:43 EST From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: calling a real-mode program I must be missing something. I want to call a real-mode program to issue some DOS calls which are not supported by GO32 1.11. I'm already doing this using the Ergo DPM-16 extender. In that environment, I need a DEF file to tell the linker about the DLL which is to be loaded. Everything I do looks like it translates into an equivalent go32 call, but I can't figure out how to actually load the program and find out where it is loaded. The docs show an example: r.x.cs = some_segment; r.x.ip = some_offset; r.x.ss = r.x.sp = 0; _go32_simulate_fcall(&r); How do I get values for some_segment and some_offset and make them point at something useful?