flat assembler
Message board for the users of flat assembler.
Index
> Main > 40 OpenGL examples in Masm to be converted in Fasm |
Author |
|
psykhaze 18 Nov 2012, 15:46
Hi everybody,
I am a newbie in assembly language and i found a bunch of tutorials in openGL for Masm http://franck.charlet.pagesperso-orange.fr/Ogl_Asm.zip . As i prefer Fasm to Masm, i tried to compile these examples but i couldn't compile any of the examples,due to syntaxic problems betweem Masm and Fasm. I have been hacking around for a day and i feel like lost because of no results. I have a lot of free time and i can work on the subject but i need support. May somebody help me? I think these tutorials should be useful for everybody once ported. Thanks for the answers |
|||
18 Nov 2012, 15:46 |
|
JohnFound 18 Nov 2012, 16:24
Hi.
If you ask specific questions, someone will answer them. Probably. |
|||
18 Nov 2012, 16:24 |
|
tthsqe 18 Nov 2012, 20:43
If you post the actually asm file here (not link to it) and it is not too long I might be able to help you convert it.
|
|||
18 Nov 2012, 20:43 |
|
psykhaze 18 Nov 2012, 20:54
Here is one of the files that gives me headaches, it is a bunch of type conversion used in many others sources of the examples.
Let's start with the beginning
|
|||||||||||
18 Nov 2012, 20:54 |
|
JohnFound 18 Nov 2012, 22:41
Well, this file uses MASM syntax. You can't compile it with FASM. You have to read about FASM macro syntax and convert needed macros into the FASM syntax.
IMHO, some of these definitions will not be needed for FASM sources, but you must analyze then one by one. Also, for tutorials (IMHO) you should avoid excessive use of complex macro definitions. |
|||
18 Nov 2012, 22:41 |
|
nop 19 Nov 2012, 22:22
JohnFound wrote: Well, this file uses MASM syntax. You can't compile it with FASM. |
|||
19 Nov 2012, 22:22 |
|
tthsqe 20 Nov 2012, 07:37
psykhaze,
if you post a asm file for a working program (not a link, and not a bunch of macros), i can prob. help you smaller programs are preferable |
|||
20 Nov 2012, 07:37 |
|
psykhaze 21 Nov 2012, 16:25
mmmh well,thank you tthsqe,but the architecture of these tutorials include a framework i think a bit complicated to be simply be converted alone.If you are interested we can work on this,perhaps.I leave an exmaple program with all files needed i had under the hand.(the framework i talked about includes direct input and direct sound routines and many things i don't like etc).Anyway these example in opengl would fit for sure as very good tutorials at my advice.Thanks in advance to anyone motivated to help with the conversion
|
|||||||||||
21 Nov 2012, 16:25 |
|
tthsqe 22 Nov 2012, 03:52
hmm, i still don't see an working program (.exe) in there.
I'll keep looking and see if i can figure out what is going on in these files, like Alpha_Blend_Texture. Have you played with the opengl demo included with fasm? You should be able build things from the ground up using those examples as a guide. converting that much code should be a long task... |
|||
22 Nov 2012, 03:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.