font5x7 = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 242 0 0 0 224 0 224 0 40 254 40 254 40 36 84 254 84 72 196 200 16 38 70 108 146 170 68 10 0 160 192 0 0 0 56 68 130 0 0 130 68 56 0 40 16 124 16 40 16 16 124 16 16 0 10 12 0 0 16 16 16 16 16 0 6 6 0 0 4 8 16 32 64 124 138 146 162 124 0 66 254 2 0 66 134 138 146 98 132 130 162 210 140 24 40 72 254 8 228 162 162 162 156 60 82 146 146 12 128 142 144 160 192 108 146 146 146 108 96 146 146 148 120 0 108 108 0 0 0 106 108 0 0 16 40 68 130 0 40 40 40 40 40 0 130 68 40 16 64 128 138 144 96 76 146 158 130 124 126 136 136 136 126 254 146 146 146 108 124 130 130 130 68 254 130 130 68 56 254 146 146 146 130 254 144 144 144 128 124 130 146 146 94 254 16 16 16 254 0 130 254 130 0 4 2 130 252 128 254 16 40 68 130 254 2 2 2 2 254 64 48 64 254 254 32 16 8 254 124 130 130 130 124 254 144 144 144 96 124 130 138 132 122 254 144 152 148 98 98 146 146 146 140 128 128 254 128 128 252 2 2 2 252 248 4 2 4 248 252 2 12 2 252 198 40 16 40 198 224 16 14 16 224 134 138 146 162 194 0 254 130 130 0 64 32 16 8 4 0 130 130 254 0 32 64 128 64 32 2 2 2 2 2 0 128 64 32 0 4 42 42 42 30 254 18 18 18 12 28 34 34 34 34 12 18 18 18 254 28 42 42 42 26 0 16 126 144 64 18 42 42 42 60 254 16 16 16 14 0 0 94 0 0 4 2 2 188 0 0 254 8 20 34 0 130 254 2 0 62 32 28 32 62 62 16 32 32 30 28 34 34 34 28 62 40 40 40 16 16 40 40 40 62 62 16 32 32 16 18 42 42 42 36 32 32 252 34 36 60 2 2 2 60 56 4 2 4 56 60 2 12 2 60 34 20 8 20 34 32 18 12 16 32 34 38 42 50 34 0 16 108 130 130 0 0 238 0 0 130 130 108 16 0 32 64 64 64 128 168 104 62 104 168 190 42 42 42 162 0 32 80 160 0 4 34 124 160 64 132 252 4 0 32 254 2 2 18 2 28 34 20 8 54 78 62 96 64 64 12 18 82 178 28 8 28 42 42 42 248 64 64 60 2 124 146 146 124 0 66 68 56 4 2 32 62 32 62 34 16 32 60 34 32 24 36 126 36 24 28 34 12 34 28 130 198 170 146 130 58 70 64 70 58 84 84 84 84 84 68 40 16 40 68 16 16 84 16 16 0 112 136 136 112 96 144 138 128 64 254 254 146 146 146 10 26 42 74 138 138 74 42 26 10 40 44 56 104 40 4 254 128 128 128 76 146 146 124 0 4 2 124 128 64 56 68 56 68 56 170 84 170 84 170 0 0 0 0 0 0 0 190 0 0 56 68 254 68 0 18 126 146 146 66 186 68 68 68 186 168 104 62 104 168 0 0 238 0 0 80 170 170 170 20 0 128 0 128 0 124 186 170 170 124 18 170 170 170 122 16 40 84 170 68 128 128 128 128 192 0 0 0 0 0 124 170 186 130 124 128 128 128 128 128 0 224 160 224 0 34 34 250 34 34 0 72 152 168 72 0 0 168 168 112 0 0 64 128 0 4 248 16 16 224 96 254 128 254 128 0 0 16 16 0 8 0 2 4 0 0 72 248 8 0 0 232 168 232 0 68 170 84 40 16 240 4 12 20 46 240 0 18 38 26 254 254 254 254 254 12 18 162 2 4 30 168 104 40 30 30 40 104 168 30 30 168 168 168 30 158 168 168 168 158 158 40 40 40 158 30 104 168 104 30 126 144 254 146 146 112 138 140 136 136 62 170 106 42 34 62 42 106 170 34 62 170 170 170 34 190 42 42 42 162 0 162 126 34 0 0 34 126 162 0 0 162 190 162 0 0 162 62 162 0 16 254 146 130 124 190 144 136 132 190 28 162 98 34 28 28 34 98 162 28 28 162 162 162 28 156 162 162 162 156 156 34 34 34 156 68 40 16 40 68 58 76 84 100 184 60 130 66 2 60 60 2 66 130 60 60 130 130 130 60 188 2 2 2 188 96 16 78 144 96 254 68 68 68 56 126 164 164 88 0 4 170 106 42 30 4 42 106 170 30 4 170 170 170 30 132 170 170 170 158 4 170 42 170 30 4 106 170 106 30 46 42 28 42 58 48 74 76 72 0 28 170 106 42 26 28 42 106 170 26 28 170 170 170 26 28 170 42 170 26 0 128 94 0 0 0 0 94 128 0 0 64 94 64 0 0 64 30 64 0 12 18 82 178 28 190 144 160 160 158 12 146 82 18 12 12 18 82 146 12 12 82 82 82 12 76 82 82 82 76 12 82 18 82 12 16 16 16 84 16 24 38 60 100 24 28 130 66 2 28 28 2 66 130 28 28 66 66 66 28 28 66 2 66 28 32 18 76 144 32 254 72 72 48 0 32 146 12 144 32];

