home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / TPEGA.ZIP / GPPAL.P < prev    next >
Encoding:
Text File  |  1986-01-19  |  700 b   |  14 lines

  1. {                                                                              }
  2. {       EGA Graphic Primitive for Turbo Pascal 3.01A, Version 01FEB86.         }
  3. {       (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518      }
  4. {                                                                              }
  5. {       Description: Set the EGA palette register(s).  Warning: Palettes       }
  6. {       will be restored on a mode change (e.g., from text to graphics)        }
  7. {                                                                              }
  8.  
  9. procedure GPPAL(Palette,Color: Integer);
  10. begin
  11.   inline
  12.     ($8A/$5E/<Palette/$8A/$7E/<Color/$B8/$1000/$CD/$10);
  13. end;
  14.