Mail Archives: djgpp/2000/12/08/11:16:07
I've compiled... programs where the makefile was set up for dos... and
changed it so it was able to compile with.. Borland C++ 5.5 but yeah whether
this is relevant or not.. ;)
Joshua "The Amateur" Haglund
lhaglund AT wiktel DOT com
----- Original Message -----
From: "Joshua Haglund" <lhaglund AT wiktel DOT com>
To: <djgpp AT delorie DOT com>
Sent: Friday, December 08, 2000 9:38 AM
Subject: Re: Porting DJGPP DPMI Apps-->Borland C++5.x
> 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 -