From 8251da342161767fe203627223ccd4a7026701c6 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Fri, 4 Sep 2026 11:31:40 -0400 Subject: initial commit. working on tasking --- lib/psf.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/psf.h (limited to 'lib/psf.h') diff --git a/lib/psf.h b/lib/psf.h new file mode 100644 index 0000000..b6b8cec --- /dev/null +++ b/lib/psf.h @@ -0,0 +1,19 @@ +#ifndef _JOVE_LIB_PSF_H +#define _JOVE_LIB_PSF_H 1 + +#include +#include + +#define PSF1_FONT_MAGIC 0x0436 + +struct psf1_header +{ + uint16_t magic; + uint8_t mode; + uint8_t char_height; + uint8_t bitmap[]; +}; + +uint8_t *psf_glyph(struct psf1_header *header, uint8_t glyph); + +#endif -- cgit v1.2.3