flat assembler
Message board for the users of flat assembler.

Index > Windows > Wanted: Flat-Asm Tutorials!

Author
Thread Post new topic Reply to topic
sooty



Joined: 30 Aug 2005
Posts: 1
sooty 30 Aug 2005, 11:03
Hi, Im just looking for a heap of fasm programming tutorials:) Can someone please point me in the correct direction:D Thanks.
Post 30 Aug 2005, 11:03
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 30 Aug 2005, 12:02
there are no FASM tutorials Sad few are in development (like mine - search for "tajga fasm tutorial", and privalov's on the site. i don't know about any other, but both are very incomplete, altough they do contain something useful.
Post 30 Aug 2005, 12:02
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 30 Aug 2005, 12:34
I've got OpenGL fasm tutorial, but it's in russian...

_________________
Image
Post 30 Aug 2005, 12:34
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 30 Aug 2005, 14:03
Post 30 Aug 2005, 14:03
View user's profile Send private message Visit poster's website Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius 31 Aug 2005, 02:39
We need good FASM tutorials. I remember when I first began using FASM, I had to compare FASM code with code written in other dialects of assembly, and also read the manual. Of course, a lot of things are the same as in other assemblers, but there were enough differences to make it difficult for me to learn. I didn't know about the Tajga tutorial back then, but even that might not be very useful for noobs.

We may not need to write a new tutorial, however. We could just rewrite some existing tutorials for other assembly dialects, giving credit to the author(s). I might write a FASM tutorial when I have some spare time, but since school just started for me I have very little time to spare.
Post 31 Aug 2005, 02:39
View user's profile Send private message AIM Address Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 31 Aug 2005, 06:02
it is a very short request, but not easy realisation, from one side. of course, if would be good to have a systemized tutorial, but from other side:
1. i can not agree there are no tutorials at all. there is a fasm manual at first, there are examples in each fasm package, most of them simple enough to understand even without comments - they are ready tutorials: compile, see result, add something, compile, see.. etc. when this step will be successful, other can be found in many ready other tutorials, intel manuals, MSDN, etc.
2. there are self-education methods which are general and not fasm specific: newbies should not start code own OS or pdf-reader if they do not understand what's wrong in mov eax,ah ("delphy" desease Smile ), they should make all step-by-step, should use debugger to see and understand how their code works - this will be even more efficient then mess in hundreds of lines of good tutorial code. i think some such recomendations can be just added to FAQ (as well "Recommendations for newbies in asm").
3. good tutorial is not a guaranty of success: it is always need to work. once i got tasm 3.2 and paper book about it (before i've been written only in asm for i8080). it was too hard to me to compile "hello, world" from it. after years i should say it was a good book enough (sorry i'd lost it).
Post 31 Aug 2005, 06:02
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf 31 Aug 2005, 07:06
I started by reading some masm tutorials and started learning masm...then switched over to fasm.
I found that wasn't too difficult because the syntax is similar...actually simpler in fasm Razz
Maybe you should read some MASM tutorials.
There are plenty about.
Post 31 Aug 2005, 07:06
View user's profile Send private message MSN Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 31 Aug 2005, 10:42
an shoorick is of course right, you should experiment with examples, and only very few tutorials are what i call "good". FASM's manual is good as tutorial to FASM's syntax for those who already know assembly and partially as x86 instruction set referene (very brief one), not to learn IMHO. but anything that helps a bit should be used. At least you are not flooded with huge junk of worthless things, like with "popular" assemblers Wink
Post 31 Aug 2005, 10:42
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 31 Aug 2005, 11:36
this is not fasm tutorial, but a "quite comprehensive" reference for assembly language programming.

x86 Assembly Language FAQ
http://www.frontiernet.net/~fys/faq/index.htm
Post 31 Aug 2005, 11:36
View user's profile Send private message Visit poster's website Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius 31 Aug 2005, 22:54
shoorick is right, but it would be nice to have some tutorials specifically for FASM programming, in various OSes (DOS, Windows, Linux, MenuetOS, etc.). It's not that there aren't documents on assembly language programming in these OSes. There just aren't documents for FASM programming in these OSes.

Using the FASM docs, examples, and docs about assembler programming (using MASM or TASM or NASM syntax), one could - theoretically - figure out how to do it. However, docs are not the same as tutorials, and tutorials written for MASM/TASM/NASM are not what we need. For someone who knows a lot about the subject already, it's easy to combine knowledge about FASM syntax (from docs) and MASM examples (from tutorials) and figure out how to program in FASM. However, for a n00b, especially since FASM has a lot of non-standard directives and things, the examples and docs don't help much. Also, it works differently than MASM or TASM, so that makes it difficult.

If you already know assembly, moving to FASM is easy. For a n00b, however, it's probably difficult, and it would be nice to have some tutorials specifically about FASM.
Post 31 Aug 2005, 22:54
View user's profile Send private message AIM Address Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey 01 Sep 2005, 01:15
The lack of FASM specific tutorials was my problem as well.
The solution is I am learning win32Asm with MASM and then
I can tranlate to whatever assembler I choose.
Post 01 Sep 2005, 01:15
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 01 Sep 2005, 06:30
usually in tutorials needed newbies, but when they grow up, it became not interesting to them Smile i think everybody who has own old test application can explain it, comment and post, then they can be collected into tutorials. so, let's do it Smile
Post 01 Sep 2005, 06:30
View user's profile Send private message Visit poster's website Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey 01 Sep 2005, 21:07
To what extent is FASM used by those who have moved
from another assembler for Windows and those who are
either new to assembler, new to Windows or new to both?
Post 01 Sep 2005, 21:07
View user's profile Send private message Reply with quote
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist 04 Sep 2005, 19:52
The way I learned assembly was to use HLA and the Art of Assembly Language, and then slowly move to using pure ASM in the HLA compiler, then finally switching to FASM. That worked pretty well for me.
Post 04 Sep 2005, 19:52
View user's profile Send private message Visit poster's website Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost 04 Sep 2005, 20:39
ive seen alot of iczelions win32 asm tutorials converted to fasm on this board

_________________
redghost.ca
Post 04 Sep 2005, 20:39
View user's profile Send private message AIM Address MSN Messenger Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey 04 Sep 2005, 21:57
Yes, I have the FASM version of Iczelion's MASM code written by
Sulaiman Chang. They are not actual tutorials in the sense they
don't teach FASM syntax or add in any way to Iczelion's tutorial text.
Thus although they helped understanding how MASMs high level
control directives unfold they don't actually teach how to use FASM.

I would ask RedGhost to what extent HLA taught how to program
the Window's GUI (menus, buttons, dlls etc) as opposed to just
teaching assembler. They are two different problems.

Is HLA complete in the sense of teaching Windows as well as
assembler?

It was suggested I learn the MASM syntax (and maybe FASM
syntax) with console win32 assembler programs? Anyone know
of a tutorial that does that.

The problem for someone teaching themselves, as opposed
to a student with access to a lecturer, is that the text may
assume knowledge when giving an explanation.

As I implied earlier and confirmed in the case of RedGhost.
FASM users learn using another assembler (eg HLA). In that
sense it is perhaps not suited to someone learning assembler
or learning Windows.
Post 04 Sep 2005, 21:57
View user's profile Send private message Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey 04 Sep 2005, 23:16
Perhaps I should have added that I think Sulaiman Chang FASM
examples are a great resource to a beginner. So if you happen
to read this Sulaiman, thank you.
Post 04 Sep 2005, 23:16
View user's profile Send private message Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier 05 Sep 2005, 05:52
I would have to agree that Sulaiman's translation of the Iczelion tutorials was the most useful resource when I switched from MASM to the FASM. And now Tomasz has made the change even easier with the MASM macros!!

farrier

Link to the Sulaiman Chang tutorial translation, & more!
http://sulaiman.netadvant.com/

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 05 Sep 2005, 05:52
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.