COMPILING WITH TASM32 AND TLINK32

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
MUSTANG

COMPILING WITH TASM32 AND TLINK32

Post 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?
j.weeks

RE:COMPILING WITH TASM32 AND TLINK32

Post 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
Post Reply