Author Topic: run masm.exe in Windows x64  (Read 199 times)

TimoVJL

  • Regular Member
  • *
  • Posts: 36
run masm.exe in Windows x64
« on: October 12, 2018, 11:51:02 AM »
MS-DOS Player for Win32-x64
Code: [Select]
C:\code\MS-DOS>msdos.exe MASM5.EXE
Microsoft (R) Macro Assembler Version 5.00
Copyright (C) Microsoft Corp 1981-1985, 1987.  All rights reserved.

Source filename [.ASM]: test
Object filename [test.OBJ]:
Source listing  [NUL.LST]:
Cross-reference [NUL.CRF]:
End of file encountered on input file
test.ASM(1): warning A4085: End of file, no END directive
End of file encountered on input file
test.ASM(1): warning A4085: End of file, no END directive

  50090 + 544854 Bytes symbol space free

      1 Warning Errors
      1 Severe  Errors
May the source be with you

Vortex

  • Member
  • *****
  • Posts: 1851
Re: run masm.exe in Windows x64
« Reply #1 on: October 13, 2018, 04:41:08 AM »
Hi Timo,

Thanks :t  A good opportunity to run 16-bit applications on 64-bit operating systems.

jj2007

  • Member
  • *****
  • Posts: 8776
  • Assembler is fun ;-)
    • MasmBasic
Re: run masm.exe in Windows x64
« Reply #2 on: October 13, 2018, 05:58:27 AM »
This is cute indeed :t

Attached two "projects". Open in RichMasm, hit F6. Works like a charm on Win7-64 :P

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: run masm.exe in Windows x64
« Reply #3 on: October 13, 2018, 06:01:33 AM »

jj2007

  • Member
  • *****
  • Posts: 8776
  • Assembler is fun ;-)
    • MasmBasic
Re: run masm.exe in Windows x64
« Reply #4 on: October 13, 2018, 06:13:36 AM »
Fpu works fine for me, see project attached 2 posts further down.
« Last Edit: October 13, 2018, 11:58:19 AM by jj2007 »

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: run masm.exe in Windows x64
« Reply #5 on: October 13, 2018, 06:39:12 AM »
Fpu works fine for me, see attached project.

Where fpu instructions are?

jj2007

  • Member
  • *****
  • Posts: 8776
  • Assembler is fun ;-)
    • MasmBasic
Re: run masm.exe in Windows x64
« Reply #6 on: October 13, 2018, 11:57:26 AM »
Sorry, they are in the Hello16.asc file (which opens with \Masm32\MasmBasic\RichMasm.exe); the old *.asm crept in by accident. Building requires the attached DosBasic, which is a simplified 16-bit version of MasmBasic.

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: run masm.exe in Windows x64
« Reply #7 on: October 13, 2018, 02:05:34 PM »
Apparently hello16.exe work perfect in win32  8)

jj2007

  • Member
  • *****
  • Posts: 8776
  • Assembler is fun ;-)
    • MasmBasic
Re: run masm.exe in Windows x64
« Reply #8 on: October 13, 2018, 06:35:28 PM »
Apparently hello16.exe work perfect in win32  8)

If you have a 32-bit version of Windows, yes indeed. On my Win7-64 box, I see only an ugly message from the OS. Except if launched as msdos\binary\i486_x64\msdos.exe Hello16.exe - then it works.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5852
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: run masm.exe in Windows x64
« Reply #9 on: October 13, 2018, 07:28:07 PM »
Having spent too many years long ago in MS-DOS with 16 bit real mode apps, if you want the real thing[tm] fish out your MS-DOS 5.0 disks and set up something to install them on or in something like a DOS emulator if you don't have a spare old box to do it properly and see how long it takes you to get tired of working in a 16 bit real mode interface.  :P
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

AW

  • Member
  • *****
  • Posts: 1514
  • Let's Make ASM Great Again!
Re: run masm.exe in Windows x64
« Reply #10 on: October 14, 2018, 02:09:48 AM »
It works, but lacks some features of DosBox. Of course, installing MS-DOS in a virtual machine is more solid.

Bottom line: Still waiting to see some software from China or Japan I would like to use.