How to reset the Physical Palette

Getting the 256-color mode palette manager to set itself up is not too hard, but getting it to reset itself to the default palette is not documented well. In the header file 'DIVE.H' is a nice piece of explanation: I have altered these examples slightly for clarity, replacing the Gre32Entry3 function calls with macros defined in 'PMDDIM.H'.


[Back: Undocumented extensions to Event Semaphores]
[Next: Extensions to WinQuerySysValue and WinSetSysValue]