add colors

This commit is contained in:
rick 2023-09-13 16:05:40 +02:00
parent 54593c95f9
commit c6922febc1
Signed by: Rick
GPG key ID: 5CBE8779CD27BCBA

View file

@ -55,8 +55,22 @@
*/ */
#define FB_LOW_BYTE_COMMAND 0x0F #define FB_LOW_BYTE_COMMAND 0x0F
#define FB_WHITE 0x0F
#define FB_BLACK 0x00 #define FB_BLACK 0x00
#define FB_BLUE 0x01
#define FB_GREEN 0x02
#define FB_CYAN 0x03
#define FB_RED 0x04
#define FB_MAGENTA 0x05
#define FB_BROWN 0x06
#define FB_L_GREY 0x07
#define FB_D_GREY 0x08
#define FB_L_BLUE 0x09
#define FB_L_GREEN 0x0A
#define FB_L_CYAN 0x0B
#define FB_L_RED 0x0C
#define FB_L_MAGENRA 0x0D
#define FB_YELLOW 0x0E
#define FB_WHITE 0x0F
/** /**
* permet d'écrire dans un emplacement du framebuffer * permet d'écrire dans un emplacement du framebuffer