summaryrefslogtreecommitdiff
path: root/ppu.c
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2024-08-31 22:25:12 -0400
committervin <git@vineetk.net>2024-09-01 01:49:40 -0400
commitf591b4adf2cfe5d7cde5ecccf95879bfe09cf57a (patch)
tree857e5f66e4472b42dfd2c8c673b99fc47c23399b /ppu.c
parent279478f16f8ea4fcc3c8765ff964954368664106 (diff)
start working on ppu
Diffstat (limited to 'ppu.c')
-rw-r--r--ppu.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ppu.c b/ppu.c
index 4ae0162..5dc20a3 100644
--- a/ppu.c
+++ b/ppu.c
@@ -13,3 +13,16 @@ ppu_tick(void)
13 if (ppu.scanlines >= 262) 13 if (ppu.scanlines >= 262)
14 ppu.scanlines -= 262; 14 ppu.scanlines -= 262;
15} 15}
16
17uint8_t
18ppu_read(uint16_t addr)
19{
20}
21
22void
23ppu_write(uint16_t addr, uint8_t byte)
24{
25 static uint8_t prev;
26
27 prev = byte;
28}