| delorie.com/archives/browse.cgi | search |
| From: | jbs30000 AT aol DOT com (Joel) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Quick SVGA question. |
| Date: | 17 Aug 2003 23:41:44 -0700 |
| Organization: | http://groups.google.com/ |
| Lines: | 9 |
| Message-ID: | <84e4e2a9.0308172241.53a6b108@posting.google.com> |
| NNTP-Posting-Host: | 205.188.208.170 |
| X-Trace: | posting.google.com 1061188904 28212 127.0.0.1 (18 Aug 2003 06:41:44 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | 18 Aug 2003 06:41:44 GMT |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |