diff --git a/src/video.c b/src/video.c index 38f5174..5045fac 100644 --- a/src/video.c +++ b/src/video.c @@ -2,7 +2,7 @@ #include -static char *const VIDEO_MEMORY = (char *)0xd000; +char *const VIDEO_MEMORY = (char *)0xd000; static uint16_t offset = 0; void video_putchar(char c) { diff --git a/src/video.h b/src/video.h index 72d851d..0d23cef 100644 --- a/src/video.h +++ b/src/video.h @@ -3,6 +3,8 @@ #include +extern char *const VIDEO_MEMORY; + void video_cls(void); void video_put(uint8_t x, uint8_t y, char c); void video_putchar(char c);