TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Vitus Jensen
from: Mike Bilow
date: 1996-05-17 15:03:04
subject: ASM...

Vitus Jensen wrote in a message to Mike Bilow:

 VJ> {at}KEY-WORDS: internet hasch drogen porno Israel Kohl IRA RAF

Trying to attract the attention of international intelligence agencies?

 VJ> For your information: I moved to MS-C 7.0 in 1993 for ADDs. 
 VJ> I got sick of recoding drivers to prevent MS-C 6.00A to spit
 VJ> out "internal error". I would like to move to WatCom
 VJ> (because it is supported), but to write a new dhcalls.lib
 VJ> plus changes in driver code is not an option.

I use the stock DHCALLS.LIB from the DDK with Watcom.  You need to write a
custom ASM stub at the head of your project to account for the differences
in segment alignment, and you can choose to rebuild DHCALLS.LIB from the
DDK source using the Watcom compiler.  MS C settles for DWORD segment
alignment, but Watcom wants PARA segment alignment.

The Bollo freeware library also provides the necessary modules for using
Watcom with device drivers, although he does not specifically support
BASEDEVs or MCA, and this could be a problem -- certainly it would be for
an ADD.

Other than doing odd things such as overrunning the parser stack, I have
never had MS C 6 spit out an "internal error."

 VJ> There are differences between MASM 5.1 and 6, but the change
 VJ> is no real problem. 

I like Watcom a heck of a lot better.  My preferred configuration for OS/2
device drivers is the Watcom compiler with the Microsoft/IBM linker.

 VJ> I agree that moving to a single assembler would benefit the
 VJ> DDK, but until now IBM has only increased the count of tools
 VJ> (MASM 5.1, MASM 6, MS-C 6, CL386, CSet/2, Borland C++ and
 VJ> now ALP).

I agree with you, but there is no tools czar at IBM to fix this.
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1
@PATH: 323/107 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.