First proposial for CD support

This commit is contained in:
Jaby
2023-01-12 21:51:08 +01:00
parent 600e3666fd
commit cf62ef783c
3 changed files with 70 additions and 1 deletions

View File

@@ -3,6 +3,12 @@
#include <PSX/jabyengine.hpp>
namespace JabyEngine {
//boot namespace?
namespace CD {
void setup();
}
namespace GPU {
void display_logo();
void setup();

View File

@@ -0,0 +1,10 @@
#include "../../include/BootLoader/boot_loader.hpp"
#include <PSX/System/IOPorts/cd_io.hpp>
namespace JabyEngine {
namespace CD {
void setup() {
CD_IO::change_to_index0();
}
}
}