> I noticed thumbing through my Borland Turbo Assembler manual, that it is
> capable of generating OS/2 compatible OBJ files. Anyone know if this
> really works? This version of TASM comes with Borland C++ for DOS and
Yes, even TASM 3.1 for DOS can do that. Be sure to supply /OI on the
if you intend use LINK.EXE or LINK386.EXE.
BTW, Borland's 3.1 tools have some (un)documented features, which may
for OS/2 programmers.
1.) TASM supports OS/2's memory model and calling convention.
In the following code snippet contains some OS/2 specific pseudo ops,
that seem to work with TASM 3.1 for DOS.
.MODEL FLAT, C, OS2
EXTRN SYSCALL DOS32BEEP: PROC
call Dos32Beep SYSCALL, 1000, 100
2.) TLINK 5.xx is able to produce 16bit OS/2 executables and dlls.
It accepts OS/2 specific entries in the DEF file as well as
the undocumented command line options /TOE and /TOD.
There is also an OS/2 version of TASM. It is part of Borland C++ for
and claims to be version 4.1. There is also the /OI switch to set, if
choose to use IBM/Microsoft's linker instead of Borland's TLINK.
[S&T Systemtechnik GmbH, Germany, http://www.s-t.de]