Author Topic: using AdaptAsm to convert a masm32 program  (Read 3916 times)

shankle

  • Member
  • ****
  • Posts: 835
using AdaptAsm to convert a masm32 program
« 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.

wjr

  • Member
  • **
  • Posts: 209
    • WJR's website
Re: using AdaptAsm to convert a masm32 program
« Reply #1 on: March 07, 2013, 03:33:28 AM »
This should work:

AdaptAsm /m /fo GoAsm\codejps\mutfdprt32 mutfdprt32

shankle

  • Member
  • ****
  • Posts: 835
Re: using AdaptAsm to convert a masm32 program
« Reply #2 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.

wjr

  • Member
  • **
  • Posts: 209
    • WJR's website
Re: using AdaptAsm to convert a masm32 program
« Reply #3 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

shankle

  • Member
  • ****
  • Posts: 835
Re: using AdaptAsm to convert a masm32 program
« Reply #4 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

Yuri

  • Member
  • **
  • Posts: 175
Re: using AdaptAsm to convert a masm32 program
« Reply #5 on: March 08, 2013, 01:15:39 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

  • Member
  • ****
  • Posts: 835
Re: using AdaptAsm to convert a masm32 program
« Reply #6 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.

Yuri

  • Member
  • **
  • Posts: 175
Re: using AdaptAsm to convert a masm32 program
« Reply #7 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.