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
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.
http://www.scrontsoft.com/
Did you get anywhere with the DirectX code jeff?
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
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:
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)
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...
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.
[offtopic]
Why don't you convert it to breakout (If I remembered the name correctly)? :toothy