numCharacters = 94; %Load ASCII characters 33 through 126 (! to ~)
chars_5x7 = font5x7(166:166+5*numCharacters-1);
chars_5x7 = reshape(chars_5x7,5,numCharacters).';
chars_8x8 = [zeros(numCharacters,1) chars_5x7 zeros(numCharacters,2)];

for charNum = 1:size(chars_8x8,1)
	x = chars_8x8(charNum, :);
	for rowNum = 0:7
		outChars(charNum, 8-rowNum) = sum( (bitand(x,2^rowNum.*ones(size(x)))>0) .* (repmat(2.^[0:7],size(x,1),1)));
	end
end

black = hex2dec('00');
white = hex2dec('FF');
red = hex2dec('E0');
green = hex2dec('1C');
blue = hex2dec('03');

colorChars_low = [ ...
repmat(black, 1, 64) ...
repmat(white, 1, 64) ...
repmat(red, 1, 64) ...
repmat(green, 1, 64) ...
repmat(blue, 1, 64) ...
repmat(red+green, 1, 64) ...
repmat(red+blue, 1, 64) ...
repmat(blue+green, 1, 64) ...
[repmat(red, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(red, 1, 32)] ...
[repmat(green, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(green, 1, 32)] ...
[repmat(blue, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(blue, 1, 32)] ...
[repmat(red+green, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(red+green, 1, 32)] ...
[repmat(red+blue, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(red+blue, 1, 32)] ...
[repmat(blue+green, 1, 32) repmat(black, 1, 32)] ...
[repmat(black, 1, 32) repmat(blue+green, 1, 32)] ...
[repmat(red, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(red, 1, 32)] ...
[repmat(green, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(green, 1, 32)] ...
[repmat(blue, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(blue, 1, 32)] ...
[repmat(red+green, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(red+green, 1, 32)] ...
[repmat(red+blue, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(red+blue, 1, 32)] ...
[repmat(blue+green, 1, 32) repmat(white, 1, 32)] ...
[repmat(white, 1, 32) repmat(blue+green, 1, 32)] ...
repmat(black, 1, 64) ...
];

colorChars_high = [ ...
repmat( [repmat(red, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(red, 1, 4)],1,8) ...
repmat( [repmat(green, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(green, 1, 4)],1,8) ...
repmat( [repmat(blue, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(blue, 1, 4)],1,8) ...
repmat( [repmat(red+green, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(red+green, 1, 4)],1,8) ...
repmat( [repmat(red+blue, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(red+blue, 1, 4)],1,8) ...
repmat( [repmat(blue+green, 1, 4) repmat(black, 1, 4)],1,8) ...
repmat( [repmat(black, 1, 4) repmat(blue+green, 1, 4)],1,8) ...
repmat( [repmat(red, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(red, 1, 4)],1,8) ...
repmat( [repmat(green, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(green, 1, 4)],1,8) ...
repmat( [repmat(blue, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(blue, 1, 4)],1,8) ...
repmat( [repmat(red+green, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(red+green, 1, 4)],1,8) ...
repmat( [repmat(red+blue, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(red+blue, 1, 4)],1,8) ...
repmat( [repmat(blue+green, 1, 4) repmat(white, 1, 4)],1,8) ...
repmat( [repmat(white, 1, 4) repmat(blue+green, 1, 4)],1,8) ...
];

%ORIG
%asciiChars = reshape(outChars.', 1, prod(size(outChars)));
%asciiChars_endianFlip = reshape(flipud(reshape(asciiChars,4,length(asciiChars)/4)),1,length(asciiChars));
%asciiChars_expanded = (bitand(repmat(asciiChars_endianFlip, 1, 8), repmat( 2.^[0:7], 1, 752))>1).*255;

asciiChars = reshape(outChars.', 1, prod(size(outChars)));
asciiChars_endianFlip = reshape(flipud(reshape(asciiChars,4,length(asciiChars)/4)),1,length(asciiChars));
asciiChars_expanded_mat = (bitand(repmat(asciiChars_endianFlip, 8, 1), repmat( 2.^[0:7].', 1, 752))>1).*255;
asciiChars_expanded_vec = reshape(asciiChars_expanded_mat, 1, prod(size(asciiChars_expanded_mat)));

%asciiChars_bin = fliplr(dec2bin(asciiChars_endianFlip.',8));
%Then find 1, replace with 0xFF,
%Then find 0, replace with 0x00,

colorChars_low_endianFlip = reshape(flipud(reshape(colorChars_low,4,length(colorChars_low)/4)),1,length(colorChars_low));

colorChars_high_endianFlip = reshape(flipud(reshape(colorChars_high,4,length(colorChars_high)/4)),1,length(colorChars_high));

NewAsciiChars = [0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,255,0,0,0,0,255,255,255,255,255,0,0,0,0,255,0,255,0,0,0,0,255,255,255,255,255,0,0,0,0,255,0,255,0,0,0,0,0,255,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,255,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,255,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,255,255,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,255,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,255,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,255,0,255,0,0,0,255,0,0,255,0,0,0,0,0,255,255,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,255,0,255,0,255,0,0,0,0,255,255,255,0,0,0,0,255,0,255,0,255,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,255,255,0,0,0,255,0,255,0,255,0,0,0,255,255,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,0,0,0,0,0,255,0,255,0,0,0,0,255,0,0,255,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,255,255,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,255,0,0,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,255,255,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,255,0,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,0,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,255,0,255,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,0,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,0,255,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,0,255,0,0,0,0,0,255,255,0,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,255,0,255,0,0,0,0,0,255,0,0,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,255,0,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,255,0,255,0,0,0,0,0,255,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,255,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,255,255,0,0,0,0,255,255,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,255,255,0,0,0,0,255,255,0,0,255,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,255,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,255,0,255,0,0,0,255,0,255,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,255,0,0,0,0,255,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,255,0,0,0,0,255,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,255,255,255,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
NewAsciiChars_endianFlip = reshape(flipud(reshape(NewAsciiChars.',4,length(NewAsciiChars)/4)),1,length(NewAsciiChars));

charMap = [colorChars_low_endianFlip NewAsciiChars_endianFlip colorChars_high_endianFlip];

%colorChars_bin = fliplr(dec2bin(colorChars_endianFlip.',8));
%Rainbow character generator
%for i=1:8,
%	for j=1:8,
%		dataset(((i-1)*8)+j) = 32*(j-1)+4*(i-1)+round(j/8)+round(i/8);
%	end
%end
