News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

using AdaptAsm to convert a masm32 program

Started by shankle, March 06, 2013, 03:34:46 PM

Previous topic - Next topic

shankle

Having some difficulty with the AdaptAsm syntax.
output file is mutfdprt32.adt
input file is mutfdprt32.asm
input file is in D:\GoAsm\adm\AdaptAsm21
output file goes to D:\GoAsm\codejps
The  attachment is a .jpg file that has been zipped.

wjr

This should work:

AdaptAsm /m /fo GoAsm\codejps\mutfdprt32 mutfdprt32

shankle

Thank you WJR for responding.
The suggestion you made did not work for me.
Here is what I did:
moved mutfdprt32.asm into d:\adm\AdaptAsm21
I tried it with the extensions and without the extensions.

AdaptAsm /m/fo adm\AdaptAsm21\mutfdprt32 mutfdprt32
Also tried it your way. in D\GoAsm
AdaptAsm /m/fo GoAsm\codejps\mutfdprt32 mutfdprt32

Neither worked.

wjr

Sorry about that, works with a leading slash and drive:

AdaptAsm /m /fo \GoAsm\codejps\mutfdprt32 mutfdprt32
AdaptAsm /m /fo D:\GoAsm\codejps\mutfdprt32 mutfdprt32

shankle

Thanks again WJR for responding.
I have included an attachment to show what happened.
It is a zipped file from a .jpg file.

Seems AdaptAsm does not like the MASM32 Include files in Masm

Yuri

Quote from: shankle on March 08, 2013, 12:41:30 AM
Seems AdaptAsm does not like the MASM32 Include files in Masm
No, it seems it can't find it. The leading backslash in the path means "the current drive's root directory". So the problem may be the masm32 folder is not on drive D.

shankle

Thank you Yuri for responding.
I think you are right. Therefor IMHO converting MASM32 programs with AdaptAsm
might not be feasible. I have been doing it manually and will continue to do so.

Yuri

If the masm32 folder is on drive C, you could add "C:" to every include path in MASM source. Or simply create a masm32 folder on drive D and copy the entire Include folder into it.