GRAB.PTN  ·  PTN  ·  1.2 KB  ·  1989-04-28  ·  from Next-Base_AutoRoute_v1.2
; GRAB Pattern File
; -----------------

%HEX		;All colour numbers in hexadecimal

%BG 0		;Only black is a normal text background colour

#2=M		;Two colour modes in fast "mono" mode

#4=2		;Four colour modes - 2x2 grid

0=0
1=1000/2
2=10/1
3=1

#16=3		;Sixteen colour modes - 3x3 grid

0-1=0
2-3=100000,0/2
4-5=1000,0/2
6-7=1000/2
8-9=10/1
A-B=110,001
C-D=110,0111
E-F=1

#256=3		;256 colour modes - 3x3 grid

; 00-0F are CGA 16 colour mode colours

00-01=0
02-03=100000,0/3
04-05=1000,0/2
06-07=1000/2
08-09=10/1
0A-0B=110,001
0C-0D=110,0111
0E-0F=1

; 10-1F are a grey scale

10-11=0
12-13=100000,0/3
14-15=1000,0/2
16-17=1000/2
18-19=10/1
1A-1B=110,001
1C-1D=110,0111
1E-1F=1

; 20-F7 are divided by intensity and sub-divided by saturation
; They are also sub-divided into blue/red/green but we currently ignore that

20-37=1	;High intens, high sat.
38-4F=1	;High intens, mid sat.
50-67=1	;High intens, low sat.
68-7F=1	;Mid intens, high sat.
80-97=1	;Mid intens, mid sat.
98-AF=1	;Mid intens, low sat.
B0-C7=1	;Low intens, high sat.
C8-DF=1	;Low intens, mid sat.
E0-F7=1	;Low intens, low sat.

; F8-FF are black

F8-FF=1