From: "Pieter van Ginkel" To: Subject: DPMI ??? Date: Mon, 23 Feb 1998 17:56:16 +0100 Message-ID: <01bd407b$f4a8cc20$LocalHost@PIETER> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0051_01BD4084.566D3420" Precedence: bulk Dit is een meerdelig bericht in MIME-indeling. ------=_NextPart_000_0051_01BD4084.566D3420 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm deseret for using the dpmi functions in my new program, but I can't = find a example of how to do it. I've tried it a little myself, but then I = tried it, I got a SIGSEGV, so I've probably done something wrong. Could = someone give me a simple (or more suphisticated) program that I can use to learn = how to use dpmi. I was thinking of something like this: void main( void ) { char * dummy =3D malloc( 81 ); strcpy( dummy, "Hello world!" ); cprintf( dummy ); free( dummy ); } But than with use of __dpmi_allocate_memory and other routines. If you = have something that uses this way of allocating memory, but it's not at oll = like this, also please send it to me. If you'd like, please send it to pginkel AT westbrabant DOT net . Thanks, Pieter van Ginkel, The Netherlands. ------=_NextPart_000_0051_01BD4084.566D3420 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm deseret for using the dpmi functions in my new program, but I = can't=20 find
a example of how to do it. I've tried it a little myself, but = then I=20 tried
it, I got a SIGSEGV, so I've probably done something wrong. = Could=20 someone
give me a simple (or more suphisticated) program that I can = use to=20 learn how
to use dpmi. I was thinking of something like = this:

void=20 main( void )
{
char * dummy =3D malloc( 81 );
strcpy( dummy, = "Hello=20 world!" );
cprintf( dummy );
free( dummy );
}

But = than with=20 use of __dpmi_allocate_memory and other routines. If you = have
something that=20 uses this way of allocating memory, but it's not at oll like
this, = also=20 please send it to me.

If you'd like, please send it to pginkel AT westbrabant DOT net=20 .

Thanks,

Pieter van Ginkel, The=20 Netherlands.

 
------=_NextPart_000_0051_01BD4084.566D3420--