VOGONS


graphics optimization & autocycle patches

Topic actions

Reply 20 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

when does that screeen appear in prehistorik?

Reply 21 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

As soon as TITUS logo appeared at the beginning of Prehistorik2.
The screen is the initial scene that a player meets.

Reply 22 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

As for bumpy, I ran a cvsbuild and it shows the same thing.
and running a cvs build /w just graphicsopt applied doesn't show that corruption. what other patches do you have applied?

Reply 23 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I applied your graphicopt patch to a clean cvs.
Then, there was no problem in a screen as for prehistorik2.
However, Bumpy's adventure still has such a problem in a clean cvs with the optimization patch. Especially, game over scene is filled with a blue background.
I tried my latest build and gulikoza's and my clean cvs, but everything was ok.

Reply 24 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Could you take a snapshot of what it's supposed to look like? Is it supposed to be or not supposed to be filled witha a blue background?

Reply 25 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

Well.. the blue background appeared in my working build w/ your opt patch. the color is black in a clean cvs with the patch.

Here is a screenshot.

Reply 26 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Hmm, I'm not getting those dots or lines with cvs, opt patch, or prebuilt .65. What's your settings?

Reply 27 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I am using the latest version of MinGW/MSYS with gcc 3.4.5.

Not a debug mode, no optimization flags... (default settings).
I hit ./configure;make;strip ./src/dosbox.exe

Here is an executable that I compiled.

Reply 28 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

I meant dosbox.conf:) I do see the lines with the attached build though.

Reply 29 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

😀 I deleted dosbox.conf so that dosbox uses default settings.

Last edited by ykhwong on 2006-06-07, 10:09. Edited 1 time in total.

Reply 30 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Alright, I started from scratch again, applying the diff 3 from here and am getting the corruption so I have to figure out where I introduced this bug.

Reply 31 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

I narrowed it down to an issue with rasterop, I think having to do with vga.latch.d, but I'm still scratching my head. Attached is graphicsopt4.diff, which skips everything but rasterop. Also added an optimization for the modes wd was interested in and others; old way would calc bank address on every read/write; the optimization pulls that(a multiply) out, now done in vga_gfx.cpp, where it's modified less often(on a bank switch, other twiggling).

Reply 32 of 44, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

Yes, tried your fourth patch. It doesn't corrupt anything in bumpy.
Thanks for your effort.

Reply 33 of 44, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

Shouldn't that patch for lags from cycle transitions (or a revised version) be in current cvs?

Reply 34 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Feh, all my patches should be in CVS:) It's OK though, allows time for any bugs to surface. Why I also post patches here and not just up on sourceforge; feedback.

Reply 35 of 44, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

allows time for any bugs to surface

That's true; but the cycle transition slowdown is actually a bug. And I noticed that with that patch the sound works perfectly in any condition.
I don't know if your patch is already bug-free or if is the best way to fix the bug, however i think that something should be done.

Reply 36 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

That's one thing I'd like to see that's never done, a response on why a patch isn't included. I guess I'll need to email them to ask what the sticking point(s) is/are to find out.

Reply 37 of 44, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Could be that some people have kinda different things to do in real life as well.

Reply 38 of 44, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

You mean everyone doesn't work on dosbox all day?..

Reply 39 of 44, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the autocycles patch has better change to be accepted if you remove the
tinkering with the titlebar.

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