mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 02:36:03 +00:00
Running dma inside the CPU's debugger
This commit is contained in:
@@ -79,6 +79,10 @@ namespace ComSquare::Debugger
|
||||
try {
|
||||
unsigned cycles = 0;
|
||||
|
||||
for (auto &channel : this->_dmaChannels)
|
||||
if (channel.enabled)
|
||||
cycles += channel.run(INT_MAX);
|
||||
|
||||
if (this->_isPaused)
|
||||
return 0xFF;
|
||||
if (this->_isStepping) {
|
||||
|
||||
Reference in New Issue
Block a user