PDA

View Full Version : OGL in ASM



nukem
02-04-2003, 07:35 PM
Hi my friend and me has been looking all over the web on tutorials/examples on how to do OGL using ASM but has found nothing. Could someone please help us?

Thanks,
Nuke

HalcyonBlaze
02-04-2003, 08:24 PM
I remember there being a demo on Romka graphics that had source code and what not. I hope you don't mind me asking...but why would you want to do OpenGL in ASM? http://www.opengl.org/discussion_boards/ubb/biggrin.gif

- Halcyon

nukem
02-04-2003, 09:11 PM
I googled the page but the only page I found didnt have any asm could you link me plz? We are doing it in ASM cuz its probly going to be faster and we have nothing better to do. lol

HalcyonBlaze
02-04-2003, 10:06 PM
http://www.redbrick.dcu.ie/~eoin/programs.htm

Sorry, I looked at Romka a LONG time ago and I think it got taken down. It could have moved...in which case if anyone knows the link to it i would appreciate it!!!

The site above seems to have some code to show you atleast how to get started with creating the OpenGL window/shell.

- Halcyon

nukem
02-04-2003, 10:17 PM
heh thanks for the link

marcus256
02-04-2003, 10:27 PM
I don't have any tutorials, but GLFW (http://hem.passagen.se/opengl/glfw) comes with MASM32 support, and an example program in assembler that shows how to set up a window and render a simple animation in it.

nukem
02-05-2003, 09:35 AM
thanks that site seems great. Im not as much as an asm expert as him(im just learning) but he says theres gonna be a problem cuz we use tasm not nasm :\

marcus256
02-05-2003, 10:34 AM
Originally posted by nukem:
thanks that site seems great. Im not as much as an asm expert as him(im just learning) but he says theres gonna be a problem cuz we use tasm not nasm :\

What you need is:

1) Bindings & support for loading & using glfw.dll
2) The same for opengl32.dll & glu32.dll

I don't know how that works from TASM, but it can't be extremely different from MASM (except perhaps for the prototyped function calling support in MASM).

Adrian
02-05-2003, 10:43 AM
Originally posted by HalcyonBlaze:


Sorry, I looked at Romka a LONG time ago and I think it got taken down. It could have moved...in which case if anyone knows the link to it i would appreciate it!!!



I can tell you exactly what happened to Romkas site because the same happened to mine. http://www.opengl.org/discussion_boards/ubb/frown.gif

Our sites were hosted by demonews. The owner of demonews decided to sell the domain to someone else without telling the new owner about all the hosted sites. The new owner wasn't interested in continuing hosting us and our sites disappeared without warning. Well I was hosted for free so I shouldn't complain too much but regardless he should have warned us so we could begin redirecting traffic and finding a new server.

AFAIK romkas site hasn't reappeared yet.