Prepare GPU setup

This commit is contained in:
2022-09-08 20:36:36 +02:00
parent 5c7d464425
commit f5d1453555
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));
}
}