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

Adding TASM32 to Borland 5.5 free tools

642 views
Skip to first unread message

Charles H. Shooshan III

unread,
Jul 1, 2001, 8:54:58 PM7/1/01
to
Hi!

I have been using the Borland 5.5 free command-line tools with some
success.

I have purchased the (standalone) Borland Turbo Assembler Version 5
(TASM). I am hoping to learn a little assembly language. TASM includes
three installation diskettes that contain three different assemblers
as well as other utilities and tools. Many of the utilities are older
versions of those included with the free tools.

I really would like some help installing TASM to work best with the
free tools.

Is all I really need to do is to copy the TASM32.EXE file to the
\Borland\Bcc32\Bin folder (and ignore the rest of the files on the
diskettes)?

Do I need device=<SOME_PATH>\WINDPMI.386 in my SYSTEM.INI file?

Should I somehow modify the Borland Help TOC to include the TASM.HLP
file?

Do I need any of these files from the TASM \Bin directory:

32RTM.EXE, B32TOOLS.PIF, DPMI16BI.OVL, DPMI32VM.OVL, GREP.COM,
H2ASH32.EXE, IMPDEF.EXE, IMPLIB.EXE, MAKER.EXE, MAKESWAP.EXE,
OBJXREF.EXE, RLINK.EXE, RLINK32.DLL, RTM.EXE, RW32CORE.DLL, RWRES.DLL,
TDMEM.EXE, TDSTRP32.EXE, TDUMP.EXE, THUNK.EXE, TOUCH.EXE, WINDPMI.386,
WINSTUB.EXE, WORKOPT.DOS ?

One thought I had was to do the following:

1. Install the 32-bit assembler only, the DOCs and the Examples.
2. Add C:\TASM\BIN to my PATH (Windows 98).
3. Overwrite any files in the C:\TASM\BIN folder with any newer
versions from the C:\Borland\Bcc32\Bin folder (to make sure the right
version is invoked).

Finally, the examples and user guide files included do not seem to
work with bcc32.exe because (most) include 16-bit portions. I tried
adding .386p and changing .MODEL to flat but it really isn't enough
even with simple examples (I really know almost nothing about assembly
so far). Any idea if the examples included with the TASM are
worthwhile with a 32-bit compiler at all?

Any help would be greatly appreciated!

--Charlie

Boris

unread,
Jul 2, 2001, 3:35:28 AM7/2/01
to
Just install TASM to, say, C:\TASM
then add PATH=C:\TASM\BIN\;%PATH%
to the end of your autoexec.bat.
Now you can compile asm, or C(++) or both mixed from bcc32 commandline.
for example
bcc32 -4 -02 main.c fastmath.asm
BCC55 will automatically use its own (newer) linker and resource tools.

########
##BUT:##
########
If you really wanna learn assembler for win32, i strongly suggest you dump
TASM. It is outdated, and the win32 support is rudimentary (at least out
of the box).
Take a look at the Free MASM32 v6.00 packacke here:
http://www.pbq.com.au/home/hutch/
It is free and comes with EVERYTHING you need to start writing win32 ASM
code.
Linker, INCLUDES, IMPLIBS are all there for win32.
Also a load of proper 32bit examples.
http://win32asm.rxsp.com/ <---Check this site for the best batch
of tutorials and samples on win32 ASM programming.
http://win32asm.rxsp.com/download.html <---Make sure to grab SP1 and SP2 for
MASM v6 and the MASM 6.15 update here. You need that patch especially if you
wanna link MASM and BCC code together, becoz only 6.15x supports borland
compatible OMF output (i know there is coff2omf.exe... but it sucks)..... :)

Have fun delving into low level coding!
Boris

PS: CCed the posting via email because posts mentioning MASM tend to get
deleted off the server quickly.

"Charles H. Shooshan III" <chas...@connix.com> schrieb im Newsbeitrag
news:3b3fc661$1_1@dnews...

Anduin Withers

unread,
Jul 2, 2001, 4:04:35 AM7/2/01
to
> PS: CCed the posting via email because posts mentioning MASM tend to get
> deleted off the server quickly.

Only if they are posted in HTML. The only censorship done by Borland is to
remove posts which violate the news group guidelines. If you have evidence
to the contrary I challenge you to show it.

--
Anduin Withers

Boris

unread,
Jul 2, 2001, 8:41:04 AM7/2/01
to
Well, i didnt wanna accuse anyone, but:
This post i posted here a few days ago, in plain text:

>>>>Begin Posting
From: "Boris" <boris....@gmx.net>
Newsgroups: borland.public.cppbuilder.commandlinetools
Subject: bcc55 problem with external assembler (Masm 6.15 with OMF support)
Date: Sat, 23 Jun 2001 04:28:01 +0200
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400


Hi There!

When I try to use masm 6.15.x as external assembler
by using for example this cmdline:
bcc32 -4 -O2 -E":c\path\to\ml.exe" -T" -c -omf" main.c fastflt.asm
masm will give me the error:
fatal: file fastfloat/D__CDECL__ not found
Obviously it forgets to put a space between fastfloat and /D__CDECL__
If I use TASM5 (without -E and -T) everything works fine.
Unfortunatly some of my asm modules rely heavily on MASM specific
code and I have no time to rewrite them all. They dont compile
on TASM32 5.0r. What can I do to get around this 'bug' ?

Thanks

Boris
<<<<<<End Posting
A day later there was an insufficient answer to it was out,
and about 2 hours later both were gone. Donno why....

Boris


"Anduin Withers" <awit...@anduin.com> schrieb im Newsbeitrag
news:3b402b12$1_2@dnews...

Ed Mulroy (TeamB)

unread,
Jul 2, 2001, 9:36:39 AM7/2/01
to
You posted the message on 6/22 and it is still visible. Nobody has deleted
it. Only spam, porn and other messages that flagrantly conflict with the
newsgroup guidelines are routinely deleted.

. Ed

Boris

unread,
Jul 2, 2001, 10:01:41 AM7/2/01
to
Youre right, after deleting the group and regetting it, its back, dunno what
caused this. Prolly crappy MS Outlook.
But I said I wasnt blameing anyone, just wanted to make sure :)

Boris

"Ed Mulroy (TeamB)" <edmu...@deltacomm.com> schrieb im Newsbeitrag
news:3b4078e8$1_1@dnews...

Rudy Velthuis (TeamB)

unread,
Jul 11, 2001, 6:58:31 AM7/11/01
to
In article <3b402b12$1_2@dnews>, Anduin Withers says...

> > PS: CCed the posting via email because posts mentioning MASM tend to get
> > deleted off the server quickly.
>
> Only if they are posted in HTML.

HTML is not accepted by the server anymore. It will be denied
automatically, with a nice error message.
--
Rudy Velthuis (TeamB)

Rudy Velthuis (TeamB)

unread,
Jul 11, 2001, 6:57:40 AM7/11/01
to
In article <3b4023a5_1@dnews>, Boris says...

> PS: CCed the posting via email because posts mentioning MASM tend to get
> deleted off the server quickly.

I can assure you that is not the case. All messages, that don' violate
any rules or guidelines, stay here for approx. 30 days.
--
Rudy Velthuis (TeamB)

Rudy Velthuis (TeamB)

unread,
Jul 11, 2001, 7:00:46 AM7/11/01
to
In article <3b406b6d_2@dnews>, Boris says...

> A day later there was an insufficient answer to it was out,
> and about 2 hours later both were gone. Donno why....

I can still see both. Try the web interface http://newsgroups.borland.com
if you can still see it there. In that case it was not deleted.
--
Rudy Velthuis (TeamB)

0 new messages