summaryrefslogtreecommitdiff
path: root/source/framebuffer.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-06-26 18:19:14 +0000
committerIan C <ianc@noddybox.co.uk>2021-06-26 18:19:14 +0000
commit74fe4fda2a3059b97d1bfcc03e37be1a19ea82fe (patch)
tree93c45c5c0af845c3adc9345d0bf685525d53920b /source/framebuffer.c
parentabad1c81839420fa60d8923d2332ea003cd73a06 (diff)
Fast mode working and partial text mode. Plan on attempting a ULA emulation.
Diffstat (limited to 'source/framebuffer.c')
-rw-r--r--source/framebuffer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/framebuffer.c b/source/framebuffer.c
index efdd27b..a06ef00 100644
--- a/source/framebuffer.c
+++ b/source/framebuffer.c
@@ -222,6 +222,12 @@ void FB_EndFrame(void)
}
+u16 FB_GetColour(FB_Colour col)
+{
+ return pal[col];
+}
+
+
void FB_Print(Framebuffer *fb, const char *text, int x, int y,
FB_Colour colour, FB_Colour paper)
{