•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileEgetPalette()
vq_color()
EsetPalette()                                                         XBIOS

Syntax

VOID EsetPalette( start, count, paldata )
WORD start,count;
WORD *paldata;

Function      EsetPalette() copies TT030 color WORDs from the specified
              buffer into the TT030 Color Lookup Table (CLUT).

Opcode        84 (0x54)

Availability  This call is available when the high word of the '_VDO'
              cookie has a value of 2.

Parameters    start specifies the index of the starting color register to
              copy color data to. count indicates the number of palette
              WORDs to copy. paldata is a pointer to an array of palette
              WORDs to copy.

Binding       pea      paldata
              move.w   count,-(sp)
              move.w   start,-(sp)
              move.w   #$54,-(sp)
              trap     #14
              lea      10(sp),sp

Caveats       This call is machine-dependent to the TT030. It is therefore
              recommended that vs_color() be used instead for
              compatibility.

Comments      For the format of the color WORDs, see EgetPalette().

See Also      EgetPalette(), vq_color()