Creating the layout of a DMA viewer

This commit is contained in:
Anonymus Raccoon
2020-05-28 14:13:12 +02:00
parent 29540ce9db
commit 5e0f6104fe
11 changed files with 264 additions and 12 deletions
+7
View File
@@ -16,6 +16,7 @@
#include "Debugger/MemoryViewer.hpp"
#include "Debugger/HeaderViewer.hpp"
#include "Debugger/CGramDebug.hpp"
#include "Debugger/CPU/DMA/DMADebug.hpp"
#endif
@@ -31,6 +32,8 @@ namespace ComSquare
std::unique_ptr<Debugger::HeaderViewer> _headerViewer;
//! @brief The window that allow the user to view the CGRAM.
std::unique_ptr<Debugger::CGramDebug> _cgramViewer;
//! @brief The window that allow the user to view the DMA's properties.
std::unique_ptr<Debugger::DMADebug> _dmaViewer;
#endif
//! @brief The memory bus that map addresses to components.
std::shared_ptr<Memory::MemoryBus> _bus;
@@ -77,6 +80,10 @@ namespace ComSquare
void disableCgramDebugging();
//! @brief Enable the Cgram's debugging window.
void enableCgramDebugging();
//! @brief Disable the DMA's debugging window.
void disableDMADebugging();
//! @brief Enable the DMA's debugging window.
void enableDMADebugging();
//! @brief Create all the components using a common memory bus for all of them.
SNES(const std::string &ramPath, Renderer::IRenderer &renderer);