aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-04 16:24:10 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-04 16:24:10 +0200
commit9c0a8622c26743583966b653704d5bfc8b4c0c7d (patch)
tree83b87ced77ed8742ba6d6e4f55e6ddcb8915966a /src/main.c
parentd924eaf44e12cdc7a438a08695f8602993693c98 (diff)
full ppu IO in stm code (h/vblank interrupts)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a3a4351..67490ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,6 +6,8 @@
#include "ppu/internals.h"
bool g_hh_run = true;
+volatile unsigned long g_hh_vcount;
+volatile unsigned short g_hh_hcount;
void hh_ppu_vblank_interrupt() {
static unsigned long frame = 0;