From 76d89eb9973671726dc7fffaf22b06a7a77be550 Mon Sep 17 00:00:00 2001 From: dweller Date: Wed, 26 Mar 2025 17:31:51 +0200 Subject: build ''system''; decode metaprog; disasm --- sources/fnt.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sources/fnt.c (limited to 'sources/fnt.c') diff --git a/sources/fnt.c b/sources/fnt.c new file mode 100644 index 0000000..ca45865 --- /dev/null +++ b/sources/fnt.c @@ -0,0 +1,19 @@ +static const u8 fnt[] = +{ + 0xF0, 0x90, 0x90, 0x90, 0xF0, /* 0 */ + 0x20, 0x60, 0x20, 0x20, 0x70, /* 1 */ + 0xF0, 0x10, 0xF0, 0x80, 0xF0, /* 2 */ + 0xF0, 0x10, 0xF0, 0x10, 0xF0, /* 3 */ + 0x90, 0x90, 0xF0, 0x10, 0x10, /* 4 */ + 0xF0, 0x80, 0xF0, 0x10, 0xF0, /* 5 */ + 0xF0, 0x80, 0xF0, 0x90, 0xF0, /* 6 */ + 0xF0, 0x10, 0x20, 0x40, 0x40, /* 7 */ + 0xF0, 0x90, 0xF0, 0x90, 0xF0, /* 8 */ + 0xF0, 0x90, 0xF0, 0x10, 0xF0, /* 9 */ + 0xF0, 0x90, 0xF0, 0x90, 0x90, /* A */ + 0xE0, 0x90, 0xE0, 0x90, 0xE0, /* B */ + 0xF0, 0x80, 0x80, 0x80, 0xF0, /* C */ + 0xE0, 0x90, 0x90, 0x90, 0xE0, /* D */ + 0xF0, 0x80, 0xF0, 0x80, 0xF0, /* E */ + 0xF0, 0x80, 0xF0, 0x80, 0x80 /* F */ +}; -- cgit v1.2.3