Prepare GPU setup

This commit is contained in:
Jaby
2022-09-08 20:36:36 +02:00
committed by Jaby
parent ab9d47dde8
commit 564e8a6e8b
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));
}
}