From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Quick SVGA question. Date: 18 Aug 2003 13:00:52 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 17 Message-ID: References: <84e4e2a9 DOT 0308172241 DOT 53a6b108 AT posting DOT google DOT com> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joel (jbs30000 AT aol DOT com) wrote: : 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. Without knowing anything about SVGA that sounds correct. Right, MartinS