delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/01/10:16:03

Message-ID: <381DA675.A615188@maths.unine.ch>
Date: Mon, 01 Nov 1999 15:40:54 +0100
From: Gautier <Gautier DOT deMontmollin AT maths DOT unine DOT ch>
X-Mailer: Mozilla 4.51 (Macintosh; I; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
CC: "David C. Hoos, Sr." <david DOT c DOT hoos DOT sr AT ada95 DOT com>
Subject: Re: Using Micro$oft libraries in dgpp programs
References: <7vk3vj$lrl$1 AT hobbes2 DOT crc DOT com>
NNTP-Posting-Host: mac13-42.unine.ch
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello!

Mmmh it mainly depends on 16 bit or 32 bit (DJGPP is furiously
32-bit). If you are using DJGPP GNAT/DOS and only have
16-bit sources/object files, you'll better have to translate
into Ada (with inline assembler if needed to avoid makefile and so).
On DJGPP the 16-bit stuff, e.g. calls to DOS, acess to conv. mem.,
is passed through the DPMI interface with special calls.
The strategy to adopt depends on the size of your libraries.

Hopefully all that has been programmed by Jerry van Dijk.
You'll find implementations for mouse, timer interrupt,
multiplexed keyboard in the archive of my 3D demo
  http://members.xoom.com/gdemont/e3d/eng3d007.zip
( page http://members.xoom.com/gdemont/e3d.htm )

> As still another alternative, is there a decent serial
> communication library for djgpp?

Surely - e.g. for networked games (someone ?...).
In fact there is something for GNAT/DOS in that area
but maybe proprietary. Follow-up by e-mail...

Gautier

- Raw text -


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