News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

installation problem

Started by kb7wg, February 05, 2006, 09:11:55 PM

Previous topic - Next topic

Evenbit

Quote from: kb7wg on February 12, 2006, 11:57:31 AM
READY C:\hla>set
...
Path=C:\masm32;C:\masm\bin;C:hla;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Program Files\Support Tools\
...

I see 2 problems here!

First:  The "C:\masm\bin;" part should be "C:\masm32\bin;"

Second:  The "C:hla;" part should be "C:\hla;"

So, it should look like this:
Path=C:\masm32;C:\masm32\bin;C:\hla;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Program Files\Support Tools\


Nathan.

kb7wg

thank u very much....

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

READY C:\>cd hla

READY C:\hla>hla -v hw
HLA (High Level Assembler)
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10131 (prototype)
Win32 COFF output
Using MASM assembler
MASM output
-test active

HLA Lib Path:     C:\hla\hlalib
HLA include path: C:\hla\include
HLA temp path:
Linker Lib Path:  C:\hla\hlalib;C:\masm32\lib;C:\hla\hlalib

Files:
1: hw.hla

Compiling 'hw.hla' to 'hw.asm'
using command line [hlaparse  -v -sm -test "hw.hla"]
HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10130 (prototype)
-t active
File: hw.hla
Output Path: ""

Compiling "hw.hla" to "hw.asm"
Compilation complete, 6382 lines,   0.048 seconds,  132958 lines/second

Assembling "hw.asm" to "hw.obj" via [ml /c /coff /Cp /Fo"hw.obj"   "hw.asm"]
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: hw.asm
Linking via [link @hw.link._.link]
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

-heap:0x1000000,0x1000000
-stack:0x1000000,0x1000000
-base:0x4000000
-entry:HLAMain
-section:.text,ER
-section:.data,RW
-section:.bss,RW
kernel32.lib
user32.lib
gdi32.lib
-subsystem:console
-out:hw.exe
C:\hla\hlalib
hw.obj
LINK : fatal error LNK1181: cannot open input file "C:\hla\hlalib.obj"
Error returned by link = 1181

READY C:\hla>

and hide.....

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

READY C:\hide\bin>khla -v hw

KHLA - Customizable HLA shell utility
Written by Sevag Krikorian
Version 1.01

HLA (High Level Assembler) is
Written by Randall Hyde and released to the public domain.

===== Active Options =====
==========================
FORMAT: Win32 COFF output
ASSEMBLER: MASM
Generating CONSOLE Executable
-test active, redirecting STDERR
TEMP folder: C:\HIDE\temp\
Using Custom Link Section : Link
Processing Files:
        hw.hla
Compiling :hw.hla
hlaparse.exe -@ -v -sm -test "hw.hla"

HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.77 build 9970 (prototype)
-t active
File: hw.hla
Output Path: "C:\HIDE\temp\"

Compiling "hw.hla" to "C:\HIDE\temp\hw.asm"
Compilation complete, 6246 lines,   0.033 seconds,  189273 lines/second
Assembling: C:\HIDE\temp\hw.asm
Target    : hw.obj
ml /c /Cp /coff /Fo"hw.obj" "C:\HIDE\temp\hw.asm"

Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: C:\HIDE\temp\hw.asm

Linking:
link @"C:\HIDE\temp\hw.link"
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

-subsystem:console
-out:hw.exe
-heap:0xF4240,0xF4240
-stack:0xF4240,0xF4240
-base:0x4000000
-entry:HLAMain
-fixed
-section:.data,RW
-section:.text,ER
-machine:ix86
kernel32.lib
user32.lib
gdi32.lib
"C:\HIDE\hlalib\hlalib.lib"
"hw.obj"

READY C:\hide\bin>

READY C:\HIDE\Temp>dir
Volume in drive C is Tom
Volume Serial Number is 5072-4B1A

Directory of C:\HIDE\Temp

02/12/2006  03:09 PM    <DIR>          .
02/12/2006  03:09 PM    <DIR>          ..
02/12/2006  03:09 PM             1,305 hw.asm
02/12/2006  03:09 PM                 0 hw.bss.inc
02/12/2006  03:09 PM               170 hw.consts.inc
02/12/2006  03:09 PM               284 hw.data.inc
02/12/2006  03:09 PM               517 hw.extpub.inc
02/12/2006  03:09 PM               252 hw.link
02/12/2006  03:09 PM                 0 hw.ro.inc
               7 File(s)          2,528 bytes
               2 Dir(s)  48,191,836,160 bytes free

READY C:\HIDE\Temp>
and i got hw.obj and hw.exe created in the hide bin folder at same time..

the hide command prompt seems to be working now..........AMEN.......
now...if we can get hla to work.......
thank u nathan.


kb7wg

and from the hide console.......things work fine......

MichaelW

Earl,

I think on your system the lib environment variable should be:

lib=;c:\hla\hlalib

With nothing else on the line.
eschew obfuscation

Evenbit

Quote from: kb7wg on February 12, 2006, 05:34:42 PM
i can use the con-alt-s and con-alt -e and then copy in the console box......but not in the output box....

