1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 16:31:31 +00:00

Provides a token something where DMA should be.

This commit is contained in:
Thomas Harte 2019-10-10 21:04:41 -04:00
parent d7ce2c26e8
commit 52e5296544

View File

@ -293,6 +293,19 @@ class ConcreteMachine:
}
}
} break;
// DMA.
case 0x7fc302: case 0x7fc303: case 0x7fc304: case 0x7fc305: case 0x7fc306:
if(cycle.operation & Microcycle::Read) {
const uint8_t value = 0;
if(cycle.operation & Microcycle::SelectByte) {
cycle.value->halves.low = value;
} else {
cycle.value->halves.high = value;
cycle.value->halves.low = 0xff;
}
}
break;
}
return HalfCycles(0);
}