From: jbs30000 AT aol DOT com (Joel) Newsgroups: comp.os.msdos.djgpp Subject: Re: Quick SVGA question. Date: 18 Aug 2003 18:19:27 -0700 Organization: http://groups.google.com/ Lines: 18 Message-ID: <84e4e2a9.0308181719.768e96dd@posting.google.com> References: <84e4e2a9 DOT 0308172241 DOT 53a6b108 AT posting DOT google DOT com> NNTP-Posting-Host: 172.203.142.248 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1061255969 10750 127.0.0.1 (19 Aug 2003 01:19:29 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 19 Aug 2003 01:19:29 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrew Cottrell wrote in message news:... > >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 Thanks.