Mail Archives: djgpp/2003/08/18/05:34:12
>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 -