aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/draw.h
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-08 17:28:22 -0700
committerChristian Cunningham <cc@localhost>2021-12-08 17:28:22 -0700
commit956d6a5376474f0f1e99977e466719f7eaa4063e (patch)
treee010f1f8c53055c41599bf9171ba59ec15837087 /src/graphics/draw.h
parent15b93ed9c47691ae0b7241100509159a38c36049 (diff)
Testing Graphics
Diffstat (limited to 'src/graphics/draw.h')
-rw-r--r--src/graphics/draw.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics/draw.h b/src/graphics/draw.h
new file mode 100644
index 0000000..4bc9816
--- /dev/null
+++ b/src/graphics/draw.h
@@ -0,0 +1,16 @@
+#ifndef GRAPHICS_DRAW_H
+#define GRAPHICS_DRAW_H
+
+enum {
+ SWIDTH = 640,
+ SHEIGHT = 480,
+ BPP = 16
+};
+
+extern unsigned long vram_base;
+extern void clear_screen();
+extern void draw_pix(unsigned long, unsigned long, unsigned short);
+
+void draw_box(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short);
+
+#endif