VOGONS


First post, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Just reply to this thread on what speed improvement you get.

exe & diff are attached.

Attachments

  • Filename
    fast.diff
    File size
    2.46 KiB
    Downloads
    286 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    dosbox.exe
    File size
    1.21 MiB
    Downloads
    297 downloads
    File license
    Fair use/fair dealing exception

Reply 3 of 10, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Haven't tested that much but it seems the same as normal CVS to me.

Do you notice a difference yourself ih8?

How To Ask Questions The Smart Way
Make your games work offline

Reply 4 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Yes. Idle cpu utilization halved, increase cycles from a little to a lot depending on the game. My system being an athlon xp 2700, 256k l2. I watch cpu usage with process explorer http://www.sysinternals.com/Utilities/ProcessExplorer.html running dosbox windowed on 98se.

Reply 5 of 10, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Odd, I could have swore that DosBox was close to 0% @ the CLI on my 2800 in earlier builds. Now after reading your comment I loaded up the latest CVS and it seems to hang around 32%. Using your build it seems to be about half that much. Interesting....

Quake v1.08
320x200

Your CVS
42000 cycles=95-99%

Ordinary CVS
40000 cycles=95-99%

640x480

Your CVS

68000=95-99%

Ordinary CVS
48000=95-99%

Duke Nukem 3D
320x200

Your CVS

31000=95-99%

Ordinary CVS

32000=95-99%

640x480

Your CVS
42000 cycles= 95-99% CPU

Ordinary CVS
33000 cycles=95-99% CPU

How To Ask Questions The Smart Way
Make your games work offline

Reply 6 of 10, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

You should probably ignore the 320x scores. I have some background apps running.

How To Ask Questions The Smart Way
Make your games work offline

Reply 8 of 10, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I found that the patch (a part or all of the contents of fast.diff) is now in cvs repository of dosbox.
But it set the value of frameskip to '1' as I tested. (but dosbox says frameskip=0)
Therefore the overall movement of games is not soft(flexible) for me.)

Reply 9 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Crap, I think I see what would cause that, a > instead of a >=, which would make the optimization bullshit(the generated code does get rid a jump but still..).

orig:
if (render.frameskip.count<render.frameskip.max) {

modified:
if (render.frameskip.count>render.frameskip.max) {

so should be:
if (render.frameskip.count>=render.frameskip.max) {

Reply 10 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

🤣. I looked over it as well

Oh boy
I was testing the patch a lot and it kept amazing me 😜
No wonder 😀
hahahhahahahaha

Water flows down the stream
How to ask questions the smart way!