From 74fe4fda2a3059b97d1bfcc03e37be1a19ea82fe Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 26 Jun 2021 18:19:14 +0000 Subject: Fast mode working and partial text mode. Plan on attempting a ULA emulation. --- source/framebuffer.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/framebuffer.c') 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) { -- cgit v1.2.3