Code ready to obtain data; Doesn't work in No and causes strange errors in DS

This commit is contained in:
Jaby
2023-03-26 16:42:45 +02:00
committed by Jaby
parent 7b7db67ae2
commit 54943fab93
6 changed files with 51 additions and 12 deletions

View File

@@ -7,10 +7,10 @@
namespace JabyEngine {
namespace boot {
namespace Start {
namespace Start {
//This should become part of the bootloader later
static void enable_DMA() {
const auto dpcr = DMA_IO::DPCR_t(DMA_IO::DPCR).set(DMA_IO::DPCR_t::SPUEnable).set(DMA_IO::DPCR_t::GPUEnable);
DMA_IO::DPCR = dpcr;
DMA_IO::DPCR = DMA_IO::DPCR_t(DMA_IO::DPCR).set(DMA_IO::DPCR_t::SPUEnable).set(DMA_IO::DPCR_t::GPUEnable).set(DMA_IO::DPCR_t::CDROMEnable);
}
JabyEngine::NextRoutine setup() {