diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-02-24 12:07:02 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-02-24 12:07:02 +0100 |
commit | 7da7908989686daa2ac9fd2f3f79cad2f03c0828 (patch) | |
tree | e0446546ee97f44806aac861dd8b64cc16ae953e /stm32/ppu/ppu.h | |
parent | 6e1cce415050ca82f8243b5ae5a8d1564f311ee8 (diff) |
WIP ppu interface
Diffstat (limited to 'stm32/ppu/ppu.h')
-rw-r--r-- | stm32/ppu/ppu.h | 11 |
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); |