aboutsummaryrefslogtreecommitdiff
path: root/stm32/ppu/ppu.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/ppu/ppu.h')
-rw-r--r--stm32/ppu/ppu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/stm32/ppu/ppu.h b/stm32/ppu/ppu.h
new file mode 100644
index 0000000..ac01ef7
--- /dev/null
+++ b/stm32/ppu/ppu.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "types.h"
+
+void hh_ppu_vblank_interrupt();
+void hh_ppu_init();
+
+void hh_ppu_update_foreground(unsigned index, hh_s_ppu_loc_fam_entry e);
+void hh_ppu_update_background(unsigned index, hh_s_ppu_loc_bam_entry e);
+void hh_ppu_update_sprite(unsigned tilemap_index, hh_s_ppu_loc_sprite sprite);
+void hh_ppu_update_aux(hh_s_ppu_loc_aux aux);