delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/01/00:47:48

From: DavMac AT iname DOT com (Dav)
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer,alt.msdos.programmer,alt.games.programming
Subject: Re: Blit timing - complicated?
Date: Mon, 01 Dec 1997 05:25:22 GMT
Organization: Albury Local Internet
Lines: 30
Message-ID: <880950135.921483@proxy1.albury.net.au>
References: <65m5fp$k73$1 AT news2 DOT xs4all DOT nl>
NNTP-Posting-Host: 203.15.244.7
Cache-Post-Path: proxy1.albury.net.au!unknown AT dial1corryong DOT albury DOT net DOT au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

rkramer AT xs4all DOT nl () wrote:

>In a discussion with a friend of mine, he was trying to convince me that it's
>possible to blit a full 800x600 screen in less than a millisecond. I tried to
>tell him otherwise, but couldn't quite get my point through :)

I would say it's *possible*, but not with the usual hardware.

>Can anyone tell me how I could calculate the time it would take to blit a
>full VESA 0x103 screen, using a 486DX2 66 MHz? Is this an easy task, or a
>very difficult one? Do I have to keep in mind:
>- Access time of video RAM,
>- Whether real or protected mode is used,
>- other system characteristics?

I would imagine that actually timing it would be the best bet.  Do a few runs
through and take the average time.  Make sure you disable any disk cache
programs, multitaskers and EMM386 equivalents.  This will give you a *minimum*
time. (you might even want to disable interrupts during the blit)

Protected mode could slow things down if paging is enabled.  Otherwise, real and
protected mode timings should be almost exactly the same.

Dav.
-------------------------------------------------
              DavMac - Sharking!!
                DavMac AT iname DOT com
http://corryong.albury.net.au/~smcall/davpage.htm
-------------------------------------------------

- Raw text -


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