The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on March 06, 2013, 03:34:46 PM

Title: using AdaptAsm to convert a masm32 program
Post by: shankle on March 06, 2013, 03:34:46 PM
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.
Title: Re: using AdaptAsm to convert a masm32 program
Post by: wjr on March 07, 2013, 03:33:28 AM
This should work:

AdaptAsm /m /fo GoAsm\codejps\mutfdprt32 mutfdprt32
Title: Re: using AdaptAsm to convert a masm32 program
Post by: shankle on March 07, 2013, 07:52:49 AM
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.
Title: Re: using AdaptAsm to convert a masm32 program
Post by: wjr on March 07, 2013, 01:49:06 PM
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
Title: Re: using AdaptAsm to convert a masm32 program
Post by: shankle on March 08, 2013, 12:41:30 AM
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
Title: Re: using AdaptAsm to convert a masm32 program
Post by: Yuri on March 08, 2013, 01:15:39 AM
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.
Title: Re: using AdaptAsm to convert a masm32 program
Post by: shankle on March 08, 2013, 07:24:01 AM
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.
Title: Re: using AdaptAsm to convert a masm32 program
Post by: Yuri on March 08, 2013, 02:20:18 PM
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.