Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland C++ 4.0 -> 32 bit for DOS

160 views
Skip to first unread message

Wladimir van der Laan

unread,
Apr 22, 1996, 3:00:00 AM4/22/96
to
Is there any patch available that makes it possible to write 32-bit
programs for DOS in BC++ 4.0?

Wladimir


JJ Keijser

unread,
Apr 23, 1996, 3:00:00 AM4/23/96
to
In article <4lgqlo$2...@altrade.nijmegen.inter.nl.net>,

Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:
>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?
>

Yup, checkout x2ftp.oulu.fi:/pub/msdos/programming/misc/borlan32.zip.

HTH,

JJ


----------------------------------------------------------
Jan Just (JJ) Keijser
SMTP: j...@lbvrtda.logica.com
X400: C=3DGB A=3DATTMAIL P=3DLogica O=3DLBV OU1=3DLBVRTDA S=3DJJK
I prefer clear blue skies over a bunch of clouds any day
My views are my own...
flames > /dev/null 2>&1
----------------------------------------------------------

Nigel Tamplin

unread,
Apr 23, 1996, 3:00:00 AM4/23/96
to
Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:

>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?

>Wladimir

I dont know about a patch, but I have BC++ 4.51 and use bcc32 set to generate
assembly ouput, then I use a program I wrote to add segment names to the asm
ouput where applicable, then I compile this with TASM and link with a dos
extender based on Tran's pmode. 32bit C++ for DOS.


Joel Rubin

unread,
Apr 23, 1996, 3:00:00 AM4/23/96
to
says...

>
>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?
>
>Wladimir
>
I believe that they sell a "PowerPack for DOS" which includes a DOS extender.
It also includes Turbovision (GUI interface) which, I believe, was dropped from
BC 4. I don't know if the current version of Powerpack works with 4.0. I
believe the earliest version required BC 4.02. (free upgrade from 4.0)
--
*******
WARNING
*******
The following lines violate the indecency provisions of the U.S.
Telecommunications Act of 1996:
Henry Hyde
James Exon
Slade Gorton.
William Clinton


Noggin the Nog

unread,
Apr 24, 1996, 3:00:00 AM4/24/96
to
nigel....@gconnect.com (Nigel Tamplin) wrote:


>I dont know about a patch, but I have BC++ 4.51 and use bcc32 set to generate
>assembly ouput, then I use a program I wrote to add segment names to the asm
>ouput where applicable, then I compile this with TASM and link with a dos
>extender based on Tran's pmode. 32bit C++ for DOS.

This approach is exactly what I do, and apart from the segment name
manipulation trick, it works with no problems at all.

Though I do remember wasting a couple of days last year when trying to
link a BCC32 produced OBJ with a MASM5 produced OBJ to make a windows
VxD. The top 16 bits of the 32 bit relocation records were always
0000, which was why I had to use the intermediate .ASM file. After
initially denying any problem existed, the Borland Gold support line
'confessed' they were looking at making their OBJ output more
compatable with Microsofts.

Interesting enough, I did download the OBJ spec from Compuserve one
time, and the introduction notes explained that the OBJ format and
record types had almost taken on a life of their own and had been
expanded by differant groups (basic/C/fortran etc) without the
existance of a true standard, which I believe they've now addressed.

Regards,
Tony.


Christopher HILL

unread,
Apr 25, 1996, 3:00:00 AM4/25/96
to
In article <4lgqlo$2...@altrade.nijmegen.inter.nl.net>, Wladimir van der

Laan wrote:
>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?

Borland sells their PowerPack for DOS which allows you to write both 16-bit
and 32-bit protected-mode DOS programs. The 32-bit DOS extender is more
like an NT console extender. In effect, it allows you to run NT console
programs under DOS.

Christopher Hill
Aiea, Hawai`i (O`ahu)

Franklin Peña

unread,
Apr 28, 1996, 3:00:00 AM4/28/96
to

Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:

>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?

>Wladimir

Check ftp.borland.com/techdocs/language/cpp
there are patches for BC++ 4.0, 4.02, and 4.5


James R. Ashley

unread,
Apr 28, 1996, 3:00:00 AM4/28/96
to

bit...@beaches.net (Franklin Peña) writes:
> Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:
>
> >Is there any patch available that makes it possible to write 32-bit
> >programs for DOS in BC++ 4.0?


I'm not sure where it's located (I got it off a cd bundle), but
someone named Tran wrote a good extender for BC4. It's called
PMode. Someone else re-wrote that, calling his version pmc.
Those might be what you're looking for.

regards,
jimerthy

Iain Barker

unread,
Apr 29, 1996, 3:00:00 AM4/29/96
to

James R. Ashley wrote:
> =

> bit...@beaches.net (Franklin Pe=F1a) writes:
> > Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:
> >
> > >Is there any patch available that makes it possible to write 32-bit
> > >programs for DOS in BC++ 4.0?

> =

