mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 02:36:03 +00:00
Mapping the DMA's channels to the bus
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "../Cartridge/Cartridge.hpp"
|
||||
#include "../Memory/AMemory.hpp"
|
||||
#include "Instruction.hpp"
|
||||
#include "DMA/DMA.hpp"
|
||||
|
||||
namespace ComSquare::CPU
|
||||
{
|
||||
@@ -201,6 +202,8 @@ namespace ComSquare::CPU
|
||||
//! @brief The cartridge header (stored for interrupt vectors..
|
||||
Cartridge::Header &_cartridgeHeader;
|
||||
|
||||
std::array<DMA, 8> _dmaChannels;
|
||||
|
||||
//! @brief True if an addressing mode with an iterator (x, y) has crossed the page. (Used because crossing the page boundary take one more cycle to run certain instructions).
|
||||
bool _hasIndexCrossedPageBoundary = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user