Well, i have the MASM compiler (latest version)
well, im kinda new to computers, and i dont get how i compiler my ASM.
do i just drag my asm file over the make.bat file?? or is there more, cuz when i do that, it gets some weird errors.
and if u feel like helping, please, tell me everything i need to do
all help is appreciated greatly :)
Samith
well, im kinda new to computers, and i dont get how i compiler my ASM.
do i just drag my asm file over the make.bat file?? or is there more, cuz when i do that, it gets some weird errors.
and if u feel like helping, please, tell me everything i need to do
all help is appreciated greatly :)
Samith
You can make a batch file first like this and save it as myasm.bat
Or as i have it ....game.asm
Your bat file should have the same name as your asm file.
e.g.
game.bat
game.asm
game.rc
__________________________________________________
This is the batch file for my asm file
ml /c /coff /Cp game.asm
rc game.rc
link /SUBSYSTEM:WINDOWS /LIBPATH:c:\masm32\lib game.obj
game.res
you can use qeditor to make your batch file.
__________________________________________________
You only use the second line "rc game.rc" if you are using a resource in your program
The rc and link and ml executables should be in the same directory that your asm file is in.
Their in the bin directory.
Or as i have it ....game.asm
Your bat file should have the same name as your asm file.
e.g.
game.bat
game.asm
game.rc
__________________________________________________
This is the batch file for my asm file
ml /c /coff /Cp game.asm
rc game.rc
link /SUBSYSTEM:WINDOWS /LIBPATH:c:\masm32\lib game.obj
game.res
you can use qeditor to make your batch file.
__________________________________________________
You only use the second line "rc game.rc" if you are using a resource in your program
The rc and link and ml executables should be in the same directory that your asm file is in.
Their in the bin directory.
call me lazy, but I use the Qeditor to compile/link and also to execute..
it comes with the MASM package from Hutch's site
it comes with the MASM package from Hutch's site
Absolutely drarem!
Thats the best way but i started getting an error.
"connot open program.asm"
Like its looking for program asm instead of my.asm
I know its something simple ....like a setting...maybe you know what it is...
Any help appreciated
Thats the best way but i started getting an error.
"connot open program.asm"
Like its looking for program asm instead of my.asm
I know its something simple ....like a setting...maybe you know what it is...
Any help appreciated
I had that once, and fixed it. It was in another included file which included an .ASM file, somehow I wiped out the rest of the line it was on.. just look at all the files you're including and see if there is something off whack.
Another thing that can get the QE bat files to choke is non-dos path names.
Try to keep every name in 8.3 format and it should fly.
Yoiu can do alot of advanced work right inside Quick Editor, it's no small toy.
Try to keep every name in 8.3 format and it should fly.
Yoiu can do alot of advanced work right inside Quick Editor, it's no small toy.