flat assembler
Message board for the users of flat assembler.

Index > Main > Whats the next step?

Author
Thread Post new topic Reply to topic
Teehee



Joined: 05 Aug 2009
Posts: 570
Location: Brazil
Teehee 25 Jan 2010, 12:37
Hi. I'm in Asm for a few months and i'd like to learn more, but i don't know what, how, or where.

Any idea/reference/sugestion/etc is apreciated.

_________________
Sorry if bad english.
Post 25 Jan 2010, 12:37
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 25 Jan 2010, 13:38
next step, you will need your fonts in order to display text in graphix modes.
Post 25 Jan 2010, 13:38
View user's profile Send private message Visit poster's website Reply with quote
hopcode



Joined: 04 Mar 2008
Posts: 563
Location: Germany
hopcode 25 Jan 2010, 14:09
Teehee wrote:
...Any idea...
I have follwed you for a while; i think fasm macro learning is a good proposal at this stage. (but If i do not mistake we will no more have a preprocedural/assembling stage in the version 2 of fasm, it is to say the internal macro system will change in the future)
More important is to have a goal, your own goal,because of the fact that having a goal, and planning it, i would say, 1-2 hours programming a day, you could reach that goal in a more planned manner/time (i speak from personal experience).
Goal could be, for example:
- finding job
- write an utility
- solve pc problems to friends
Decision is yours.
imho, you have all that you need,
keep it up so studying and applying, because i think it is good so till now.

Cheers,
hopcode
Post 25 Jan 2010, 14:09
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20304
Location: In your JS exploiting you and your system
revolution 25 Jan 2010, 14:13
If you are trying to learn just for the sake of learning then it will be very hard to do that way. If you have a project or task to do then the learning comes automatically. If you have no better project then I can suggest to write a small game.
Post 25 Jan 2010, 14:13
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 570
Location: Brazil
Teehee 25 Jan 2010, 14:54
Quote:
next step, you will need your fonts in order to display text in graphix modes.

I liked your suggestion Smile

Quote:
but If i do not mistake we will no more have a preprocedural/assembling stage in the version 2 of fasm, it is to say the internal macro system will change in the future

You mean that the syntax may change?

Quote:
If you have a project or task to do then the learning comes automatically.

Yeah, i have noticed that! actually, i have some projects like [all that things that beginners dream:] debugger, IDE,... the only problem is the WinApi. I spend too much time on it... expecialy when there is no control that i need.
Post 25 Jan 2010, 14:54
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20304
Location: In your JS exploiting you and your system
revolution 25 Jan 2010, 15:03
Teehee wrote:
Quote:
but If i do not mistake we will no more have a preprocedural/assembling stage in the version 2 of fasm, it is to say the internal macro system will change in the future

You mean that the syntax may change?
While the above is true, it is not something to be too worried about. Tomasz has stated that fasm2 is not likely to happen for a long time.
Post 25 Jan 2010, 15:03
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 25 Jan 2010, 15:27
two things are still needed to make your font.

the pi (programming interface) the aspect of the font in a programming point of view, where is the text to display, where to display, the color etc...

the second point is how to display the font with the data you have.
it is the CPU Interface.

the thing beetwen PI and CPUI is the code in your function.

that is what you write for the CPU in asm, with the datas writen in language your want, but at least refeenced in your code. but it is a little better to write your datas with fasm at the begining, and macro is a good thing for this.

you will need a string and your font.

two layers are inside the function to display strings.
putchar, to put one single char
printf to call putchar one char by one char from the string.

and when you have your text function, you need a Hex to ascii function to debug your code.

mov eax,var
mov ebx,string
call hexa to ascii
mov eax,string
mov ebx,font
call display texte

enjoy! and as say hopcode, do what you want before to do what we tell you to do. Smile
Post 25 Jan 2010, 15:27
View user's profile Send private message Visit poster's website Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2465
Location: Bucharest, Romania
Borsuc 25 Jan 2010, 20:17
revolution wrote:
Teehee wrote:
Quote:
but If i do not mistake we will no more have a preprocedural/assembling stage in the version 2 of fasm, it is to say the internal macro system will change in the future

You mean that the syntax may change?
While the above is true, it is not something to be too worried about. Tomasz has stated that fasm2 is not likely to happen for a long time.
Not to mention if that were the case, you could still use FASM1 Smile

_________________
Previously known as The_Grey_Beast
Post 25 Jan 2010, 20:17
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.