The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: Fadi on July 08, 2005, 10:49:08 PM

Title: Help with Gonothing
Post by: Fadi on July 08, 2005, 10:49:08 PM
Hi All,

I am trying to run my first Gonothing program and keep getting this message
"GoAsm is not recognised as an internal or external command, operable program or batch file."

Thanks
Fadi

Title: Re: Help with Gonothing
Post by: James Ladd on July 08, 2005, 10:52:55 PM
it appears as though the extension and therefore the file type is corrupt.
I suggest downloading and installing again.
Title: Re: Help with Gonothing
Post by: donkey on July 09, 2005, 01:31:57 AM
Make sure that you specify the path to GoAsm or include it in the path environment variable. This looks like it cannot find GoAsm.EXE, generally that just indicates that the shell cannot find the executable. You can specify the path as follows


C:\GoAsm\GoAsm.EXE "donothing.asm"
C:\GoAsm\GoLink.EXE /entry Start  "donothing.obj"
Title: Re: Help with Gonothing
Post by: Fadi on July 09, 2005, 12:56:11 PM
sorted,

I have created files as:
in C\: there is a folder called "prog"
and in "prog" folder there are: "gonothing.bat","nothing.asm","nothing.obj", and  "GoAsm",Golink" and inside GoAsm,Golink folders GoAsm.exe and Golink.exe.
so I copied GoAsm.exe and Golink.exe to where gonothing program is and now is running.
As I understood I can specify where Golink.exe and GoAsm.exe should be running from in the gonothing.Bat is that right ?
as "C:\prog\GoAsm\GoAsm" and the same for GoLink is that ok ?

Thanks
Title: Re: Help with Gonothing
Post by: Infro_X on July 26, 2005, 06:40:28 PM
Here is what you should do.

Create a folder called GoAsm where ever you want it. Ex: C:\Programming\GoAsm
Within that folder create four folders. BIN,IncludeA,IncludeW,Macros.
Put GoAsm and everything you got from GoAsm.zip into the BIN folder
Do the same for GoBug, GoLink, and GoRC if you have them.
Then place the ASCII include files in the IncludeA, and the Unicode/widechar include files in the IncludeW folers.
Then place Donkey's and whoever else Macros you make/get into the Macros folder.

After all that is done, Create the following batch file

C:\[whatever]\GoAsm\BIN\GoAsm.exe %1.asm
C:\[whatever]\GoAsm\BIN\GoRC.exe %1.rc
C:\[whatever]\GoAsm\BIN\GoLink.exe /entry Start %1.obj %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20
C:\[whatever]\GoAsm\BIN\GoLink.exe /entry Start %1.obj %1.res %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20


then do something like this
gobuild.bat gotest kernel32.dll user32.dll comctrl32.dll comdlg32.dll advapi32.dll  yada yada yada.

or, just put GoAsm into root, C:\GoAsm, all the Binaries into a BIN folder, all the includes into respective include folders, all .asm into macro folder, then use RadASM.
<- likes radasm