VOGONS


Great Courts 2 (CVS)

Topic actions

First post, by Srecko

User metadata
Rank Member
Rank
Member

This game works with both 0.58 and 0.60 normally,
but with current CVS it's much slower (even unplayable).
What could have gone wrong?

update: I tried the game with various versions of the CVS and it seems that problem is with the new renderer (files updated between 8.11.2003 at 10:30 and 8.111 at 11:15).
I'll try to find out more.

Last edited by Srecko on 2003-11-17, 13:48. Edited 1 time in total.

Reply 1 of 3, by Srecko

User metadata
Rank Member
Rank
Member

update #2:
I've found it. current version contains this code in vga_draw.cpp (~ line 367):

/* Check for pixel doubling, master clock/2 */
if (vga.seq.clocking_mode & 0x8) {
clock/=2;
htotal*=2;
}

If I comment this:

//htotal*=2;

game works normally again. The change was introduced 8.11.2003.
Btw, game is EGA 320x200.
I don't know however if this breaks something else.

Reply 2 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hmmm dunno. Harekiet might know that.

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

Reply 3 of 3, by Srecko

User metadata
Rank Member
Rank
Member

I've already mailed him about that and one other bug.
(Problem is that fps variable is wrong because of this:

fps=clock/(htotal*vtotal)

should be, in this case, fps=2*clock/(htotal*vtotal).