commit 1cd1d50

0uppy  ·  2026-07-21 23:20:56 +0000 UTC
parent 5d581ea
cotton v0.2 - tweaked eiki a bit more and adjusted a single line in the interpreter that i didnt notice being off placed
2 files changed,  +4, -4
+3, -3
 1@@ -433,7 +433,7 @@ static const uint8_t EIKI_FONT[256][FONT_HEIGHT] = {
 2     0b00000100,
 3     0b00000100,
 4     0b00000100,
 5-    0b00000100,
 6+    0b00111100,
 7     0b00000000,
 8 },
 9 
10@@ -451,7 +451,7 @@ static const uint8_t EIKI_FONT[256][FONT_HEIGHT] = {
11 ['n'] = {
12     0b00000000,
13     0b00000000,
14-    0b00011110,
15+    0b00011100,
16     0b00010010,
17     0b00010010,
18     0b00010010,
19@@ -496,7 +496,7 @@ static const uint8_t EIKI_FONT[256][FONT_HEIGHT] = {
20     0b00000000,
21     0b00000000,
22     0b00001110,
23-    0b00000010,
24+    0b00010010,
25     0b00000010,
26     0b00000010,
27     0b00000010,
+1, -1
1@@ -59,7 +59,7 @@ static char *strip_quotes(char *s)
2 
3 static void draw_pixel(Cotton *cotton, int x, int y)
4 {
5-        cotton->video[y * VIDEO_WIDTH + x] = cotton->c_cottolette;
6+    cotton->video[y * VIDEO_WIDTH + x] = cotton->c_cottolette;
7 }
8 
9 static void draw_char(Cotton *cotton, char c, int x, int y)