thomasjaeger / visualmasm Goto Github PK
View Code? Open in Web Editor NEWVisual MASM - Assembly IDE for Microsoft MASM
Home Page: http://www.visualmasm.com
Visual MASM - Assembly IDE for Microsoft MASM
Home Page: http://www.visualmasm.com
Hi,
My instance of visual MASM produces following output (for dos 16bit exe)when I try to debug code:
Assembling G:\masm32\projs\
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
"G:\masm32\bin\ml.exe /Zi /Zd /Zf" /c /Fo"G:\masm32\projs\Debug\Assembly1.obj" G:\masm32\projs\ASSEMB~1.ASM
MASM : warning A4018: invalid command-line option : /Z /c /FoG:\masm32\projs\Debug\
MASM : warning A4018: invalid command-line option : /Z/c /FoG:\masm32\projs\Debug\
MASM : warning A4018: invalid command-line option : /Zc /FoG:\masm32\projs\Debug\
and so on.
Problem seems to lie on " character after /Zf
From my investigation this is due to line from uDM.pas[2340]:
ptDos16EXE: cmdLine := ' "'+FVisualMASMOptions.ML32.FoundFileName+debugOption+'" /c /Fo'+pf.OutputFile+ ' '+ExtractShortPathName(pf.FileName);
Maybe debugOption
should be excluded from double quotes ?
Line 2858 in be19c47
The command starts with two quotation marks, there should be a quote at the start of the flags. I think line 2855 is also wrong in the same way, but that's just a gut feeling.
Temporary workaround: put a quotation mark (") at the end of the file location under options->file locations->64 bit->RC.EXE (and nothing at the start).
I'm getting link error for .8086 16 bit dos exe help please
In my university, we use 16-bit MASM, and for some reason, we need to use DOSBox and other tricks to get our programs to work...
This is what I've suggested to my colleagues to make 16-bit programs work. Surely, there must be a better way to do this.
REM For a better MASM16 development envirornment~~~
REM Tested on/with Windows 10 Pro x64, VisualMASM x32 v2.00, DOSBox x32 v0.74
REM Supposing you've installed DOSBox and are using VisualMASM's default settings
REM From VisualMASM's toolbar, select "Project > Options > Link Events > Post-link"
REM then copy and past this one liner:
cmd /C ""C:\Program Files (x86)\DOSBox-0.74\dosbox.exe" "%CD%\Projects\Program\Release\program.exe" -noconsole -c "cls"" && exit
REM Now, to run MASM16 programs, simply click 'build' or 'run' and DOSBox will start...
REM PS: You're a big boy/girl, in case your paths are different, change them by yourself!
REM ====================<< EXPLANATION SORTA >>====================
REM This longer version is easier to understand and edit.
REM It works fine with CMD, but not with VisualMASM's post-link thing, I wonder why...
rem Path to DOSBox
rem it can be different depending on your software versions, may need to be edited.
SET dosbox="C:\Program Files (x86)\DOSBox-0.74\dosbox.exe"
rem The 16-bit resulting program (this is its default path)
rem (%CD% refers to VisualMASM's Current working Directory)
SET program="%CD%\Projects\Program\Release\program.exe"
rem Command to open that program with DOSbox. Also, hide its console and clear its logo.
rem To better tweak DOSBox read its documentation or manual.
SET command="%dosbox% %program% -noconsole -c "cls""
rem To better tweak the CMD, check `cmd /?` and `start /?`
rem Run it
cmd /C %command%
rem Done executing the program, exit now
rem (Again, for some reason, VisualMASM doesn't close the post-link console.)
exit
I just installed this, or tried to at least, but after seeing the "Invalid operation popup mentioned elsewhere, the IDE started, but not one file location field has been completed, leaving me somewhat lost as to how to find all these paths etc accurately as I do not know where any of them are even likely to be??
This is a shame as I really do want to get involved in this project, but need to get it to work first off.
It's annoying that the application can't work like vs community. This is what I mean, I want the application to ask me for the folder where to save my current project, and then it can just save every resource file in the background. It annoys me to save ".rc" file, ".vmp" file every single time, I have to keep overwriting the existing ones, coz I don't want to change the save folder. And it's time wasting. VS Community just saves the resource files itself, and only wants me to chose the project folder, and name of the .asm file to save. Otherwise, this is the best IDE, it does it's job fine.
1.I have developed some small asm's,while linking to the other language main program's obj file, it is giving error as"_Start" function already used in the first asm.In each asm we have to mention Start function mandatory.twhy it is giving error?In a project,normally using 5 0r 6 asm.obj's.
2.My OS: windows 8.1
3.My machine: 64-Bit AMD Athelon chip
4.Original program:windows95,MS-DOS 5.0
5.It is giving errors at the time of linking to the other language(Fortran) main program obj files,displaying the developed asm's object files are unresolved externals.Is it not compatible with the other language main program obj files?How can I solve the problem?
6.Is it possible to check with Visual MASM .2 Ver,1.0 Ver,1.1 Ver to download and test?
7.Where can I download the Visual MASM .2 Ver,1.0 Ver,1.1 Ver to download and test,without your permission?
waiting for your early help.
Thanks
Regards,
schand
Why can't i compile a syntax like this?
https://stackoverflow.com/questions/5367498/assembly-8086-program
Is there an option to create a blank project? When I'm developing in MASM I have templates of code already written that gets me the window I need and pre-includes stuff I care about. It would be very useful if I could just start a blank project and get to developing right away.
Whenever the installer attempts to download MASM from the internet, when it gets to the part where it says its going to decompress the MASM32 package, upon clicking okay it says "Invalid Function" and then continues the setup without installing MASM or any of the needed tools to begin development.
I think VisualMASM should contain [Syntax Tip And Code Completion] function, but why doesn't it work for me? I'm sure I didn't choose [tools - > Options - > do not show tool tips], I haven't modified anything, but it isn't work.
[https://raw.githubusercontent.com/ThomasJaeger/VisualMASM/master/Images/main.png]
Just like the code completion in this picture, but when I type [invo...] it doesn't show me that [invoke] can be used. Also not work with [MessageB...].
Could someone help me?
Hi,
it looks like a similar issue for DOS debugging (please refer to #2) still exists in the current version. I just tried to move an existing small assembly program over to visual masm and the output indicates that again the quotes are at the wrong place:
"c:\masm32\bin\ml.exe /Zi /Zd /Zf" /Fo"C:\Users\noname\Documents\Visual MASM\Test-01\Debug\Assembly1.obj" /c /AT /nologo "C:\Users\noname\Documents\Visual MASM\Test-01\Assembly1.asm
Without any quotes around the ml.exe and an extra space ight after the /Fo switch it is running smoothly:
c:\masm32\bin\ml.exe /Zi /Zd /Zf /Fo "C:\Users\noname\Documents\Visual MASM\Test-01\Debug\Assembly1.obj" /c /AT /nologo "C:\Users\noname\Documents\Visual MASM\Test-01\Assembly1.asm
The way these query strings get built is not configurable from the users side, right?
Hi, I'm new to VisualMASM and I'm having problems while trying to compile a multi-modular project.
I have an .inc file which contains an include guard like this:
ifndef __FILE_GUARD__INC
__FILE_GUARD__INC equ 1
.
.
.
endif
but it seems that the symbol is just defined for the source file currently being compiled.
I was wondering if VisualMASM is running an instance of ML for every .asm file instead of passing in all .asm files to a single instance of the compiler?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.