Login
Search for:


Previous | Next

From: pzsolt (all posts)
Date: 2000-01-15
Subject: Re: WinEMU 0.47R2
> >> Colors? I can make better colors, not problem. I will implement a
> >> "slider" into the options to change the brightness.
> >
> >Hehe, this sounds very good :) But don't do it for 1 user :)
> >Maybe once a time I will buy a better monitor with more light.
> >(in fact, I would be happy to see a such option)
>
> Actually DirectDraw has a GAMMA mode built in these days.. its very
> easy to use.. If you're after plug in code Zsolt let me know... I have
> it handy...

Good idea! I will use it. But the real problem is the palette. Today I implemented a new palette, because the old palette is realy a little bit dark. Now you can switch between them, and the new one is better.

> BTW.. Zsolt... I've had some problems with DSound... is there any
> got'yas I should know about?

Yes, it was not too easy when I made it. First it worked well, I was happy.
But I got some mails about some mistical "no sound" things. It happend mainly with SB128, ESS Maestro chipsets. The problem was at a pointer which points to the first free byte in the sound buffer. And when I created the buffer, I thought the first free byte is the first byte of the buffer.
Well... sometimes it is not true! And then the DirectSound cannot write into the buffer!
And do not use 8 bit samples! First I used 16 bit samples, but it was "too nice".
I changed the engine to 8 bit and it sounds better on my SBLive, but most of the sound cards cannot play it properly. Later I have to switch back to 16 bit.
If you need sample code, feel free to write me!

And if you use paletted mode for directdraw, do not forget to use the DDPCAPS_ALLOW256 when you create the palette. I forgot it and the 255. color was always white... :-))) Microsoft rulez...

And... so on... if you want to know anything about the DirectX, write me!

Greetings,
Zsolt

Copyright © Plus/4 World Team, 2001-2024