basic ppu background rendering

This commit is contained in:
Lauchmelder 2022-03-03 17:29:56 +01:00
parent f9f401c6c0
commit aef80e42fb
No known key found for this signature in database
GPG key ID: C2403C69D78F011D
21 changed files with 468 additions and 41 deletions

View file

@ -86,7 +86,15 @@ void PPUWatcher::OnRender()
ImGui::Text("Pattern Tile Lo: %02X", ppu->patternTableLo);
ImGui::Text("Pattern Tile Hi: %02X", ppu->patternTableHi);
}
if (ImGui::CollapsingHeader("Shift Registers"))
{
ImGui::Text("Pattern Tile Lo: %04X", ppu->loTile.Raw);
ImGui::Text("Pattern Tile Hi: %02X", ppu->hiTile.Raw);
ImGui::Text("Attribute Lo : %02X", ppu->loAttribute.Raw);
ImGui::Text("Attribute Hi : %02X", ppu->hiAttribute.Raw);
}
if (ImGui::CollapsingHeader("Registers"))
{
if (ImGui::TreeNode("PPUCTRL"))