feat: implement Oam buffer

This commit is contained in:
2023-12-27 02:15:49 -06:00
parent 14f5682095
commit 51076597e8
4 changed files with 43 additions and 2 deletions

7
src/core/ppu/Oam.zig Normal file
View File

@@ -0,0 +1,7 @@
const KiB = 0x400;
buf: [2 * KiB]u8,
pub fn init(self: *@This()) void {
@memset(self.buf[0..], 0);
}