Compare commits

..

No commits in common. "db596a92129ad583debcd79a67d700f67a8ca8c7" and "33cb3dfa30d13fd5668287eff7090b1a42ab392e" have entirely different histories.

3 changed files with 922 additions and 1006 deletions

File diff suppressed because it is too large Load Diff

View File

@ -94,7 +94,7 @@ void terminal_putentryat(char c, uint32_t color, size_t x, size_t y)
char *glyph = node.bitmap; char *glyph = node.bitmap;
for (size_t cy = 0; cy < node.height; cy++) for (size_t cy = 0; cy < node.height; cy++)
for (size_t cx = 0; cx < node.width; cx++) for (size_t cx = 0; cx < node.width; cx++)
if (glyph[cy * node.width + cx] == '#') if (glyph[cy + node.width + cx] == '#')
put_pixel(color, x + cx, y + cy); put_pixel(color, x + cx, y + cy);
/* const size_t index = y * VGA_WIDTH + x; */ /* const size_t index = y * VGA_WIDTH + x; */
/* TERM_BUF[index] = vga_entry(c, color); */ /* TERM_BUF[index] = vga_entry(c, color); */

View File

@ -59,7 +59,7 @@ for charactere in characteres:
.bitmap = NULL, .bitmap = NULL,
}},\ }},\
""" """
string += "\n};" string += "\n}};"
if not os.path.exists("./headers/fonts"): if not os.path.exists("./headers/fonts"):
os.makedirs("./headers/fonts") os.makedirs("./headers/fonts")