mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 18:46:11 +00:00
Creating the layout of a DMA viewer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user