Author Topic: Masm 64 programs  (Read 1594 times)

clamicun

  • Member
  • ***
  • Posts: 347
Masm 64 programs
« on: May 19, 2019, 09:37:23 PM »
This might be a stupid question.
I have a couple of 64b examples on my computer.
They work because my machine is 64b.
I would like to compile them to learn about it.
Where can I download "masm64rt.inc" and whatever else I need ?
« Last Edit: May 20, 2019, 02:08:53 AM by clamicun »

Vortex

  • Member
  • *****
  • Posts: 2033
Re: Masm 64 programs
« Reply #1 on: May 20, 2019, 05:11:17 AM »
Hi clamicun,

You need to download the install64.zip package :

http://www.masm32.com/download/install64.zip

Hutch's announcement :

http://masm32.com/board/index.php?topic=7558.0

Also, you will need of Masm 64-bit, ml64.exe. You can get it with the releases of MS VC.

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #2 on: May 20, 2019, 04:08:44 PM »
Vortex,
thank you !

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #3 on: May 20, 2019, 04:46:41 PM »
Vortex,
this is a bit confusing:

"Rename "install64" to "masm32"

??? I can't. masm32 is already there.
Does that mean I can't have these 2 folders on the same drive. masm32 and masm64 ?

TimoVJL

  • Member
  • ***
  • Posts: 476
Re: Masm 64 programs
« Reply #4 on: May 20, 2019, 06:13:02 PM »
I think we can just copy those relevant x64 dirs to masm32 folder, like include64, macros64, lib64, m64lib ?
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6769
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Masm 64 programs
« Reply #5 on: May 20, 2019, 06:14:58 PM »
Timo is right, you can either add it to an existing MASM32 installation or put it on another partition renamed to MASM32.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • ****
  • Posts: 944
  • watch Chebyshev on the backside of the Moon
Re: Masm 64 programs
« Reply #6 on: May 20, 2019, 09:40:16 PM »
Timo is right, you can either add it to an existing MASM32 installation or put it on another partition renamed to MASM32.
but if I want a custom named masm32 folder,instead of just keep masm32 is it easy to rename just my own includes to use for example "masm128" or do I need to go thru the whole masm32SDK+masm64SDK .inc files with loads of renaming?
 
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6769
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Masm 64 programs
« Reply #7 on: May 20, 2019, 10:05:36 PM »
The paths are hard coded for a reason, it prevents getting the wrong versions of binaries. What you mention can be done but you will have to change every file with a path to do it. The old fellas used to set the environment which was OK when everything used the same binaries.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #8 on: May 21, 2019, 09:39:58 PM »
Yes, I did it.
Changed all pathes in every file from masm32 to masm64 (including the examples64).
Now I have
E:\masm32
and
E:\masm64 on my computer.
Works perfectly.
Unfortunately the file masm64.zip is to large to upload into the forum.
It has 11565 Kb. 

TimoVJL

  • Member
  • ***
  • Posts: 476
Re: Masm 64 programs
« Reply #9 on: May 22, 2019, 01:47:43 AM »
Changed all pathes in every file from masm32 to masm64 (including the examples64).
if you decide to modify headers, why not just remove paths from there and use INCLUDE and LIB environment variables ?
May the source be with you

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #10 on: May 22, 2019, 01:58:35 AM »
??? ... That's what I did ... Changed all path from \masm32 to \masm64.

All 126 asm files in m64lib have written
"include \masm32\include64\masm64rt.inc".
You need to change that or you get "path not found.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6769
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Masm 64 programs
« Reply #11 on: May 22, 2019, 02:06:57 AM »
> Unfortunately the file masm64.zip is to large to upload into the forum.

What you do on your own machine is your own business but do not post that file either here or elsewhere as it is copyright software.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #12 on: May 22, 2019, 03:59:01 AM »
Yes, your lordship Hutch ...  Excuse me ... my very  submissive apology... You could have said that in a far less aggressive way  ... Bad day today ... Something went wrong ?

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6769
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Masm 64 programs
« Reply #13 on: May 22, 2019, 10:09:41 AM »
 :biggrin:

> You could have said that in a far less aggressive way

So the truth is aggressive ?

> Bad day today ... Something went wrong ?

Well as a matter of fact, I have had a really sh*t week forking a fortune for work done by the host company for this website, climbing through some very badly written Unix software to get the server up and going again properly and before that I was p*ssed around for about 5 months getting high speed internet up and going but I still retain my charming and tolerant approach to most things.  :tongue:

The reason why the MASM32 project is true freeware that anyone can download and use is because it is protected by copyright with its own licence. No one can sell it to you or impose any additional conditions on you. I am pleased that you have it up and going but it must not be redistributed.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

clamicun

  • Member
  • ***
  • Posts: 347
Re: Masm 64 programs
« Reply #14 on: May 22, 2019, 06:04:28 PM »
ok.  Then excuse me if I was a bit harsh ... I didn't want to sell/redistribute it or whatever ... I only wanted to show a way to install it on everyones computer so you can't confuse examples and examples64