Topic : TOS - The Operating System
Author :
Version : tos.hyp (December 19, 2008)
Subject : Programmieren/Atari
Nodes : 3010
Index Size : 93790
HCP-Version : 5
Compiled on : Atari
@charset : atarist
@lang :
@default : Title
@help :
@options : +g -i -s +x +zz -t4
@width : 70
View Ref-File7.6.79 Examples for vq_scrninfoTOS256 colors on the Falcon: work_out Value Description
0 0 Interleaved Planes, (words)
1 1 Hardware CLUT 2 8 8 bits per pixel
3/4 256 256 simultaneously displayable colors
5 xxxx Width of the bitmap in bytes (since EdDI 1.1)
6/7 xxxxL Address of the bitmap (since EdDI 1.1)
8 6 CLUT has 6 bits for red intensity
9 6 CLUT has 6 bits for green intensity
10 6 CLUT has 6 bits for blue intensity
11 0 No alpha channel
12 0 No genlock
13 0 No unused bits
14 1 Usual bit order (since EdDI 1.1)
16 0 Pixel value for VDI color index 0
17 255 Pixel value for VDI color index 1
18 2 Pixel value for VDI color index 2
... ...
271 15 Pixel value for VDI color index 255
HiColor on the Falcon: work_out Value Description
0 2 Packed pixels
1 2 HiColor (TrueColor:-) => pseudo CLUT 2 16 16 bits per pixel
3/4 32768 32768 colors
5 xxxx Width of the bitmap in bytes (since EdDI 1.1)
6/7 xxxxL Address of the bitmap (since EdDI 1.1)
8 5 5 bits for red intensity
9 5 5 bits for green intensity
10 5 5 bits for blue intensity
11 0 No alpha channel
12 1 1 bit for genlock (overlay)
13 0 No unused bits
14 2 Falcon bit order (rrrrrggg-ggxbbbbb ;since EdDI 1.1)
16 11 Bit 0 of the red intensity (least significant bit)
Is bit 11 of the pixel
17 12 Bit 1 of the red intensity ist bit 12 of the pixel
18 13 ...
19 14 ...
20 15 Bit 4 of the red intensity (most significant bit)
Is bit 15 of the pixel
21..31 -1 Bits are not used
32 6 Bit 0 of the green intensity (least significant bit)
Is bit 6 of the pixel
33 7 Bit 1 of the green intensity ist bit 7 of the pixel
34 8 ...
35 9 ...
36 10 Bit 4 of the green intensity (most significant bit)
Is bit 10 of the pixel
37..37 -1 Bits are not used
48 0 Bit 0 of the blue intensity (least significant bit)
Is bit 0 of the pixel
49 1 Bit 1 of the blue intensity is bit 1 of the pixel
50 2 ...
51 3 ...
52 4 Bit 4 of the blue intensity (most significant bit)
Is bit 4 of the pixel
53..63 -1 Bits are not used
64..79 -1 No alpha channel
80 5 Bit for genlock/overlay
81..95 -1 Not used
96..127 -1 No unused bits
HiColor on a VGA graphic card (e.g. Crazy Dots): work_out Value Description
0 2 Packed pixels
1 2 HiColor => pseudo CLUT 2 16 16 bits per pixel
3/4 32768 32768 colors
5 xxxx Width of the bitmap in bytes (since EdDI 1.1)
6/7 xxxxL Address of the bitmap (since EdDI 1.1)
8 5 5 bits for red intensity
9 5 5 bits for green intensity
10 5 5 bits for blue intensity
11 0 No alpha channel
12 1 No genlock/overlay
13 0 1 unused bits
14 129 Swapped bit order (gggbbbbb-xrrrrrgg; since EdDI 1.1)
16 2 Bit 0 of the red intensity (least significant bit)
Is bit 2 of the pixel
17 3 Bit 1 of the red intensity is bit 3 of the pixel
18 4 ...
19 5 ...
20 6 Bit 4 of the red intensity (most significant bit)
Is bit 6 of the pixel
21..31 -1 Bits are not used
32 13 Bit 0 of the green intensity (least significant bit)
Is bit 13 of the pixel
33 14 Bit 1 of the green intensity is bit 14 of the pixel
34 15 ...
35 0 ...
36 1 Bit 4 of the green intensity (most significant bit)
Is bit 1 of the pixel
37..37 -1 Bits are not used
48 8 Bit 0 of the blue intensity (least significant bit)
Is bit 8 of the pixel
49 9 Bit 1 of the blue intensity is bit 9 of the pixel
50 10 ...
51 11 ...
52 12 Bit 4 of the green intensity (most significant bit)
Is bit 12 of the pixel
53..63 -1 Bits are not used
64..79 -1 No alpha channel
80..95 -1 No genlock/overlay
96 7 Bit 7 is an unused bit
97..127 -1 No further unused bits
Note: The output in work_out[5..7/14] only exist as of EdDI 1.1. Check
the cookie version before you use them.
See also: vq_scrninfoRaster formatsNVDI