174#define GF_OSCIL 18 // oscilloscope pixel graph (data=samples 0..255, par = 2 colors of palettes, par2 = height of pixels - 1)
175#define GF_OSCLINE 19 // oscilloscope line graph (data=samples 0..255, par = 2 colors of palettes)
176#define GF_PLANE2 20 // 4 colors on 2 graphic planes (data=graphic, par=offset of 2nd graphic plane,
177// par2 = pointer to 4-color palette translation table)
178#define GF_ATTRIB8 21 // 2x4 bit color attribute per 8x8 pixel sample (data=mono graphic, par=offset of color attributes,
179// par2 = pointer to 16-color palette table)
180#define GF_GRAPH8MAT 22 // 8-bit graphics with 2D matrix transformation, using hardware interpolator inter1 (inter1 state is not saved during interrup)
181// (data=image, par=pointer to 6 matrix integer parameters m11,m12..m23 ((int)(m*FRACTMUL)),
182// par2 LOW=number of bits of image width, par2 HIGH=number of bits of image height)
183#define GF_GRAPH8PERSP 23 // 8-bit graphics with perspective, using hardware interpolator inter1 (inter1 state is not saved during interrup)
184// (data=image, par=pointer to 6 matrix integer parameters m11,m12..m23 ((int)(m*FRACTMUL)),
185// par2 LOW=number of bits of image width, par2 HIGH=number of bits of image height,
186// par3=horizon offset)
187#define GF_TILEPERSP 24 // tiles with perspective, using hardware interpolators inter0 and inter1 (their state is not saved during interrup)
188// (data=tile map, par=one column of tiles, par2=pointer to integer matrix,
189// wb LOW=number of bits of map width, wb HIGH=number of bits of map height,
190// par3 LOW=number of bits of tile size, par3 HIGH=horizon offset/4 or 0=no perspective or <0=ceilling,
191// wrapy=segment height)
192#define GF_TILEPERSP15 25 // tiles with perspective, 1.5 pixels (parameters as GF_TILEPERSP)
193#define GF_TILEPERSP2 26 // tiles with perspective, double pixels (parameters as GF_TILEPERSP)
194#define GF_TILEPERSP3 27 // tiles with perspective, triple pixels (parameters as GF_TILEPERSP)
195#define GF_TILEPERSP4 28 // tiles with perspective, quadruple pixels (parameters as GF_TILEPERSP)
196
197#define GF_GRP3MIN GF_GRAPH4 // 3rd group minimal format
198#define GF_GRP3MAX GF_TILEPERSP4 // 3rd group maximal format
199
200
201#define FRACT 12 // number of bits of fractional part of fractint number (use max. 13, min. 8)