Page 20

Epson Research and Development

 

Vancouver Design Center

 

 

8 bpp color

When the S1D13705 is configured for 8 bpp color mode the entire Look-Up Table is used to display images. Each of the LUT entries may be set to any of the 4096 possible colors.

Each byte in the display buffer represents one pixels. The byte value is used directly as an index into one of the 256 LUT entries. A display memory byte with a value of 00h will display the color contained in the first Look-Up Table entry while a display memory byte of FFh will display a color formed byte the two hundred and fifty sixth Look-Up Table entry.

The following table depicts LUT values which approximate the VGA default 256 color palette.

Table 4-4: Suggested LUT Values to Simulate VGA Default 256 Color Palette

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Index

R

G

B

 

Index

R

G

B

 

Index

R

G

B

 

Index

R

G

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00

00

00

00

 

40

F0

70

70

 

80

30

30

70

 

C0

00

40

00

 

 

01

00

00

A0

 

41

F0

90

70

 

81

40

30

70

 

C1

00

40

10

 

 

02

00

A0

00

 

42

F0

B0

70

 

82

50

30

70

 

C2

00

40

20

 

 

03

00

A0

A0

 

43

F0

D0

70

 

83

60

30

70

 

C3

00

40

30

 

 

04

A0

00

00

 

44

F0

F0

70

 

84

70

30

70

 

C4

00

40

40

 

 

05

A0

00

A0

 

45

D0

F0

70

 

85

70

30

60

 

C5

00

30

40

 

 

06

A0

50

00

 

46

B0

F0

70

 

86

70

30

50

 

C6

00

20

40

 

 

07

A0

A0

A0

 

47

90

F0

70

 

87

70

30

40

 

C7

00

10

40

 

 

08

50

50

50

 

48

70

F0

70

 

88

70

30

30

 

C8

20

20

40

 

 

09

50

50

F0

 

49

70

F0

90

 

89

70

40

30

 

C9

20

20

40

 

 

0A

50

F0

50

 

4A

70

F0

B0

 

8A

70

50

30

 

CA

30

20

40

 

 

0B

50

F0

F0

 

4B

70

F0

D0

 

8B

70

60

30

 

CB

30

20

40

 

 

0C

F0

50

50

 

4C

70

F0

F0

 

8C

70

70

30

 

CC

40

20

40

 

 

0D

F0

50

F0

 

4D

70

D0

F0

 

8D

60

70

30

 

CD

40

20

30

 

 

0E

F0

F0

50

 

4E

70

B0

F0

 

8E

50

70

30

 

CE

40

20

30

 

 

0F

F0

F0

F0

 

4F

70

90

F0

 

8F

40

70

30

 

CF

40

20

20

 

 

10

00

00

00

 

50

B0

B0

F0

 

90

30

70

30

 

D0

40

20

20

 

 

11

10

10

10

 

51

C0

B0

F0

 

91

30

70

40

 

D1

40

20

20

 

 

12

20

20

20

 

52

D0

B0

F0

 

92

30

70

50

 

D2

40

30

20

 

 

13

20

20

20

 

53

E0

B0

F0

 

93

30

70

60

 

D3

40

30

20

 

 

14

30

30

30

 

54

F0

B0

F0

 

94

30

70

70

 

D4

40

40

20

 

 

15

40

40

40

 

55

F0

B0

E0

 

95

30

60

70

 

D5

30

40

20

 

 

16

50

50

50

 

56

F0

B0

D0

 

96

30

50

70

 

D6

30

40

20

 

 

17

60

60

60

 

57

F0

B0

C0

 

97

30

40

70

 

D7

20

40

20

 

 

18

70

70

70

 

58

F0

B0

B0

 

98

50

50

70

 

D8

20

40

20

 

 

19

80

80

80

 

59

F0

C0

B0

 

99

50

50

70

 

D9

20

40

20

 

 

1A

90

90

90

 

5A

F0

D0

B0

 

9A

60

50

70

 

DA

20

40

30

 

 

1B

A0

A0

A0

 

5B

F0

E0

B0

 

9B

60

50

70

 

DB

20

40

30

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1D13705

Programming Notes and Examples

X27A-G-002-03

Issue Date: 02/01/22

Page 114
Image 114
Epson S1D13705 technical manual Index