delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/12/14:36:32

From: "Get'Fix" <mnemonic AT discover DOT co DOT za>
Newsgroups: comp.os.msdos.djgpp
Subject: Speed difference DOS / Win95 ???
Date: Mon, 12 Oct 1998 20:43:04 +0200
Organization: The South African Internet Exchange
Lines: 25
Message-ID: <6vtgfb$6h6$1@news2.saix.net>
NNTP-Posting-Host: phoenix.discover.co.za
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Yebo,

Could someone please explain why I get the following results?

I have a voxel landscape test program that "flies" over a voxel lanscape
accessing the linear frame buffer directly but here's the catch... when I
boot DOS only, I get 40 fps on my PII 300A & AGP system and when I run it
from a DOS prompt in Win95, I get 70 fps ?!?!?!?!?!?!

Why the faster performance running from within Win95?
I don't use any libraries eg Allegro or accelerator functions and yes!!! it
is faster physically as I see it on the screen so it is no problem with the
timers or fps calculation...

Drawing it on 320x200, 64k colour, lfb (VESA2) using RAM as a double buffer
then copy it to the screen 32 bits at a time  (rep movsd). PII 300A with a
AGP card & 32Mb system RAM. I use lookup for colour indexing and 1024x1024
colour and height maps.

If possible, how can I get it in DOS only to also run at 70 fps?

Thanks,
gfx.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019