From 750cd23d7afac165502defa1d259ace00ca0e414 Mon Sep 17 00:00:00 2001 From: dweller Date: Wed, 26 Mar 2025 20:37:01 +0200 Subject: clean up chip-8 into its own file --- sources/fnt.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 sources/fnt.c (limited to 'sources/fnt.c') diff --git a/sources/fnt.c b/sources/fnt.c deleted file mode 100644 index ca45865..0000000 --- a/sources/fnt.c +++ /dev/null @@ -1,19 +0,0 @@ -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