Expose video memory address.
This commit is contained in:
parent
be4f7c628f
commit
4016014641
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
static char *const VIDEO_MEMORY = (char *)0xd000;
|
char *const VIDEO_MEMORY = (char *)0xd000;
|
||||||
static uint16_t offset = 0;
|
static uint16_t offset = 0;
|
||||||
|
|
||||||
void video_putchar(char c) {
|
void video_putchar(char c) {
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
extern char *const VIDEO_MEMORY;
|
||||||
|
|
||||||
void video_cls(void);
|
void video_cls(void);
|
||||||
void video_put(uint8_t x, uint8_t y, char c);
|
void video_put(uint8_t x, uint8_t y, char c);
|
||||||
void video_putchar(char c);
|
void video_putchar(char c);
|
||||||
|
Loading…
Reference in New Issue
Block a user