delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/24/02:53:57

From: DavMac AT iname DOT com (Davin McCall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Plague of the slow 'blit' routine :)
Date: Sun, 24 Oct 1999 04:13:38 GMT
Organization: Monash Uni
Lines: 17
Distribution: world
Message-ID: <38128686.13116446@newsserver.cc.monash.edu.au>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991021191954 DOT 4851E-100000 AT is> <380F58BD DOT 9FDDC7CF AT connect DOT ab DOT ca>
NNTP-Posting-Host: damcc5.halls.monash.edu.au
X-Trace: towncrier.cc.monash.edu.au 940738418 15877 130.194.198.138 (24 Oct 1999 04:13:38 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
NNTP-Posting-Date: 24 Oct 1999 04:13:38 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 21 Oct 1999 18:17:33 +0000, Tom Fjellstrom
<tomcf AT connect DOT ab DOT ca> wrote:

>Because I want to call the same routine on any bitmap whether or not
>it's a regular bitmap, the screen, or a sub bitmap of the screen.

You could add another field to the structure to specify which it is.

Alternatively, you could use the 'farptr' functions allways, and
simply set the 'selector' for regular bitmaps equal to the return
value of _my_ds().

Davin.

__________________________________________________________
       *** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

- Raw text -


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