Sketch Timer and implement Interrupt support

This commit is contained in:
Jaby
2023-01-06 15:18:35 +01:00
committed by Jaby
parent 4870813d2d
commit d444222d49
6 changed files with 102 additions and 11 deletions

View File

@@ -6,9 +6,9 @@ namespace JabyEngine {
// Just testing around
static constexpr auto wuff = CounterMode::with(CounterMode::IRQAtMax, Counter0::SyncMode::Zero_At_Hblank);
timer[0].counter_mode = wuff;
timer[0].counter_mode = wuff;
timer[0].counter_mode = wuff;
Counter[0].mode = wuff;
Counter[0].mode = wuff;
Counter[0].mode = wuff;
}
}
}