Running dma inside the CPU's debugger

This commit is contained in:
Zoe Roux
2021-02-03 18:18:49 +01:00
parent 2d83137b40
commit 8ec3cad58b
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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) {