delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/08/10:41:37

Message-ID: <00d801c0612d$0896d860$4a13ddcc@default>
From: "Joshua Haglund" <lhaglund AT wiktel DOT com>
To: <djgpp AT delorie DOT com>
References: <3A302D69 DOT 8020107 AT home DOT com> <3A30F667 DOT F161CE76 AT notifier-is DOT net>
Subject: Re: Porting DJGPP DPMI Apps-->Borland C++5.x
Date: Fri, 8 Dec 2000 09:38:41 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp AT delorie DOT com

I haven't been able to produce any dos programs for 5.5..

Other than that... Have a nice day.

8^)
Joshua Haglund
lhaglund AT wiktel DOT com

----- Original Message -----
From: "david lindauer" <dlindauer AT notifier-is DOT net>
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Friday, December 08, 2000 8:55 AM
Subject: Re: Porting DJGPP DPMI Apps-->Borland C++5.x


> hi,
>
> there are two problems; first is that BC5.02 does not come set up to
create
> 32-bit DOS programs (although you may be able to coerce it).  Version 5.5
that
> is freely available on the borland site probably will not create DOS
programs
> at all.
>
> Second is that the borland DPMI setup is Version 1.0 DPMI, whereas all
other
> existing DPMI setups are Version 0.9.  I believe there are documents about
> this on ftp://x2ftp.oulu.fi.
>
> Bear in mind that borland implementations pretend they are windows
programs;
> there is a DLL that acts like kernel32 with regards to console mode
functions
> but not
> GUI functions.  Eventually it all boils down to a DPMI call though when
the
> compiler is loaded under DOS.
>
> David
>
> Russ Magee wrote:
>
> > Hi all,
> >
> > I'm an Instructional Assistant at my local college who's been asked by
> > a prof to evaluate porting a curriculum in systems programming from
> > DJGPP to Borland C++ 5.xx (mostly because of better integration with
> > Borland's TASM and TDEBUG).
> >
> > All the code examples for assignments use DJGPP with the DPMI interface,
> > and we're wondering if it's feasible to port these to Borland C.
(Students
> > will only have to compile DOS apps, no Win32 stuff.)
> >
> > Is this going to be a problem? My (limited) understanding is that DPMI
is
> > just an API for accessing DOS calls from protected mode. What changes,
> > visible at the C-language level, will typically have to be made to make
> > a DJGPP/DPMI app compile in Borland C?
> >
> > Specifically, setting up registers, pointer declarations, data struct
size
> > limits...
> >
> > (This didn't look to be covered in the FAQ; if it was, my apologies for
> > missing it. I'm a 68000 hack, this x86 stuff is pretty foreign to me.)
> >
> > Thanks,
> > -Russ
>

- Raw text -


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