I was wondering if there is already a complete conversion of iczelions tutorials from MASM syntax to FASM? I have some free time, I can convert some if none exists. :grin:
Posted on 2002-08-14 18:59:23 by stryker
Someone, can't think of a name but for some reason I'm sure its the guy who uses maths equations drawn in ms paint as his avatar has already converted some. :confused:

Ok, that cryptic description may be of no help, think the name starts with 'eet' or something. Anyway someone definatly has converted some of them.

And I think this response too may 'somes' in it so I'll quit now before it gets worse... :grin:
Posted on 2002-08-14 20:56:44 by Eóin
Oh you mean eet_1024? Oh well, I'll just convert "some" if he already converted "some". :grin:

/me waiting for eet_1024 to reply on what were the converted tuts, so I won't be repeating and wasting my time. :grin:
Posted on 2002-08-14 21:36:37 by stryker
LOL
I'm sure its the guy who uses maths equations drawn in ms paint as his avatar



Well, I did. It appears that I've translated Tut 1 to 6. But I can't find 1 - 3 anywhere (I even tried google). Here is a zip of 4-6:

That's strange. I'll fix it when I get home.
Posted on 2002-08-16 03:01:45 by eet_1024
Ummmm,

Your zip file appears to be empty....
Posted on 2002-08-16 07:38:40 by ThoughtCriminal
Ok, try this:
Posted on 2002-08-16 21:08:41 by eet_1024
:alright:
Now it works great!

Just one mistake: 'Tut_6\Orig_4.asm' should be 'Tut_6\Orig_6.asm'. I hope I'm not being too meticulous here :grin:
Posted on 2002-08-17 01:18:51 by Natix
Here's 2-9 from Iczelions tutorials. Oh and BTW, the code inside is a good excercise for stack concepts. Enjoy. :alright:

I'll finish 10-19 later, when I can find some time. :)

::edit::

while I was away I didn't know what were the tuts eet_1024 converted, so I started the project without hesitation. Sorry for repeating.

BTW, I think there is an error on the MSG structure on one of the include files. The MSG structure defines pt as a doubleword, it should be a POINT structure. This is from fasm 1.39 - sorry, if this has already been corrected. :)


struc POINT
{
.x DD ?
.y DD ?
}

struc MSG
{
.hwnd DD ?
.message DD ?
.wParam DD ?
.lParam DD ?
.time DD ?
.pt POINT
}
Posted on 2002-08-17 17:17:37 by stryker
:alright:

you're right, the error is still in the latest beta.
Posted on 2002-08-18 02:15:20 by Natix
Thanks for the report. It's fixed now.
Posted on 2002-08-18 13:13:24 by Tomasz Grysztar
Stryker, you do so much things manually (which can be done using macros) that these tutorials would rather discourage than help. Maybe I'll do my own conversion...
Posted on 2002-08-19 03:25:21 by Tomasz Grysztar
I have quickly converted 2-7, that was quite fun...
Do you want more?
Posted on 2002-08-19 04:45:03 by Tomasz Grysztar
that these tutorials would rather discourage than help
I knew somebody would say this.

LOL :grin: I did a lot of macros but I was thinking that it would be nice to let people have a good excercise on the stack, and how things are done the hardcore way. :) Anyway, I planned macros for later. Any tuts converted in the future will no longer use ebp-... stuff... :grin: I promise.

:alright:
Posted on 2002-08-19 11:00:24 by stryker
Hardcore all the way!!!

I thought invoke was for the devil before I learned how to do it by hand. Hardcore is part of the learning process.
Posted on 2002-08-20 02:59:21 by eet_1024
Then why was I spending the hours on designing those macros if noone wants to use them? :grin:
Posted on 2002-08-20 11:17:40 by Tomasz Grysztar

Then why was I spending the hours on designing those macros if noone wants to use them? :grin:
I use them too but sometimes when you feel bored and you have nothing else to do besides waiting for the end of the day, you just like how 1337 the code looks without macros... :grin: Aside from this reason, I usually use macros. Hey! didn't I use invoke? :grin:

/me still learning how to create macros under FASM so I can port my xcall macro from MASM. :)
Posted on 2002-08-20 13:13:02 by stryker
I use the macros. I even use Stack Locals now that I understand the stack frame and how your macro implements it.

On another topic, is there a way to have FAsm fill in all ( or most) of the PE Header?
Posted on 2002-08-21 01:48:58 by eet_1024
Here's my conversion modified to use the latest FASMW includes.
Posted on 2003-02-19 08:35:28 by Tomasz Grysztar
Why this: :confused:


macro RGB red,green,blue
{
xor eax,eax
mov ah,blue
shl eax,8
mov ah,green
mov al,red
}


Why not simply: mov eax, $00bbggrr

I thing this is one good example why: "more macroses, better code" is not always true.
:grin:
Posted on 2003-02-19 09:39:05 by JohnFound
I was just trying to imitate the original Iczelion's code.
Posted on 2003-02-19 12:27:47 by Tomasz Grysztar