BINS_DDK.exe
Moderator: InsideQC Admins
12 posts
• Page 1 of 1
Microsoft's Driver Developer Kit binaries. Which is any easy way to get MASM, Microsoft's assembler, which is needed to build the Quake engine source without switching off the assembler code. (most GLQuake projects switch off the assembly because it's not that much of a speed advantage in non-software).
- FrikaC
- Site Admin
- Posts: 1026
- Joined: Fri Oct 08, 2004 11:19 pm
thanks. i have been looking for this
http://bradshub.ath.cx - take a look at my web site.
Come on, admit it. You're the smartest person you know.
Come on, admit it. You're the smartest person you know.
-

not_l33t - Posts: 32
- Joined: Sun Oct 08, 2006 10:00 am
- Location: Downunder
Re: BINS_DDK.exe
even if you're not doing a software engine, I still recommend using the MASM stuff when available, because of sound mixing, this applies just as well to GLQuake
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: BINS_DDK.exe
theres also http://www.masm32.com/ and its still being updated as well 
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: BINS_DDK.exe
You don't need MASM if you're compiling with Visual C++ 2008 or 2010 (don't know about 2005) - it comes with the download already (even the express versions).
Personally I just GAS2MASM the files, pull the resulting .asm files from the output folder, include them in the project (selecting the appropriate build rule when prompted) and junk the .s files entirely. There's a bit of massaging needed for some of the software Quake stuff where some jump labels have the same name aside from case, but otherwise it's clean.
Quake II used inline ASM in it's software renderer which might be worth looking at/copying from (I reckon that if you're using MASM in the first place then the added portability is low on your priority list).
Personally I just GAS2MASM the files, pull the resulting .asm files from the output folder, include them in the project (selecting the appropriate build rule when prompted) and junk the .s files entirely. There's a bit of massaging needed for some of the software Quake stuff where some jump labels have the same name aside from case, but otherwise it's clean.
Quake II used inline ASM in it's software renderer which might be worth looking at/copying from (I reckon that if you're using MASM in the first place then the added portability is low on your priority list).
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
Re: BINS_DDK.exe
msvc gives up on optimisations within any function that contains a little asm, so if you use inline assembler, make sure its isolated within its own functions.
msvc doesn't support inline assember for the amd64 instruction set at all. and even if it did, you'd need to rewrite it all anyway. Its not just register names/sizes.
msvc doesn't support inline assember for the amd64 instruction set at all. and even if it did, you'd need to rewrite it all anyway. Its not just register names/sizes.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: BINS_DDK.exe
an alternative is jwasm (port of the watcom assembler) it has close syntax to the old masm.
from jwasms site.
native support for output formats Intel OMF, MS Coff (32- and 64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
64 bit inline assembly might be possible with the intel compiler hooked up to msvc cant remember though.
from jwasms site.
native support for output formats Intel OMF, MS Coff (32- and 64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
64 bit inline assembly might be possible with the intel compiler hooked up to msvc cant remember though.
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
12 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
