The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: OceanJeff32 on February 22, 2005, 06:19:27 AM

Title: Direct X MASM Skeleton anyone?
Post by: OceanJeff32 on February 22, 2005, 06:19:27 AM
Has anyone seen an example program, complete with includes, etc. that works and assembles with MASM, for any of the Direct X SDKs since 7.0 or later?

I'm looking for a skeleton file that loads up and interfaces with COM.

I've seen lots of info, and seen a few examples, that won't compile or work with any Direct X SDK release I have.  (And I have all of them...well, microsoft has all of them anyways.)

Hopefully someone has something.

Jeff C
:U

P.S. If it's for another assembler, I would still be interested (others also), but right now I'm hooked on MASM. Later guys
Title: Re: Direct X MASM Skeleton anyone?
Post by: hutch-- on February 22, 2005, 06:20:57 AM
I don't remember the link but have a look at Scronty's site. Phil has done a lot of work in this area while he had the time.
Title: Re: Direct X MASM Skeleton anyone?
Post by: MichaelW on February 22, 2005, 12:30:11 PM
http://www.scrontsoft.com/
Title: Re: Direct X MASM Skeleton anyone?
Post by: Foulone on February 26, 2005, 05:42:58 PM
Did you get anywhere with the DirectX code jeff?
Title: Re: Direct X MASM Skeleton anyone?
Post by: OceanJeff32 on February 27, 2005, 05:06:05 AM
Scrontsoft.com looks like a great web site, and I'll play with the code probably, but it's for Direct X 8.1, and what I want immediately is Direct X 9.0 (any release/update) for the ID3DXSprite Interface functionality.

I will probably look at it and figure out how to modify it to interface with Direct X 9.0 and then upload the changes here.  (This would be a pretty big undertaking, it depends upon what all is required to get minimum interface to Direct X)

Direct X 8.1 has a lot of neat stuff for 3D, etc, so maybe I'll devote some time to it soon, but for now, I'm working with WIN GDI and the bitmap page-flipping 2D and 3D Particle systems.

I'll keep you all posted,

Jeff C
:bg
Title: Re: Direct X MASM Skeleton anyone?
Post by: drhowarddrfine on February 28, 2005, 05:43:22 AM
I did a fair amount of work with DirectX and asm over a year ago.  Scronty does have some good stuff.  A lot can be learned just from the Microsoft docs.  The hardest part is getting all the COM stuff down but once you do it's relatively easy. :dazzled:
Title: Re: Direct X MASM Skeleton anyone?
Post by: Siekmanski on February 28, 2005, 09:28:32 AM
Hello OceanJeff32

Here are some direct3D9 includes/libs and some examples:

http://members.home.nl/siekmanski/d3dx9_asm.zip

Have a look at d3d9x3dtext example it uses the ID3DXSprite Interface

Have fun, Siekmanski  :8)
Title: Re: Direct X MASM Skeleton anyone?
Post by: DC on March 04, 2005, 03:07:59 AM
Hi Jeff,
I have spent a couple years on the subject of directx,
it's thick but not without hope...
I have a couple include files that you might like, they contain some directx 8 includes (some of which I have altered a bit to work with an include I wrote to handle com in the directx universe). I'd be wiling to answer any q's and help you understand any part of what I have... everyone here knows I like my beer and aint a pro or nothin' but, I'll help you get started... at the moment I'm feelin' my porters...hang in there, this is not a dead end...
Title: Re: Direct X MASM Skeleton anyone?
Post by: OceanJeff32 on June 20, 2005, 08:56:02 AM
Hey guys, I'm back!!! It's been forever!  School's out!

Anyways, I've managed to compile some DirectX 8.1 code with MASM now, and I'll be working on entering that contest on gamedev.net the four elements, pirates, ninjas, robots, and zombies. lol

Scrontsoft.com is AWESOME!  I will use this information to port the stuff to the newest Direct X 9.0c June 2005 or whatever update is out there now!!!

I took a break from MASM, always kept it in my mind, and learned JAVA 2 stuff.

check out the cool applet on my web site

http://www.jeffpowerweb.bravehost.com

The web site loads for 800x600 or 1024x768 users.

Later guys,

Jeff C
:bg

PS I got the scrontsoft.com stuff to compile, but you have to be sure to have the Direct X 8.1 SDK, which is not too cool...and you also have to have the .dll files from direct X 8.1 runtime, the .dll has to be the in the same working directory as the application file when trying to run it.
Title: Re: Direct X MASM Skeleton anyone?
Post by: roticv on June 20, 2005, 12:01:51 PM
[offtopic]

Why don't you convert it to breakout (If I remembered the name correctly)?  :toothy