Most Windows programs support using Ctrl-C for Copy and Ctrl-V (or Shift-Insert) for Paste.  Just tried Ctrl-C from the output box of the latest HIDE download -- and it works.

Nathan.

P.S. - Found this from a link at Sevag's site:

http://www.iecc.com/linker/linker01.html    -  more information about the linking process if you wish to read more about it.

kb7wg

ok...nathan....thats what i had to do.....
ok micheal....i changed it...........

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

READY C:\>cd hla

READY C:\hla>hla hw
Assembling: hw.asm
LINK : fatal error LNK1181: cannot open input file "C:\hla\hlalib.obj"
Error returned by link = 1181

READY C:\hla>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\earl\Application Data
CLASSPATH=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SYSTEM2
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
hlainc=C:\hla\include
hlalib=C:\hla\hlalib
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\earl
lib=;C:\hla\hlalib
LOGONSERVER=\\SYSTEM2
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\masm32;C:\masm3\bin;C:\hla;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys
tem32\Wbem;C:\Program Files\Support Tools\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 31 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=1f00
ProgramFiles=C:\Program Files
prompt=READY $P$G
QTJAVA=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\earl\LOCALS~1\Temp
TMP=C:\DOCUME~1\earl\LOCALS~1\Temp
tvdumpflags=8
USERDOMAIN=SYSTEM2
USERNAME=earl
USERPROFILE=C:\Documents and Settings\earl
windir=C:\WINDOWS

READY C:\hla>

MichaelW

The hlalib environment variable should be:

hlalib=c:\hla\hlalib\hlalib.lib

And your path should start out with:

C:\hla;C:\masm32\bin;...

You don't need the C:\masm32 part because MASM32 does not depend on a path and there is nothing in that directory that HLA needs.
eschew obfuscation

Evenbit

Quote from: kb7wg on February 12, 2006, 08:16:56 PM

...

and hide.....

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

READY C:\hide\bin>khla -v hw

...

and i got hw.obj and hw.exe created in the hide bin folder at same time..

the hide command prompt seems to be working now..........AMEN.......


and from:
Quote from: kb7wg on February 12, 2006, 04:24:13 PM
this is what i get when i try it with HIDE.....

READY C:\hide\bin>khla -v hw

That is NOT how you run HIDE!  You use HIDE by either typing "C:>hide" or by double-clicking on "hide.exe" in Explorer.  HIDE is a Windows GUI application and *does not* provide a command prompt.  The Command Prompt you are using is provided by the Windows operating system.  When you type "khla -v hw" you are running Sevag's KHLA utility which basically runs HLA -- which means you now have HLA working on your system because you are getting an "*.exe" file from your source code!

Nathan.

kb7wg

micheal.....that did it...nyuk nyuk.....great....

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

READY C:\>cd hla

READY C:\hla>hla hw
Assembling: hw.asm

READY C:\hla>hla -v hw
HLA (High Level Assembler)
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10131 (prototype)
Win32 COFF output
Using MASM assembler
MASM output
-test active

HLA Lib Path:     C:\hla\hlalib\hlalib.lib
HLA include path: C:\hla\include
HLA temp path:
Linker Lib Path:  ;C:\hla\hlalib;C:\hla\hlalib

Files:
1: hw.hla

Compiling 'hw.hla' to 'hw.asm'
using command line [hlaparse  -v -sm -test "hw.hla"]
HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10130 (prototype)
-t active
File: hw.hla
Output Path: ""

Compiling "hw.hla" to "hw.asm"
Compilation complete, 6382 lines,   0.048 seconds,  132958 lines/second

Assembling "hw.asm" to "hw.obj" via [ml /c /coff /Cp /Fo"hw.obj"   "hw.asm"]
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: hw.asm
Linking via [link @hw.link._.link]
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

-heap:0x1000000,0x1000000
-stack:0x1000000,0x1000000
-base:0x4000000
-entry:HLAMain
-section:.text,ER
-section:.data,RW
-section:.bss,RW
kernel32.lib
user32.lib
gdi32.lib
-subsystem:console
-out:hw.exe
C:\hla\hlalib\hlalib.lib
hw.obj

READY C:\hla>hw
Hello, World of Assembly Language

READY C:\hla>

damn.....thanks u guys.....for puttin up with me....i hope i can return the favor......thanks again....earl....now....nathan has something i did wrong......thanks again all...........

kb7wg

ok nathan....i double clicked on hide.....gui opened....i opened a file....built and ran it.....dos box came up....and said hello world.....................yahhhhhoooooo........i am i good now?

kb7wg

and nathan....thanks for those links.......i was really puzzled.....this cleared it up for me...
http://www.jorgon.freeserve.co.uk/GoasmHelp/newprog.htm   again...thank u so much....earl

Sevag.K

Great!  Now with that hassle over, you can get on with the fun part: learning assembly :)

kb7wg

thank u all......please ..really thank u alll.........im sorry i had so many problems..........thank u very much......if u r anyting like me......i hate not having control....