flat assembler
Message board for the users of flat assembler.

Index > Main > d3d9 lib

Author
Thread Post new topic Reply to topic
codecow



Joined: 25 Oct 2015
Posts: 1
codecow
Hi I need to write dll.

the dll would init d3d9 window and allow to write framebuffer like old mode 13h

i am working on it in C. Do you know much about d3d9 initialisation ?
I cannot start with D3D9LOCKABLE_BACKBUFFER flag.initialisation fails.

can you help me ?
Post 25 Oct 2015, 09:54
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Read the documentation.

Flags, memory alignment for structures, etc...
Post 26 Oct 2015, 21:20
View user's profile Send private message Reply with quote
borbonhause



Joined: 18 Oct 2015
Posts: 23
borbonhause
Guys, I need this too. Maybe not for d3d9, but even for d3d8, since that's what Warcraft III uses. It's kind of hard to find a good info for that, to the point that half of examples from some very old DirectX SDK I managed to find in one stackoverflow question refused to run on my computer.

It probably wouldn't matter that much, since I can just use OpenGL for graphics and winmm.dll or something for sound, but... Or using OpenAL for sound, but I'm not sure how popular this library is. Is it installed on 100% of computers, on 60%, 25%, 2%?

No I can't help you. What's this "old mode 13h" by the way?
Post 08 Nov 2015, 10:20
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 238
Location: Poland
macgub
Mode 13h - 320x200 resolution and 256 colors. Many graphic stuff (games, demos) use this mode in DOS days.
Post 08 Nov 2015, 17:20
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.