delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/18/05:34:12

From: Andrew Cottrell <spam AT bigpond DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Quick SVGA question.
Date: Mon, 18 Aug 2003 19:21:26 +1000
Organization: HOME
Message-ID: <kg61kv4a874rl0srecn15e7tgu0o6m738g@4ax.com>
References: <84e4e2a9 DOT 0308172241 DOT 53a6b108 AT posting DOT google DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 15
NNTP-Posting-Date: 18 Aug 2003 17:21:28 WST
NNTP-Posting-Host: 202.154.115.197
X-Trace: 1061198488 news.swiftel.com.au 13252 202.154.115.197
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>For function 09H - Set/Get Palette Data the real mode, or 16 bit
>version, uses ES:DI to point to the table of palette values.  ES
>obviously being for the table's segment, and DI for its offset.
>In the protected mode, or 32 bit version, it uses ES:EDI.  
>Since this is the protected mode version, and since we're dealing with
>EDI instead of just DI, that would mean that ES is the selector, in
>this case _my_ds() and EDI would be the offset, or, for example, if
>the variable was Palette_Table, then EDI would be &Palette_Table. 
>Right?  Thanks.
I can't answer this one, but here are some pointers:-
1) Have a red of the FAQ to see it is answered in there
2) in the V2Tk directory there are a number of graphics libraries and
as such can be used to see what your code needs to do.

Andrew

- Raw text -


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