Page 1 of 1

COMPILING WITH TASM32 AND TLINK32

Posted: Thu Sep 20, 2001 11:00 pm
by MUSTANG
i am just starting out, i have borland c++ builder 5 professional
and know how to make my assembler files just using
notepad, but how can i compile my bootsector with TASM32
and TLINK32?

RE:COMPILING WITH TASM32 AND TLINK32

Posted: Fri Sep 21, 2001 11:00 pm
by j.weeks
>On 2001-09-21 17:19:26, MUSTANG wrote:
>i am just starting out, i have borland c++ builder 5 professional
>and know how to make my assembler files just using
>notepad, but how can i compile my bootsector with TASM32
>and TLINK32?

It's been a while since I've used tasm, so I can't
give you a definite answer, but if you check up the
command line help:
tlink32 /?

You should be able to find an option for outputing
a straight binary, no format.

Something like this:
tasm32 myboot.asm
tlink32 myboot.obj -oformat bin

That's not real syntax, but hopefully you get what
I'm trying to say. That's all you should need to
do.

Or, if it outputs just straight .exe files, strip
the first 512 bytes, and you've got a flat binary.

j.weeks