flat assembler
Message board for the users of flat assembler.

Index > Windows > window newbie questions

Author
Thread Post new topic Reply to topic
casey



Joined: 18 Aug 2005
Posts: 35
casey
Hi all,

Still trying to get a handle on windows assembler
programming whenever I get the spare time. I found
the Fresh ide too complex and have reverted back to
the fasmw ide. Years ago when I last programmed
with assembly it was with NASM and NASMIDE and some
32 bit NASM stuff from the DOS command prompt.

What does the % mean in an include pathway?

eg. include '%fasminc%\win32a.inc'

I can't get the include pathways to work with any of
the examples and have to put in the full pathway.

eg. include 'c:/fasm32/include/win32a.inc'

Where can I get an explanation of the '.idata' section
for imports?

Where can I get an explanation as to how to write my
own resources in section '.rsrc' resource data readable

Has anyone translated the Test Department tutes,
that come with RosAsm, into their FASMW equivalents?

The FASM version of the Iczelion tutes are good although
required some changes such as return to ret but the
they have unexplained differences to the MASM versions.
In particular they don't have the 'idata' and thus MASM
appears much simpler to read/write??

Thanks for any input,

Cheers,

John Casey
Post 11 Apr 2006, 23:31
View user's profile Send private message Reply with quote
augustomaeda



Joined: 16 Mar 2006
Posts: 2
Location: Brazil
augustomaeda
Hi casey,

As I am also a newbie, I think I can't help you very much. Sad


Instead of writing 'C:\Fasm\Include\win32a.inc',
you can define a new environment variable
which name is fasminc
and which value is ‘C:\Fasm\Include’

Thus you can write:
Include '%fasminc%\win32a.inc'


I think you can find the things about
the import and resource sections in
Fasm documentation.


Augusto 前田.
Post 12 Apr 2006, 00:16
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
Quote:

I can't get the include pathways to work with any of
the examples and have to put in the full pathway.

eg. include 'c:/fasm32/include/win32a.inc'

i actually posted some "video tutorials" Smile in my site.
please watch the video 5,
Set environment variables for Fasm assembler
Post 12 Apr 2006, 00:39
View user's profile Send private message Visit poster's website Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey
Thanks vbVeryBeginner,

Following and trying to remember a sequence
of movie instructions is a little bit hard
for me Smile Using the pause/play I managed
to extract the sequence. I would have shown
it in text like this,

My Computer icon on desk top right click ->
pop menu select Properties
System Properties dialog -> Advanced tab ->
[Environment Variables] -> [New] ->
New System Variable dialog ->
Variable Name = fasminc
Variable value = c:\fasm\include
[OK] ->
Environment Variables dialog ->
System Variables list box ->
select: Path ....
[EDIT]
Edit System Variable Dialog ->
Variable Name = Path
Variable Value = " ... ;c:\fasm
[OK] -> Environmental Variables Dialog
[OK] -> System Properties dialog
[OK]

Done ...

Now to find out how the decide what goes
into the idata section and why MASM doesn't
need it and how to code the resource section Smile

John
Post 12 Apr 2006, 04:13
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.