> I'm not sure where it's located (I got it off a cd bundle), but
> someone named Tran wrote a good extender for BC4. It's called
> PMode. Someone else re-wrote that, calling his version pmc.
> Those might be what you're looking for.

> =

> regards,
> jimerthy

Pmode uses an assembler extender for its code. It somes with a shell for
protected mode Borland C programming. PMC (or was it PMW?) is an
extender =

designed as a drop-in replacement for the Watcom C++ extender (about
1/10 =

the size, faster, smaller, better (but without some obscure functions).

Borland sell Powerpack, a bolt-on for their compiler to use DPMI for
32bit programs. Perversely, I modified Pmode to use Powerpack as the
DPMI extender for a VR project I was doing, which needed the Borland
libraries and pmode API! I can maybe dig a copy out, but a more recent
version of Tran's code is bound to be better than my hacking...

Tran is/was a demo coder, so look for his extenders on hornet or
cdrom.com

Iain
-- =

Iain W. Barker, Maidenhead, UK. .-. .-..-..-..-..-..-..-.
Work: iba...@nortel.ca Tel: 01628 794051 | |__ | || .` || || | > <
Home: ia...@yoshac.demon.co.uk 01628 826518 `----'`-'`-'`-'`----''-'`-`
Mobile: 0468 434792 Fax: 01628 794569 Freedom for life

Leath Muller

unread,
Apr 30, 1996, 3:00:00 AM4/30/96
to

Vdla...@net.HCC.nl (Wladimir van der Laan) writes:

>Is there any patch available that makes it possible to write 32-bit
>programs for DOS in BC++ 4.0?

They sell PowerPack for DOS...but dont bother...the manuals suck and half
the time it just doesnt work, for eg: GlobalDOSAlloc. Borland are no help,
and just think your an idiot if you ask them something (as well as being
rude).

I just changed to djgpp (like 2 days ago! :) and I had stuff running in
3 hours that I couldnt get to work in 3 weeks with Borland.

Here's my advice: Ditch Borland, and get DJGPP...its cheaper and better!

Leathal.

Lars Troen

unread,
May 3, 1996, 3:00:00 AM5/3/96
to

Noggin the Nog (hanr...@trscpd02cb.ntc.nokia.com) wrote:
: nigel....@gconnect.com (Nigel Tamplin) wrote:


: >I dont know about a patch, but I have BC++ 4.51 and use bcc32 set to generate
: >assembly ouput, then I use a program I wrote to add segment names to the asm
: >ouput where applicable, then I compile this with TASM and link with a dos
: >extender based on Tran's pmode. 32bit C++ for DOS.

: This approach is exactly what I do, and apart from the segment name
: manipulation trick, it works with no problems at all.

Hmm.. I do something similar, but I use dos32, another extender.. It comes
with a new c0.obj (and asm) which lets you compile (using bcc32) and link it
with dlink (the linker that comes with dos32) without problems.. No need for
fiddeling in the asm output.. ;) [dos32 can be found on x2ftp]


--
||===========//=========Lars`White Spirit'Trřen=========\\===========||
||/////////// Who's General Failure? \\\\\\\\\\\||
||///////// Sieg File! Sieg File! Sieg File! Sieg File! \\\\\\\\\||
||=====//lar...@stud.idb.hist.no|=|lar...@colargol.idb.hist.no\\=====||


Wladimir van der Laan

unread,
May 3, 1996, 3:00:00 AM5/3/96
to

lea...@gbrmpa.gov.au (Leath Muller) wrote:

>I just changed to djgpp (like 2 days ago! :) and I had stuff running in
>3 hours that I couldnt get to work in 3 weeks with Borland.

Where can I get that?

Wladimir


James R. Ashley

unread,
May 4, 1996, 3:00:00 AM5/4/96
to

Vdla...@net.HCC.nl (Wladimir van der Laan) writes:

x2ftp.oulu.fi/pub/msdos/programming/djgpp

Be sure to browse around! (And have lots of time ready to
spend).

jimerthy


pi...@shore.net

unread,
May 4, 1996, 3:00:00 AM5/4/96
to

While prying the lemmings from hir ankles Fri, 03 May 1996 17:56:02

GMT, Vdla...@net.HCC.nl (Wladimir van der Laan) wrote:

>>I just changed to djgpp (like 2 days ago! :) and I had stuff running in
>>3 hours that I couldnt get to work in 3 weeks with Borland.

>Where can I get that?

ftp to any SimTel mirror (oak.oakland.edu or ftp.coast.net), and go to
/SimTel/msdos/djgpp (i believe). There's a number of zips you need,
so make sure to get the .txt file that describes them all. I think
you'll need 6-10MB zipped.

--
pi...@shore.net pi...@gnu.ai.mit.edu pi...@basenji.com
An it harm none, do as thou wilt. Will hack Symix for CPU upgrades.
Lookie here, Agent .99e! :)

0 new messages