Prepare GPU setup

This commit is contained in:
Jaby
2022-09-08 20:36:36 +02:00
parent d9da876bab
commit 9f916d79ee
2 changed files with 32 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
#include <PSX/GPU/GPU_Types.hpp>
#include <PSX/System/IOPorts/GPU_IO.hpp>
namespace GPU {
void setup() {
Port::GP1.write(Port::Command::GP1::Reset());
Port::GP1.write(Port::Command::GP1::SetDisplayState(Port::DisplayState::On));
}
}