Coder Social home page Coder Social logo

thomasjaeger / visualmasm Goto Github PK

View Code? Open in Web Editor NEW
1.3K 71.0 85.0 1.73 GB

Visual MASM - Assembly IDE for Microsoft MASM

Home Page: http://www.visualmasm.com

Pascal 91.53% Assembly 2.23% HTML 5.53% CSS 0.14% Inno Setup 0.56%
masm microsoft-masm assembly ide visual x86 assembler assembly-language-programming assembly-language native

visualmasm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visualmasm's Issues

Problem debugging dos code

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 ?

Extra quote messes up resource compiler in 64-bit mode

cmdLine := ' ""'+FVisualMASMOptions.ML64.RC.FoundFileName+' /V /fo'+pf.OutputFile+' "'+pf.FileName+'"';

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).

Add support for DOSBox or something similar?

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

install does not complete ANY of the required File Locations

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.

Remove those popups when am writing code and trying to save it.

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.

image

ASM.obj,ASM problems-Reg.

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

Blank Project?

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.

The title bar is out of view

My screen resolution is 1366x768, yet I cannot view/interact with the title bar to maximize, minimize, move, or close the window.
(If it matters: my OS is Windows 10 Pro x64)

Suggestion: Starting VisualMASM with a maximized window, would be an easy workaround.

v0

"Invalid Function" When decompressing downloaded MASM during setup

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.

No Syntax Tip And Code Completion

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?

Debugging DOS code

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?

Can't Compile - Linkage issue

I can't compile or debug because a file isn't found...
Version: Repo from 9-9-2017 and 9-10-2017
My OS: Windows 10 64 Home Bit
x64 Intel Core i3 Processor (idk might be helpful for something :P)
visualmasm_2017-09-11_11-42-15

Multi-modular compiling preprocessor issue

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.