implemented DisplaySDL

This commit is contained in:
2024-11-28 04:08:37 -05:00
parent e4636e4901
commit 5429c5fac1
5 changed files with 114 additions and 4 deletions

View File

@@ -6,8 +6,10 @@
namespace chocochip8 {
using Scanline = std::bitset<128>;
using Framebuffer = std::array<Scanline, 64>;
constexpr size_t gcWidth = 128;
constexpr size_t gcHeight = 64;
using Scanline = std::bitset<gcWidth>;
using Framebuffer = std::array<Scanline, gcHeight>;
enum class Key {
KEY_0, KEY_1, KEY_2, KEY_3,