aboutsummaryrefslogtreecommitdiff
path: root/src/vga.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-30 23:32:52 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-30 23:32:52 +0100
commitcbeff523d3c01471fcddfbf713b5d8d9e36dc1a9 (patch)
treeea96fc1371df2abae24b09954997277f762cad57 /src/vga.h
parentd6cce83a4c5a6540f0b32e3bca9fb56c1f8855d1 (diff)
downloadgold-mine-run-cbeff523d3c01471fcddfbf713b5d8d9e36dc1a9.tar.gz
gold-mine-run-cbeff523d3c01471fcddfbf713b5d8d9e36dc1a9.zip
pngpal tool and first stab at embedding data on the EXE
WIP; the embedded data has an "environ" symbol that will cause issues when we embed more than one piece of data.
Diffstat (limited to 'src/vga.h')
-rw-r--r--src/vga.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vga.h b/src/vga.h
index f35e6dd..a9c46c6 100644
--- a/src/vga.h
+++ b/src/vga.h
@@ -6,4 +6,7 @@ void close_framebuffer();
void set_mode(uint8_t mode);
+/* the palette is expected to be 8 bit per color, and will be converted to VGA's 6 bit per color */
+void set_palette(const uint8_t *palette);
+
#endif // _VGA_H